public class ResultSet extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
database |
protected String |
schema |
protected String |
server |
| Constructor and Description |
|---|
ResultSet(TParseTreeNode gspObject,
boolean isTarget) |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(ResultColumn column) |
void |
addFieldPathColumn(ResultColumn node,
ResultColumn base)
Makes
node, a field node below base, one of the field path columns rather than a column. |
void |
addFieldPathColumn(ResultColumn node,
ResultColumn base,
List<StructuredPathSegment> segments)
Makes
node, the field node at segments below base, one of the field path columns rather
than a column, and indexes it by its identity when the path is given. |
List<ResultColumn> |
getColumns() |
List<ResultColumn> |
getColumnsWithFieldPaths()
The columns as the output lists them: each column followed by the field nodes below it.
|
String |
getDatabase() |
protected String |
getDefaultDatabase() |
protected String |
getDefaultSchema() |
protected String |
getDefaultServer() |
Pair3<Long,Long,String> |
getEndPosition() |
ResultColumn |
getFieldPathNode(FieldNodeKey key)
The field node with identity
key, or null. |
TParseTreeNode |
getGspObject() |
long |
getId() |
String |
getProcedureId() |
ResultSetRelationRows |
getRelationRows() |
String |
getSchema() |
String |
getServer() |
Pair3<Long,Long,String> |
getStartPosition() |
boolean |
isDetermined() |
boolean |
isTarget() |
void |
setDetermined(boolean isDetermined) |
void |
setProcedureId(String procedureId) |
void |
setTarget(boolean isTarget) |
public ResultSet(TParseTreeNode gspObject, boolean isTarget)
protected String getDefaultServer()
protected String getDefaultSchema()
protected String getDefaultDatabase()
public Pair3<Long,Long,String> getStartPosition()
public Pair3<Long,Long,String> getEndPosition()
public List<ResultColumn> getColumns()
public void addColumn(ResultColumn column)
public void addFieldPathColumn(ResultColumn node, ResultColumn base)
node, a field node below base, one of the field path columns rather than a column.public void addFieldPathColumn(ResultColumn node, ResultColumn base, List<StructuredPathSegment> segments)
node, the field node at segments below base, one of the field path columns rather
than a column, and indexes it by its identity when the path is given.public ResultColumn getFieldPathNode(FieldNodeKey key)
key, or null.public List<ResultColumn> getColumnsWithFieldPaths()
public TParseTreeNode getGspObject()
public long getId()
public boolean isTarget()
public String getDatabase()
public ResultSetRelationRows getRelationRows()
public boolean isDetermined()
public void setDetermined(boolean isDetermined)
public void setTarget(boolean isTarget)
public String getProcedureId()
public void setProcedureId(String procedureId)