Package com.arcadedb.query.sql.parser
Class Json
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.Json
-
- All Implemented Interfaces:
Node
public class Json extends SimpleNode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Json
copy()
void
deserialize(Result fromResult)
boolean
equals(Object o)
void
extractSubQueries(SubQueryCollector collector)
int
hashCode()
boolean
isAggregate()
boolean
isCacheable()
boolean
needsAliases(Set<String> aliases)
boolean
refersToParent()
Result
serialize()
Json
splitForAggregation(AggregateProjectionSplit aggregateSplit)
Document
toDocument(Identifiable source, CommandContext ctx)
Map<String,Object>
toMap(Identifiable source, CommandContext ctx)
Map<String,Object>
toMap(Result source, 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
-
Json
public Json(int id)
-
Json
public Json(SqlParser p, int id)
-
-
Method Detail
-
toString
public void toString(Map<String,Object> params, StringBuilder builder)
- Overrides:
toString
in classSimpleNode
-
toDocument
public Document toDocument(Identifiable source, CommandContext ctx)
-
toMap
public Map<String,Object> toMap(Identifiable source, CommandContext ctx)
-
toMap
public Map<String,Object> toMap(Result source, CommandContext ctx)
-
isAggregate
public boolean isAggregate()
-
splitForAggregation
public Json splitForAggregation(AggregateProjectionSplit aggregateSplit)
-
copy
public Json 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()
-
-