public class OIdentifier extends SimpleNode
Instances of this class are immutable and can be recycled multiple times in the same or in different queries.
Modifier and Type | Field and Description |
---|---|
protected boolean |
internalAlias
set to true by the query executor/optimizer for internally generated aliases for query
optimization
|
protected boolean |
quoted |
protected String |
value |
children, firstToken, id, lastToken, parent, parser
Modifier | Constructor and Description |
---|---|
protected |
OIdentifier(int id) |
|
OIdentifier(OIdentifier copyFrom,
boolean quoted) |
|
OIdentifier(OrientSql p,
int id) |
|
OIdentifier(String content) |
Modifier and Type | Method and Description |
---|---|
OIdentifier |
copy() |
static OIdentifier |
deserialize(OResult fromResult) |
boolean |
equals(Object o) |
String |
getStringValue()
returns the plain string representation of this identifier, with quoting removed from
back-ticks
|
String |
getValue()
returns the value as is, with back-ticks quoted with backslash
|
int |
hashCode() |
boolean |
isEarlyCalculated(OCommandContext ctx) |
OResult |
serialize() |
String |
toString() |
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
String |
toString(String prefix) |
childrenAccept, dump, getDatabase, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue
protected String value
protected boolean quoted
protected boolean internalAlias
public OIdentifier(OIdentifier copyFrom, boolean quoted)
public OIdentifier(String content)
protected OIdentifier(int id)
public OIdentifier(OrientSql p, int id)
public static OIdentifier deserialize(OResult fromResult)
public String getValue()
getValue
in class SimpleNode
public String getStringValue()
public String toString(String prefix)
toString
in class SimpleNode
public String toString()
toString
in class SimpleNode
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class SimpleNode
public OIdentifier copy()
copy
in class SimpleNode
public OResult serialize()
public boolean isEarlyCalculated(OCommandContext ctx)
Copyright © 2009–2020 OrientDB. All rights reserved.