Inheritance diagram for kddml.Operators.IO.ExternalResourceReader.ARFF_LOADER_SETTINGS:
Public Member Functions | |
String[] | listAttributes () |
Boolean | isRequired (String attribute_name) |
Boolean | isFixed (String attribute_name) |
String | getDefaultAttributeValue (String attribute_name) |
KDDMLScalarType | getAttributeType (String attribute_name) |
void | checkAttributes (Hashtable< String, KDDMLScalarManager > attributes) throws SettingsException |
Static Protected Member Functions | |
static BufferedReader | getARFFReader (Hashtable attributes) |
Title: KDDML
Description: Knowledge Discovery in Database Environment
Copyright: Copyright (c) 2003-2005
Company: Universita' di Pisa - Dipartimento di Informatica
|
Returns the list of attributes belonging to the operator specification.
Implements kddml.Operators.OperatorSettings. |
|
Returns true if a given attribute is required in the operator specification. Returns false if the attribute is implied or fixed. Finally, the method returns null if the attribute name do not belong to the list of attributes returned by the method listAttributes().
Implements kddml.Operators.OperatorSettings. |
|
Returns true if a given attribute is fixed (i.e. constant) in the operator specification. Returns false if the attribute is implied or required. Finally, the method returns null if the attribute name do not belong to the list of attributes returned by the method listAttributes().
Implements kddml.Operators.OperatorSettings. |
|
Returns the default value related to a given input attribute. Returns null if the attribute do not admit a default value. An attribute can be given any legal value as a default. The attribute value is not required on each element in the document, but if it is not present, it will appear to be the specified default. If the attribute is implied and it is not included in the element, the operator assumes that this is the attribute value.
Implements kddml.Operators.OperatorSettings. |
|
Returns the type related to a given input attribute. KDDML supports the attribute types as expressed by the class KDDMLScalarType. Returns null if the attribute name do no belong to the list of attributes returned by the method listAttributes().
Implements kddml.Operators.OperatorSettings. |
|
Performs a correctness control about the input attributes of the operator (e.g., check that the level attribute of the <pp_hierarchy_discretization> operator is a positive integer number. Attributes are given as hash-table where the key of the hashtable is the XML attribute name and the value of the hashtable is the XML attribute value as KDDMLScalarManager. The method throws an exception if an error is occurs. More precisely, for each attribute returned by listAttributes(), the method checks if the hashtable contains the attribute. If this is the case, then a type checking is performed on attribute value. Otherwise, if the attribute is required (i.e. the method isRequired() returns true), then the method throws an exception.
Reimplemented from kddml.Operators.OperatorSettings. |
|
Returns the ARFF source as BufferedReader given the hashtable containing the attributes ARFF_PATH_KEY and ARFF_NAME_KEY.
|