public class AtomProjectionCondition extends Object implements HGQueryCondition, HGAtomPredicate
An AtomProjectionCondition will yield all atoms that are
projections along a certain dimension of a given base atom set. The
base atom set is specified as a HGQueryCondition.
| Constructor and Description |
|---|
AtomProjectionCondition() |
AtomProjectionCondition(String[] dimensionPath,
HGQueryCondition baseSetCondition) |
AtomProjectionCondition(String dimensionPath,
HGQueryCondition baseSetCondition) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object x) |
HGQueryCondition |
getBaseSetCondition() |
String[] |
getDimensionPath() |
int |
hashCode() |
boolean |
satisfies(HyperGraph graph,
HGHandle handle)
Check whether a given
Object satisfies this
query condition. |
void |
setBaseSetCondition(HGQueryCondition baseSetCondition) |
void |
setDimensionPath(String[] dimensionPath) |
public AtomProjectionCondition()
public AtomProjectionCondition(String dimensionPath, HGQueryCondition baseSetCondition)
public AtomProjectionCondition(String[] dimensionPath, HGQueryCondition baseSetCondition)
public String[] getDimensionPath()
public HGQueryCondition getBaseSetCondition()
public boolean satisfies(HyperGraph graph, HGHandle handle)
HGAtomPredicateCheck whether a given Object satisfies this
query condition.
satisfies in interface HGAtomPredicategraph - 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.public void setDimensionPath(String[] dimensionPath)
public void setBaseSetCondition(HGQueryCondition baseSetCondition)
Copyright © 2015. All rights reserved.