net.ontopia.topicmaps.query.spi
Class ProcessPredicate

java.lang.Object
  extended by net.ontopia.topicmaps.query.spi.JavaPredicate
      extended by 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
ProcessPredicate()
           
 
Method Summary
abstract  void process(java.lang.Object[] row, boolean[] boundparams, ResultIF result)
          EXPERIMENTAL: Processes the input row and pushes result rows to the result.
 QueryMatches satisfy(QueryMatches matches, java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessPredicate

public ProcessPredicate()
Method Detail

satisfy

public final QueryMatches satisfy(QueryMatches matches,
                                  java.lang.Object[] arguments)
                           throws InvalidQueryException
Description copied from class: JavaPredicate
INTERNAL: Internal machinery.

Specified by:
satisfy in interface BasicPredicateIF
Specified by:
satisfy in class JavaPredicate
Throws:
InvalidQueryException

process

public abstract void process(java.lang.Object[] row,
                             boolean[] boundparams,
                             ResultIF result)
                      throws InvalidQueryException
EXPERIMENTAL: Processes the input row and pushes result rows to the result.

Throws:
InvalidQueryException


Copyright © 2000-2012 Ontopia.