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
public abstract class ProcessPredicate extends JavaPredicate
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 Constructor Description ProcessPredicate()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidprocess(Object[] row, boolean[] boundparams, ResultIF result)EXPERIMENTAL: Processes the input row and pushes result rows to the result.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
-
-
-
-
Method Detail
-
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
-
-