Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.IO.ExternalResourceReader.ExternalResourceReaderResolver Class Reference

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

kddml.Operators.IO.IOResolver kddml.Operators.OperatorResolver kddml.Operators.HWResourcesDescription kddml.Operators.IO.ExternalResourceReader.ARFF_LOADER_RESOLVER kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_RESOLVER kddml.Operators.IO.ExternalResourceReader.PMML_CLUSTER_LOADER_RESOLVER kddml.Operators.IO.ExternalResourceReader.PMML_RDA_LOADER_RESOLVER kddml.Operators.IO.ExternalResourceReader.PMML_SEQUENCE_LOADER_RESOLVER kddml.Operators.IO.ExternalResourceReader.PMML_TREE_LOADER_RESOLVER List of all members.

Public Member Functions

KDDMLObjectType getArgumentType (int i)
KDDMLObject execute (Hashtable< String, KDDMLScalarManager > settings, Vector< KDDMLObject > arguments) throws ResolverException, KDDMLCoreException

Protected Member Functions

abstract kddml.Core.KDDMLObject importObject (Hashtable< String, KDDMLScalarManager > settings) throws ResolverException, KDDMLCoreException

Detailed Description

Abstract resolver class for an external resource reader operator, i.e., an operator accessing to an external data/model source such as an ARFF file or a PMML document. An operator belonging to this class do not admit input arguments, but it uses attributes in order to locate the resource.

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

KDDMLObjectType kddml.Operators.IO.ExternalResourceReader.ExternalResourceReaderResolver.getArgumentType int  i  )  [virtual]
 

Returns the expected type of the i-th argument of the operator. Returns null if the operator do not admit argument as i-th child.

Parameters:
i int
Returns:
KDDMLObjectType

Implements kddml.Operators.OperatorResolver.

KDDMLObject kddml.Operators.IO.ExternalResourceReader.ExternalResourceReaderResolver.execute Hashtable< String, KDDMLScalarManager settings,
Vector< KDDMLObject arguments
throws ResolverException, KDDMLCoreException [virtual]
 

Returns the result of evaluating the operator over the passed arguments and attributes.
Attributes are given as hashtable, where the key is the name of the XML attribute related to the operator and the value is a KDDMLScalar object containing the attribute value. Attribute value is checked by interpreter layer and it is correct.
Arguments are given as vector of KDDMLOjbect. Types of arguments are correct, as required by the getArgumentType(int i) method.
Implementations of the execute method can be distinguished according to the type of operator.

Parameters:
settings Hashtable the attributes related to the operator. The key of the hashtable is the name of the attribute. The value of the hashtable is a KDDMLScalar representing the value of the attribute.
arguments Vector the list of arguments as KDDMLObject.
Returns:
KDDMLObject the result of evaluating the operator.
Exceptions:
ResolverException if a resolving error occurs.
KDDMLCoreException if a level core error occurs.

Implements kddml.Operators.OperatorResolver.

abstract kddml.Core.KDDMLObject kddml.Operators.IO.ExternalResourceReader.ExternalResourceReaderResolver.importObject Hashtable< String, KDDMLScalarManager settings  )  throws ResolverException, KDDMLCoreException [protected, pure virtual]
 

Reads the external resource by means the input attributes and returns a KDDMLObject as output.
Attributes are given as hashtable, where the key is the name of the XML attribute related to the operator and the value is a KDDMLScalar object containing the attribute value. Attribute value is checked by interpreter layer and it is correct.

Parameters:
settings Hashtable the attributes related to the operator. The key of the hashtable is the name of the attribute. The value of the hashtable is a KDDMLScalar representing the value of the attribute.
Returns:
KDDMLObject the result of evaluating the operator.
Exceptions:
ResolverException if a resolving error occurs.
KDDMLCoreException if a level core error occurs.

Implemented in kddml.Operators.IO.ExternalResourceReader.ARFF_LOADER_RESOLVER, kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_RESOLVER, kddml.Operators.IO.ExternalResourceReader.PMML_CLUSTER_LOADER_RESOLVER, kddml.Operators.IO.ExternalResourceReader.PMML_RDA_LOADER_RESOLVER, kddml.Operators.IO.ExternalResourceReader.PMML_SEQUENCE_LOADER_RESOLVER, and kddml.Operators.IO.ExternalResourceReader.PMML_TREE_LOADER_RESOLVER.


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