|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dmt.odm.rule.Predicate | +--oracle.dmt.odm.rule.SimplePredicate
An instance of SimplePredicate
consists of a single comparison between
a mining attribute value and a set of constants. The constant can be either numeric or categorical.
Examples for SimplePredicate include "gender = Male" or "marital_status IN (Single, Separated)".
Constructor Summary |
SimplePredicate()
For internal use only |
SimplePredicate(SimplePredicate predicate)
For internal use only |
Method Summary |
Type | Method |
---|---|
void |
addValue(Category value)
For internal use only |
ComparisonFunction |
getCompareFunction()
Returns the ComparisonFunction . |
MiningAttribute |
getItem()
Returns the MiningAttribute which is the subject of the comparison. |
Category[] |
getValue()
Returns the array of Category value to which the mining attribute value is compared. |
Category[] |
getValueSortByDisplayName()
For internal use only |
Category[] |
getValueSortByValue()
For internal use only |
void |
setCompareFunction(ComparisonFunction compFunc)
For internal use only |
void |
setItem(MiningAttribute item)
For internal use only |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimplePredicate()
public SimplePredicate(SimplePredicate predicate)
Method Detail |
public void setCompareFunction(ComparisonFunction compFunc)
public void setItem(MiningAttribute item)
public void addValue(Category value)
public Category[] getValueSortByDisplayName()
public Category[] getValueSortByValue()
public ComparisonFunction getCompareFunction()
ComparisonFunction
.ComparsionFunction
- the comparison functionpublic MiningAttribute getItem()
MiningAttribute
which is the subject of the comparison.MiningAttribute
- the mining attributepublic Category[] getValue()
Category
value to which the mining attribute value is compared.Category
[] - array of category values
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |