|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of node that is described by the pattern. Typically,
this is one of SubjectNode, PredicateNode, ObjectNode, or just Node if the
exact node type is unimportant or unknown.public interface NodePattern<T extends Node>
Represents a specified or unspecified (variable) in a query or pattern
A NodePattern is a representation of a Node
in a query, which may have given value. If a NodePattern does not have
an explicit Node value, then it represents variable. Variables may have
names associated with them that may have a meaning
the context of a particular query language.
Method Summary | |
---|---|
T |
getNode()
Get the node value of this pattern, or null if this pattern does not represent a variable. |
java.lang.String |
getVarName()
Get the variable name of this pattern, or null if this pattern does not represent a variable. |
boolean |
isVariable()
Tell whether this node pattern represents a variable. |
Method Detail |
---|
T getNode()
java.lang.String getVarName()
boolean isVariable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |