net.ontopia.topicmaps.query.spi
Class FilterPredicate
java.lang.Object
net.ontopia.topicmaps.query.spi.JavaPredicate
net.ontopia.topicmaps.query.spi.FilterPredicate
- All Implemented Interfaces:
- BasicPredicateIF, PredicateIF
- Direct Known Subclasses:
- EqualsFilter
public abstract class FilterPredicate
- extends JavaPredicate
EXPERIMENTAL: Base predicate that provides a simple interface for
implementing predicate filters. For such a predicate to work all
arguments must be bound at the time when the predicate is
executed. See the ProcessPredicate if you need more flexibility.
- Since:
- 4.0
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 |
FilterPredicate
public FilterPredicate()
satisfy
public final QueryMatches satisfy(QueryMatches matches,
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
filter
public abstract boolean filter(Object[] row)
throws InvalidQueryException
- EXPERIMENTAL: Returns true if the given row objects should be
included in the result.
- Throws:
InvalidQueryException
Copyright © 2000-2012 Ontopia.