Class OMatchPathItem
java.lang.Object
com.orientechnologies.orient.core.sql.parser.SimpleNode
com.orientechnologies.orient.core.sql.parser.OMatchPathItem
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
OBothPathItem,OFieldMatchPathItem,OInPathItem,OMatchPathItemFirst,OMultiMatchPathItem,OOutPathItem
-
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.core.sql.parser.SimpleNode
children, firstToken, id, lastToken, PARAMETER_PLACEHOLDER, parent, parser, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbothPath(OIdentifier edgeName) copy()booleanexecuteTraversal(OMatchStatement.MatchContext matchContext, OCommandContext iCommandContext, OIdentifiable startingPoint, int depth) inthashCode()voidinPath(OIdentifier edgeName) booleanvoidoutPath(OIdentifier edgeName) voidsetFilter(OMatchFilter filter) voidsetMethod(OMethodCall method) voidtoGenericStatement(StringBuilder builder) voidtoString(Map<Object, Object> params, StringBuilder builder) protected Iterable<OIdentifiable>traversePatternEdge(OMatchStatement.MatchContext matchContext, OIdentifiable startingPoint, OCommandContext iCommandContext) Methods inherited from class com.orientechnologies.orient.core.sql.parser.SimpleNode
dump, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toGenericStatement, toString, toString
-
Field Details
-
method
-
filter
-
-
Constructor Details
-
OMatchPathItem
public OMatchPathItem(int id) -
OMatchPathItem
-
-
Method Details
-
inPath
-
bothPath
-
outPath
-
isBidirectional
public boolean isBidirectional() -
toString
- Specified by:
toStringin classSimpleNode
-
toGenericStatement
- Specified by:
toGenericStatementin classSimpleNode
-
executeTraversal
public Iterable<OIdentifiable> executeTraversal(OMatchStatement.MatchContext matchContext, OCommandContext iCommandContext, OIdentifiable startingPoint, int depth) -
traversePatternEdge
protected Iterable<OIdentifiable> traversePatternEdge(OMatchStatement.MatchContext matchContext, OIdentifiable startingPoint, OCommandContext iCommandContext) -
equals
-
hashCode
public int hashCode() -
copy
- Overrides:
copyin classSimpleNode
-
getMethod
-
setMethod
-
getFilter
-
setFilter
-