|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.nsdl.mptstore.query.component.MappableNodeFilter<T>
T - The type of node that is being constrained by this filter.
Typically, this is one of SubjectNode, PredicateNode,
ObjectNode, or just Node if the exact node type is unimportant
or unknown.public class MappableNodeFilter<T extends Node>
Represents a constraint on the value of a particular mapped node pattern.
| Constructor Summary | |
|---|---|
MappableNodeFilter(MappableNodePattern<T> node,
java.lang.String operator,
MappableNodePattern<T> constraint)
Create a filter on a particular node pattern. |
|
MappableNodeFilter(NodeFilter<T> filter)
Create a mappable node filter from an existing node filter. |
|
| Method Summary | |
|---|---|
MappableNodePattern<T> |
getConstraint()
Get the constraint on this filter's NodePattern's value. |
MappableNodePattern<T> |
getNode()
Get the node pattern whose value this NodeFilter is constraining. |
java.lang.String |
getOperator()
Get the operator that specifies the relationship between the NodePattern and a value constraint (e.g. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MappableNodeFilter(MappableNodePattern<T> node,
java.lang.String operator,
MappableNodePattern<T> constraint)
node - The node pattern to constrainoperator - String representing some operatorconstraint - node pattern representing a constraintpublic MappableNodeFilter(NodeFilter<T> filter)
filter - the existing filter.| Method Detail |
|---|
public MappableNodePattern<T> getNode()
getNode in interface NodeFilter<T extends Node>public MappableNodePattern<T> getConstraint()
getConstraint in interface NodeFilter<T extends Node>public java.lang.String getOperator()
getOperator in interface NodeFilter<T extends Node>public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||