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
-
-
Field Summary
Fields Modifier and Type Field Description protected List<JsonItem>
items
-
Fields inherited from class com.arcadedb.query.sql.parser.SimpleNode
cachedStringForm, children, value
-
-
Constructor Summary
Constructors Constructor Description Json(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Json
copy()
void
extractSubQueries(SubQueryCollector collector)
protected Object[]
getIdentityElements()
boolean
isAggregate(CommandContext context)
boolean
isCacheable()
boolean
refersToParent()
Json
splitForAggregation(AggregateProjectionSplit aggregateSplit, CommandContext context)
Document
toDocument(Identifiable source, CommandContext context)
Map<String,Object>
toMap(Identifiable source, CommandContext context)
Map<String,Object>
toMap(Result source, CommandContext context)
void
toString(Map<String,Object> params, StringBuilder builder)
-
Methods inherited from class com.arcadedb.query.sql.parser.SimpleNode
equals, getCacheableElements, getValue, hashCode, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
-
-
-
-
Method Detail
-
toString
public void toString(Map<String,Object> params, StringBuilder builder)
- Overrides:
toString
in classSimpleNode
-
toDocument
public Document toDocument(Identifiable source, CommandContext context)
-
toMap
public Map<String,Object> toMap(Identifiable source, CommandContext context)
-
toMap
public Map<String,Object> toMap(Result source, CommandContext context)
-
isAggregate
public boolean isAggregate(CommandContext context)
-
splitForAggregation
public Json splitForAggregation(AggregateProjectionSplit aggregateSplit, CommandContext context)
-
copy
public Json copy()
- Overrides:
copy
in classSimpleNode
-
getIdentityElements
protected Object[] getIdentityElements()
- Overrides:
getIdentityElements
in classSimpleNode
-
extractSubQueries
public void extractSubQueries(SubQueryCollector collector)
-
isCacheable
public boolean isCacheable()
- Overrides:
isCacheable
in classSimpleNode
-
refersToParent
public boolean refersToParent()
- Overrides:
refersToParent
in classSimpleNode
-
-