Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS Class Reference

Inheritance diagram for kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS:

kddml.Operators.IO.ExternalResourceReader.ExternalResourceReaderSettings kddml.Operators.IO.IOSettings kddml.Operators.OperatorSettings List of all members.

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)

Detailed Description

The operator DATABASE_LOADER allows a transparent access to relational tables belonging to local or remote RDBMS sources via simple SQL SELECT queries.
The mapping from SQL types to the logical types of the output table is automatic. Numeric SQL types (as small int or real) are mapped into numeric attributes, while non-numeric SQL types (as varchar) are mapped into string attributes. However, preprocessing operators allows for specifying different logical types of attributes for loaded tables. The operator uses the JDBC (Java Database Connectivity) relational database connectivity standard as a DBMS bridge. The URL for the connection with the DBMS and the SQL query can be specified directly as input XML attributes. User and password are required in the operator definition. Attributes:

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Member Function Documentation

String [] kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS.listAttributes  )  [virtual]
 

Returns the list of attributes belonging to the operator specification.

Returns:
String[]

Implements kddml.Operators.OperatorSettings.

Boolean kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS.isRequired String  attribute_name  )  [virtual]
 

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().

Parameters:
attribute_name String
Returns:
boolean

Implements kddml.Operators.OperatorSettings.

Boolean kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS.isFixed String  attribute_name  )  [virtual]
 

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().

Parameters:
attribute_name String
Returns:
boolean

Implements kddml.Operators.OperatorSettings.

String kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS.getDefaultAttributeValue String  attribute_name  )  [virtual]
 

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.

Parameters:
attribute_name String
Returns:
String

Implements kddml.Operators.OperatorSettings.

KDDMLScalarType kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS.getAttributeType String  attribute_name  )  [virtual]
 

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().

Parameters:
attribute_name String
Returns:
KDDMLScalarType

Implements kddml.Operators.OperatorSettings.


Generated on Thu Feb 23 13:04:49 2006 for kddml by  doxygen 1.4.3