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