Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderResolver Class Reference

Inheritance diagram for kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderResolver:

kddml.Operators.IO.IOResolver kddml.Operators.OperatorResolver kddml.Operators.HWResourcesDescription kddml.Operators.IO.RepositoryResourceReader.CLUSTER_LOADER_RESOLVER kddml.Operators.IO.RepositoryResourceReader.HIERARCHY_LOADER_RESOLVER kddml.Operators.IO.RepositoryResourceReader.PP_TABLE_LOADER_RESOLVER kddml.Operators.IO.RepositoryResourceReader.RDA_LOADER_RESOLVER kddml.Operators.IO.RepositoryResourceReader.SEQUENCE_LOADER_RESOLVER kddml.Operators.IO.RepositoryResourceReader.TABLE_LOADER_RESOLVER kddml.Operators.IO.RepositoryResourceReader.TREE_LOADER_RESOLVER List of all members.

Public Member Functions

final KDDMLObjectType getArgumentType (int i)
final kddml.Core.KDDMLObject execute (Hashtable< String, KDDMLScalarManager > settings, Vector< KDDMLObject > arguments) throws ResolverException, kddml.Core.KDDMLCoreException
boolean saveXMLOutput ()

Protected Member Functions

abstract kddml.Core.KDDMLObject importObject (String xml_source) throws ResolverException, kddml.Core.KDDMLCoreException

Detailed Description

Abstract resolver class for a repository resource reader operator, i.e., an operator accessing to a repository data/model source such as RDA_LOADER, TABLE_LOADER. A repository resource reader operator has a fixed DTD: an attribute xml_source identifying the object in the repository and no children as arguments.

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

final KDDMLObjectType kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderResolver.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.

final kddml.Core.KDDMLObject kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderResolver.execute Hashtable< String, KDDMLScalarManager settings,
Vector< KDDMLObject arguments
throws ResolverException, kddml.Core.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 the 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.

boolean kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderResolver.saveXMLOutput  ) 
 

Returns true if the output result must be stored in the system repository. If the method returns false, then the interpreter will not store the result in the system repository. This is required, for example, by the repository loading operators, such as RDA_LOADER or TABLE_LOADER.

Returns:
boolean default returns true.

Reimplemented from kddml.Operators.OperatorResolver.

abstract kddml.Core.KDDMLObject kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderResolver.importObject String  xml_source  )  throws ResolverException, kddml.Core.KDDMLCoreException [protected, pure virtual]
 

Returns the output object identified by the xml source name.

Parameters:
xml_source String the name of the object in the system repository
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.RepositoryResourceReader.CLUSTER_LOADER_RESOLVER, kddml.Operators.IO.RepositoryResourceReader.HIERARCHY_LOADER_RESOLVER, kddml.Operators.IO.RepositoryResourceReader.PP_TABLE_LOADER_RESOLVER, kddml.Operators.IO.RepositoryResourceReader.RDA_LOADER_RESOLVER, kddml.Operators.IO.RepositoryResourceReader.SEQUENCE_LOADER_RESOLVER, kddml.Operators.IO.RepositoryResourceReader.TABLE_LOADER_RESOLVER, and kddml.Operators.IO.RepositoryResourceReader.TREE_LOADER_RESOLVER.


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