Main Page | Class Hierarchy | Class List | Class Members

kddml.Interpreter.InterpreterRunner Interface Reference

Inheritance diagram for kddml.Interpreter.InterpreterRunner:

kddml.Interpreter.QueryExecutor List of all members.

Public Member Functions

KDDMLObject getResult ()
String getMessageResult ()
void resolve () throws ExecutionException, TypeCheckingException, NotYetImplementedException, EmptyResultsException, InvalidKDDMLQueryException, UnsupportedAlgorithmException

Detailed Description

Main execution interface for the KDDML interpreter.

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

KDDMLObject kddml.Interpreter.InterpreterRunner.getResult  ) 
 

Returns the final object as output. Can return null if the query do not provide a result (e.g. if an exception occurs).

Returns:
KDDMLObject

Implemented in kddml.Interpreter.QueryExecutor.

String kddml.Interpreter.InterpreterRunner.getMessageResult  ) 
 

Returns the final message as output.

Returns:
String returns "error: <exception description>" if an exception occurs during the query execution. Returns "success" if no errors occour. Returns an empty string before the method resolve() has been called.

Implemented in kddml.Interpreter.QueryExecutor.

void kddml.Interpreter.InterpreterRunner.resolve  )  throws ExecutionException, TypeCheckingException, NotYetImplementedException, EmptyResultsException, InvalidKDDMLQueryException, UnsupportedAlgorithmException
 

Starts the interpreter on the KDDML query. The interpreter recursively traverse the DOM tree representation of the query, yielding a KDDMLObject as result that is stored in the xml_dest field. If an error occurs, the method throws an exception.

Exceptions:
ExecutionException if a generic execution exception occurs.
TypeCheckingException if a type checking eception occurs at run-time.
NotYetImplementedException if an operator is not yet implemented.
EmptyResultsException if an operator do not have product results.
InvalidKDDMLQueryException if the query is not valid.
UnsupportedAlgorithmException if a required algorithm in the query is not supported.

Implemented in kddml.Interpreter.QueryExecutor.


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