Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

oracle.dmt.odm.rule
Class CompoundPredicate

java.lang.Object
  |
  +--oracle.dmt.odm.rule.Predicate
        |
        +--oracle.dmt.odm.rule.CompoundPredicate

public class CompoundPredicate
extends Predicate

An instance of CompundPredicate is a set of predicates connected by logical operators.

For example, "age < 30 AND salary > 50K" is a compound predicate which is a boolean 'and' of two SimplePredicates.

Since:
9.2.0

Method Summary
 BooleanOperator getBooleanOperator()
          Returns the BooleanOperator.
 Predicate[] getPredicates()
          Returns an array of the component Predicates

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getBooleanOperator

public BooleanOperator getBooleanOperator()
Returns the BooleanOperator.
Returns:
BooleanOperator - the boolean operator

getPredicates

public Predicate[] getPredicates()
Returns an array of the component Predicates
Returns:
Predicate[] - the array of predicates, null if none

Copyright © 2003 Oracle Corporation. All Rights Reserved.