Package com.arcadedb.query.sql.parser
Class MatchPathItemFirst
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.MatchPathItem
-
- com.arcadedb.query.sql.parser.MatchPathItemFirst
-
- All Implemented Interfaces:
Node
public class MatchPathItemFirst extends MatchPathItem
- Author:
- Luigi Dell'Aquila (luigi.dellaquila-(at)-gmail.com)
-
-
Field Summary
Fields Modifier and Type Field Description protected FunctionCall
function
protected MethodCall
methodWrapper
-
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 MatchPathItemFirst(int id)
MatchPathItemFirst(SqlParser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchPathItem
copy()
boolean
equals(Object o)
FunctionCall
getFunction()
MethodCall
getMethod()
int
hashCode()
boolean
isBidirectional()
void
setFunction(FunctionCall function)
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, 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
-
function
protected FunctionCall function
-
methodWrapper
protected volatile MethodCall methodWrapper
-
-
Constructor Detail
-
MatchPathItemFirst
public MatchPathItemFirst(int id)
-
MatchPathItemFirst
public MatchPathItemFirst(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 MatchPathItem copy()
- Overrides:
copy
in classMatchPathItem
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classMatchPathItem
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMatchPathItem
-
getFunction
public FunctionCall getFunction()
-
setFunction
public void setFunction(FunctionCall function)
-
getMethod
public MethodCall getMethod()
- Overrides:
getMethod
in classMatchPathItem
-
-