public class OJson extends SimpleNode
Modifier and Type | Field and Description |
---|---|
protected List<OJsonItem> |
items |
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OJson(int id) |
OJson(OrientSql p,
int id) |
Modifier and Type | Method and Description |
---|---|
OJson |
copy() |
void |
deserialize(OResult fromResult) |
boolean |
equals(Object o) |
void |
extractSubQueries(SubQueryCollector collector) |
int |
hashCode() |
boolean |
isAggregate() |
boolean |
isCacheable() |
boolean |
needsAliases(Set<String> aliases) |
boolean |
refersToParent() |
OResult |
serialize() |
OJson |
splitForAggregation(AggregateProjectionSplit aggregateSplit,
OCommandContext ctx) |
ODocument |
toDocument(OIdentifiable source,
OCommandContext ctx) |
Map<String,Object> |
toMap(OIdentifiable source,
OCommandContext ctx) |
Map<String,Object> |
toMap(OResult source,
OCommandContext ctx) |
Object |
toObjectDetermineType(OResult source,
OCommandContext ctx)
choosing return type is based on existence of @class and @type field in JSON
|
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
childrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
public OJson(int id)
public OJson(OrientSql p, int id)
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class SimpleNode
public ODocument toDocument(OIdentifiable source, OCommandContext ctx)
public Object toObjectDetermineType(OResult source, OCommandContext ctx)
source
- ctx
- public Map<String,Object> toMap(OIdentifiable source, OCommandContext ctx)
public Map<String,Object> toMap(OResult source, OCommandContext ctx)
public boolean isAggregate()
public OJson splitForAggregation(AggregateProjectionSplit aggregateSplit, OCommandContext ctx)
public OJson copy()
copy
in class SimpleNode
public void extractSubQueries(SubQueryCollector collector)
public boolean refersToParent()
public OResult serialize()
public void deserialize(OResult fromResult)
public boolean isCacheable()
Copyright © 2009–2020 OrientDB. All rights reserved.