public static final class SqllrSnapshot.Node extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias() |
SqllrSnapshot.Anchor |
getAnchor()
The parse tree node the model was built for (
getGspObject(), the table object, ...), or null. |
SqllrSnapshot.Call |
getCall()
For a function result set, its function or CASE, else null.
|
SqllrSnapshot.Anchor |
getColumnAnchor()
For a column, its column object, or null.
|
SqllrSnapshot.Anchor |
getCte()
For a query table over a CTE, the CTE's name, else null.
|
SqllrSnapshot.Position |
getEnd() |
List<String> |
getFlags()
Boolean properties that hold, by name (
constant, variable, star, ...), sorted. |
String |
getFullName() |
long |
getHandle() |
String |
getKind()
For a result set, its
ResultSetClassifier.Kind name; for a table, its sub type
(SubType name) or null; else null. |
List<Long> |
getMembers()
For a table or result set, the handles of its columns at the freeze, in order.
|
String |
getModelClass()
The simple name of the model class (
Table, QueryTable, ResultColumn, ...). |
long |
getModelId()
The model's own id, or -1 when the model has none.
|
String |
getName()
The model's name, as the model holds it (a display value, never an identity).
|
long |
getOwner()
For a column, the handle of the table or result set holding it; for relation rows, of their holder.
|
long |
getSelectStatement()
For a select result set or set operation, the handle of its SELECT statement, else 0.
|
String |
getSetOperator()
For a set operation, its operator (
ESetOperatorType name), else null. |
SqllrSnapshot.Position |
getStart()
For a table column, its start position, else null.
|
boolean |
isWildcard()
For a result column, whether its column object is a wildcard, decided by the parse.
|
void |
write(StringBuilder out) |
public long getHandle()
public String getModelClass()
Table, QueryTable, ResultColumn, ...).public long getModelId()
public String getKind()
ResultSetClassifier.Kind name; for a table, its sub type
(SubType name) or null; else null.public String getSetOperator()
ESetOperatorType name), else null.public String getName()
public String getFullName()
public long getOwner()
public List<Long> getMembers()
public List<String> getFlags()
constant, variable, star, ...), sorted.public SqllrSnapshot.Anchor getAnchor()
getGspObject(), the table object, ...), or null.public SqllrSnapshot.Anchor getColumnAnchor()
public SqllrSnapshot.Call getCall()
public long getSelectStatement()
public SqllrSnapshot.Anchor getCte()
public SqllrSnapshot.Position getStart()
public SqllrSnapshot.Position getEnd()
public boolean isWildcard()
public void write(StringBuilder out)