Package com.arcadedb.query.sql.parser
Class MethodCall
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.MethodCall
-
- All Implemented Interfaces:
Node
public class MethodCall extends SimpleNode
-
-
Field Summary
Fields Modifier and Type Field Description protected Identifier
methodName
protected List<Expression>
params
-
Fields inherited from class com.arcadedb.query.sql.parser.SimpleNode
children, firstToken, id, lastToken, parent, parser, value
-
-
Constructor Summary
Constructors Constructor Description MethodCall(int id)
MethodCall(SqlParser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodCall
copy()
void
deserialize(Result fromResult)
boolean
equals(Object o)
Object
execute(Object targetObjects, CommandContext ctx)
Object
execute(Object targetObjects, Iterable<Identifiable> iPossibleResults, CommandContext ctx)
Object
executeReverse(Object targetObjects, CommandContext ctx)
void
extractSubQueries(SubQueryCollector collector)
int
hashCode()
boolean
isBidirectional()
boolean
isCacheable()
boolean
needsAliases(Set<String> aliases)
boolean
refersToParent()
Result
serialize()
void
toString(Map<String,Object> params, StringBuilder builder)
-
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
-
methodName
protected Identifier methodName
-
params
protected List<Expression> params
-
-
Constructor Detail
-
MethodCall
public MethodCall(int id)
-
MethodCall
public MethodCall(SqlParser p, int id)
-
-
Method Detail
-
toString
public void toString(Map<String,Object> params, StringBuilder builder)
- Overrides:
toString
in classSimpleNode
-
isBidirectional
public boolean isBidirectional()
-
execute
public Object execute(Object targetObjects, CommandContext ctx)
-
execute
public Object execute(Object targetObjects, Iterable<Identifiable> iPossibleResults, CommandContext ctx)
-
executeReverse
public Object executeReverse(Object targetObjects, CommandContext ctx)
-
copy
public MethodCall copy()
- Overrides:
copy
in classSimpleNode
-
extractSubQueries
public void extractSubQueries(SubQueryCollector collector)
-
refersToParent
public boolean refersToParent()
-
serialize
public Result serialize()
-
deserialize
public void deserialize(Result fromResult)
-
isCacheable
public boolean isCacheable()
-
-