Package com.arcadedb.query.sql.parser
Class MultiMatchPathItem
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.MatchPathItem
-
- com.arcadedb.query.sql.parser.MultiMatchPathItem
-
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
MultiMatchPathItemArrows
public class MultiMatchPathItem extends MatchPathItem
-
-
Field Summary
Fields Modifier and Type Field Description protected List<MatchPathItem>
items
-
Fields inherited from class com.arcadedb.query.sql.parser.MatchPathItem
filter, method
-
Fields inherited from class com.arcadedb.query.sql.parser.SimpleNode
children, firstToken, id, lastToken, parent, parser, value
-
-
Constructor Summary
Constructors Constructor Description MultiMatchPathItem(int id)
MultiMatchPathItem(SqlParser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiMatchPathItem
copy()
boolean
equals(Object o)
List<MatchPathItem>
getItems()
int
hashCode()
boolean
isBidirectional()
void
setItems(List<MatchPathItem> items)
void
toString(Map<String,Object> params, StringBuilder builder)
protected Iterable<Identifiable>
traversePatternEdge(MatchStatement.MatchContext matchContext, Identifiable startingPoint, CommandContext iCommandContext)
-
Methods inherited from class com.arcadedb.query.sql.parser.MatchPathItem
executeTraversal, getFilter, getMethod, setFilter, setMethod
-
Methods inherited from class com.arcadedb.query.sql.parser.SimpleNode
childrenAccept, dump, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
-
-
-
-
Field Detail
-
items
protected List<MatchPathItem> items
-
-
Constructor Detail
-
MultiMatchPathItem
public MultiMatchPathItem(int id)
-
MultiMatchPathItem
public MultiMatchPathItem(SqlParser p, int id)
-
-
Method Detail
-
isBidirectional
public boolean isBidirectional()
- Overrides:
isBidirectional
in classMatchPathItem
-
toString
public void toString(Map<String,Object> params, StringBuilder builder)
- Overrides:
toString
in classMatchPathItem
-
traversePatternEdge
protected Iterable<Identifiable> traversePatternEdge(MatchStatement.MatchContext matchContext, Identifiable startingPoint, CommandContext iCommandContext)
- Overrides:
traversePatternEdge
in classMatchPathItem
-
copy
public MultiMatchPathItem copy()
- Overrides:
copy
in classMatchPathItem
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classMatchPathItem
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMatchPathItem
-
getItems
public List<MatchPathItem> getItems()
-
setItems
public void setItems(List<MatchPathItem> items)
-
-