Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.QueryElement.Condition.BaseConditionDescr Class Reference

Inheritance diagram for kddml.Core.QueryElement.Condition.BaseConditionDescr:

kddml.Core.QueryElement.Condition.IF_CONDITION_DESCR kddml.Core.QueryElement.Condition.IF_EXPRESSION_CONDITION_DESCR kddml.Core.QueryElement.Condition.PP_MARKING_CONDITION_DESCR kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION_DESCR kddml.Core.QueryElement.Condition.PP_REWRITING_CONDITION_DESCR kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR kddml.Core.QueryElement.Condition.SEQUENCE_AGGREGATE_FILTER_CONDITION_DESCR kddml.Core.QueryElement.Condition.SEQUENCE_FILTER_CONDITION_DESCR List of all members.

Public Member Functions

abstract String[] list ()
boolean isSupported (String op_type)
abstract byte getTermCardinality (String op_type)

Protected Member Functions

abstract void checkTerm1 (String op_type, String term1_value, boolean is_constant) throws XMLSpecialElementException
abstract void checkTerm2 (String op_type, String term1_value, boolean is_constant) throws XMLSpecialElementException
abstract void checkTerm3 (String op_type, String term1_value, boolean is_constant) throws XMLSpecialElementException

Static Protected Attributes

static final byte EQUAL = 0
static final byte NOT_EQUAL = 1
static final byte GREATER = 2
static final byte GREATER_OR_EQUAL = 3
static final byte LESS = 4
static final byte LESS_OR_EQUAL = 5

Package Functions

byte getOpCode (String op_type)

Detailed Description

This class contains an enumeration of op_type base condition.

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

abstract String [] kddml.Core.QueryElement.Condition.BaseConditionDescr.list  )  [pure virtual]
 

Returns the list of legal values for the op_type attribute.

Returns:
String[]

Implemented in kddml.Core.QueryElement.Condition.IF_CONDITION_DESCR, kddml.Core.QueryElement.Condition.IF_EXPRESSION_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_MARKING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REWRITING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR, kddml.Core.QueryElement.Condition.SEQUENCE_AGGREGATE_FILTER_CONDITION_DESCR, and kddml.Core.QueryElement.Condition.SEQUENCE_FILTER_CONDITION_DESCR.

boolean kddml.Core.QueryElement.Condition.BaseConditionDescr.isSupported String  op_type  ) 
 

Tests if an operator is supported by this base condition.

Parameters:
op_type String
Returns:
boolean

byte kddml.Core.QueryElement.Condition.BaseConditionDescr.getOpCode String  op_type  )  [package]
 

Returns the operator code of the input op_type attribute. Returns -1 if the operator is not supported.

Parameters:
op_type String
Returns:
byte

Reimplemented in kddml.Core.QueryElement.Condition.IF_CONDITION_DESCR, kddml.Core.QueryElement.Condition.IF_EXPRESSION_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_MARKING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REWRITING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR, kddml.Core.QueryElement.Condition.SEQUENCE_AGGREGATE_FILTER_CONDITION_DESCR, and kddml.Core.QueryElement.Condition.SEQUENCE_FILTER_CONDITION_DESCR.

abstract void kddml.Core.QueryElement.Condition.BaseConditionDescr.checkTerm1 String  op_type,
String  term1_value,
boolean  is_constant
throws XMLSpecialElementException [protected, pure virtual]
 

Checks the first term.

Parameters:
op_type String
term1_value String
is_constant boolean
Exceptions:
XMLSpecialElementException 

Implemented in kddml.Core.QueryElement.Condition.IF_CONDITION_DESCR, kddml.Core.QueryElement.Condition.IF_EXPRESSION_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_MARKING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REWRITING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR, kddml.Core.QueryElement.Condition.SEQUENCE_AGGREGATE_FILTER_CONDITION_DESCR, and kddml.Core.QueryElement.Condition.SEQUENCE_FILTER_CONDITION_DESCR.

abstract void kddml.Core.QueryElement.Condition.BaseConditionDescr.checkTerm2 String  op_type,
String  term1_value,
boolean  is_constant
throws XMLSpecialElementException [protected, pure virtual]
 

Checks the second term.

Parameters:
op_type String
term1_value String
is_constant boolean
Exceptions:
XMLSpecialElementException 

Implemented in kddml.Core.QueryElement.Condition.IF_CONDITION_DESCR, kddml.Core.QueryElement.Condition.IF_EXPRESSION_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_MARKING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REWRITING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR, kddml.Core.QueryElement.Condition.SEQUENCE_AGGREGATE_FILTER_CONDITION_DESCR, and kddml.Core.QueryElement.Condition.SEQUENCE_FILTER_CONDITION_DESCR.

abstract void kddml.Core.QueryElement.Condition.BaseConditionDescr.checkTerm3 String  op_type,
String  term1_value,
boolean  is_constant
throws XMLSpecialElementException [protected, pure virtual]
 

Checks the third term.

Parameters:
op_type String
term1_value String
is_constant boolean
Exceptions:
XMLSpecialElementException 

Implemented in kddml.Core.QueryElement.Condition.IF_CONDITION_DESCR, kddml.Core.QueryElement.Condition.IF_EXPRESSION_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_MARKING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REWRITING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR, kddml.Core.QueryElement.Condition.SEQUENCE_AGGREGATE_FILTER_CONDITION_DESCR, and kddml.Core.QueryElement.Condition.SEQUENCE_FILTER_CONDITION_DESCR.

abstract byte kddml.Core.QueryElement.Condition.BaseConditionDescr.getTermCardinality String  op_type  )  [pure virtual]
 

Returns the op_type cardinality. Returns 0 if the input operator has not arguments. Returns 1 if the input operator is unary. Returns 2 if the input operator is binary. Returns 3 if the input operatro has three arguments.

Parameters:
op_type String
Returns:
byte

Implemented in kddml.Core.QueryElement.Condition.IF_CONDITION_DESCR, kddml.Core.QueryElement.Condition.IF_EXPRESSION_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_MARKING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION_DESCR, kddml.Core.QueryElement.Condition.PP_REWRITING_CONDITION_DESCR, kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR, kddml.Core.QueryElement.Condition.SEQUENCE_AGGREGATE_FILTER_CONDITION_DESCR, and kddml.Core.QueryElement.Condition.SEQUENCE_FILTER_CONDITION_DESCR.


Member Data Documentation

final byte kddml.Core.QueryElement.Condition.BaseConditionDescr.EQUAL = 0 [static, protected]
 

equal operator.

final byte kddml.Core.QueryElement.Condition.BaseConditionDescr.NOT_EQUAL = 1 [static, protected]
 

not_equal operator.

final byte kddml.Core.QueryElement.Condition.BaseConditionDescr.GREATER = 2 [static, protected]
 

greater operator.

final byte kddml.Core.QueryElement.Condition.BaseConditionDescr.GREATER_OR_EQUAL = 3 [static, protected]
 

greater_or_equal operator.

final byte kddml.Core.QueryElement.Condition.BaseConditionDescr.LESS = 4 [static, protected]
 

less operator.

final byte kddml.Core.QueryElement.Condition.BaseConditionDescr.LESS_OR_EQUAL = 5 [static, protected]
 

less_or_equal operator.


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