public interface HGAtomPredicate
This interface defines a predicate of a single atom. There is no guarantee as to the running time of a predicate, but in general implementation should strive not to do explicit reads from the data store whenever possible.
Modifier and Type | Method and Description |
---|---|
boolean |
satisfies(HyperGraph graph,
HGHandle handle)
Check whether a given
Object satisfies this
query condition. |
boolean satisfies(HyperGraph graph, HGHandle handle)
Check whether a given Object
satisfies this
query condition.
graph
- The HyperGraph
instance.handle
- The atom on which to test the query condition.true
if the passed in parameter satisfies
the condition and false
otherwise.Copyright © 2015. All rights reserved.