public class AtomPartRegExPredicate extends AtomRegExPredicate
AtomValueRegExCondition
, but operates on properties (parts)
of values.Constructor and Description |
---|
AtomPartRegExPredicate() |
AtomPartRegExPredicate(String[] dimensionPath,
Pattern pattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object x) |
String[] |
getDimensionPath() |
int |
hashCode() |
boolean |
satisfies(HyperGraph hg,
HGHandle handle)
Check whether a given
Object satisfies this
query condition. |
void |
setDimensionPath(String[] dimensionPath) |
String |
toString() |
getPattern, satisfies, setPattern
public String[] getDimensionPath()
public void setDimensionPath(String[] dimensionPath)
public boolean satisfies(HyperGraph hg, HGHandle handle)
HGAtomPredicate
Check whether a given Object
satisfies this
query condition.
hg
- 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 int hashCode()
hashCode
in class AtomRegExPredicate
public boolean equals(Object x)
equals
in class AtomRegExPredicate
Copyright © 2015. All rights reserved.