Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR Class Reference

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

kddml.Core.QueryElement.Condition.BaseConditionDescr List of all members.

Public Member Functions

String[] list ()
byte getTermCardinality (String op_type)

Protected Member Functions

byte getOpCode (String op_type)
void checkTerm1 (String op_type, String term1_value, boolean is_constant) throws XMLSpecialElementException
void checkTerm2 (String op_type, String term2_value, boolean is_constant) throws XMLSpecialElementException
void checkTerm3 (String op_type, String term3_value, boolean is_constant) throws XMLSpecialElementException

Static Protected Attributes

static final byte IS_IN = 6
static final byte IS_NOT_IN = 7

Detailed Description

This class contains an enumeration of op_type base condition values for the RDA_FILTER operator.

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.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR.list  )  [virtual]
 

Returns the list of legal values for the op_type attribute.

Returns:
String[]

Implements kddml.Core.QueryElement.Condition.BaseConditionDescr.

byte kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR.getOpCode String  op_type  )  [protected]
 

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 from kddml.Core.QueryElement.Condition.BaseConditionDescr.

byte kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR.getTermCardinality String  op_type  )  [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 2 for each legal operator.

Implements kddml.Core.QueryElement.Condition.BaseConditionDescr.

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

Checks the first term.

Parameters:
op_type String
term1_value String
is_constant boolean
Exceptions:
XMLSpecialElementException 

Implements kddml.Core.QueryElement.Condition.BaseConditionDescr.

void kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR.checkTerm2 String  op_type,
String  term2_value,
boolean  is_constant
throws XMLSpecialElementException [protected, virtual]
 

Checks the second term.

Parameters:
op_type String
term2_value String
is_constant boolean
Exceptions:
XMLSpecialElementException 

Implements kddml.Core.QueryElement.Condition.BaseConditionDescr.

void kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR.checkTerm3 String  op_type,
String  term3_value,
boolean  is_constant
throws XMLSpecialElementException [protected, virtual]
 

Checks the third term. No checking is needed.

Parameters:
op_type String
term3_value String
is_constant boolean
Exceptions:
XMLSpecialElementException 

Implements kddml.Core.QueryElement.Condition.BaseConditionDescr.


Member Data Documentation

final byte kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR.IS_IN = 6 [static, protected]
 

checks if an item belongs to an itemset, or to either the body or the head elements of an association rule (e.g. “filter rules with the item ’milk’ in the body”).

final byte kddml.Core.QueryElement.Condition.RDA_FILTER_CONDITION_DESCR.IS_NOT_IN = 7 [static, protected]
 

checks if an item does not belong to itemset or to either the body or the head elements of an association rule.


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