Package net.ontopia.topicmaps.query.spi
Class ProcessPredicate
java.lang.Object
net.ontopia.topicmaps.query.spi.JavaPredicate
net.ontopia.topicmaps.query.spi.ProcessPredicate
- All Implemented Interfaces:
BasicPredicateIF,PredicateIF
EXPERIMENTAL: Base predicate that provides a simple interface for
implementing predicates. The process method lets one filter out,
pass through and/or produce new rows.
- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidEXPERIMENTAL: Processes the input row and pushes result rows to the result.final QueryMatchessatisfy(QueryMatches matches, Object[] arguments) INTERNAL: Internal machinery.Methods inherited from class net.ontopia.topicmaps.query.spi.JavaPredicate
getCost, getModuleURI, getName, getParameters, getPredicateName, getSignature, getTopicMap, setModuleURI, setParameters, setPredicateName, setTopicMap
-
Constructor Details
-
ProcessPredicate
public ProcessPredicate()
-
-
Method Details
-
satisfy
public final QueryMatches satisfy(QueryMatches matches, Object[] arguments) throws InvalidQueryException Description copied from class:JavaPredicateINTERNAL: Internal machinery.- Specified by:
satisfyin interfaceBasicPredicateIF- Specified by:
satisfyin classJavaPredicate- Throws:
InvalidQueryException
-
process
public abstract void process(Object[] row, boolean[] boundparams, ResultIF result) throws InvalidQueryException EXPERIMENTAL: Processes the input row and pushes result rows to the result.- Throws:
InvalidQueryException
-