|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeFilterCondition
This interface must be implemented by classes implementing an AttributeFilterCondition for the AttributeFilter operator.
| Nested Class Summary | |
|---|---|
static class |
AttributeFilterCondition.ScanResult
|
| Method Summary | |
|---|---|
AttributeFilterCondition.ScanResult |
beforeScanCheck(Attribute attribute)
This method initializes this condition and resets all counters. |
AttributeFilterCondition.ScanResult |
check(Attribute attribute,
Example example)
This method checks the given example. |
AttributeFilterCondition.ScanResult |
checkAfterFullScan()
This method has to be invoked after a full scan has been performed if the isNeedingFullScan method returns true. |
java.util.List<ParameterType> |
getParameterTypes(Operator operator)
This method returns the parameter types used by this filter condition |
void |
init(Operator operator)
Initializes the condition before checking anything. |
boolean |
isNeedingFullScan()
Indicates that this filter needs a full data scan and can evaluate its condition only after the full scan has been performed. |
boolean |
isNeedingScan()
Indicates if this filter needs a data scan, i.e. an invocation of the check method for each example. |
| Method Detail |
|---|
AttributeFilterCondition.ScanResult beforeScanCheck(Attribute attribute)
throws UserError
attribute - this is the attribute, the filter will have to check for.
ConditionCreationException
UserErrorboolean isNeedingScan()
void init(Operator operator)
throws UserError
UserError
AttributeFilterCondition.ScanResult check(Attribute attribute,
Example example)
boolean isNeedingFullScan()
AttributeFilterCondition.ScanResult checkAfterFullScan()
java.util.List<ParameterType> getParameterTypes(Operator operator)
operator -
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||