public class ResultColumnList extends QueryTreeNodeList<ResultColumn>
ResultColumn| Modifier and Type | Field and Description |
|---|---|
protected boolean |
forUpdate |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX| Constructor and Description |
|---|
ResultColumnList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResultColumn(ResultColumn resultColumn)
Add a ResultColumn (at this point, ResultColumn or
AllResultColumn) to the list
|
void |
appendResultColumns(ResultColumnList resultColumns,
boolean destructiveCopy)
Append a given ResultColumnList to this one, resetting the virtual
column ids in the appended portion.
|
String[] |
getColumnNames()
Get an array of strings for all the columns
in this RCL.
|
ResultColumnList |
getJoinColumns(ResultColumnList joinColumns)
Get the join columns from this list.
|
ResultColumn |
getOrderByColumn(int position)
Get a ResultColumn from a column position (1-based) in the list,
null if out of range (for order by).
|
ResultColumn |
getResultColumn(int position)
Get a ResultColumn from a column position (1-based) in the list
|
ResultColumn |
getResultColumn(String columnName)
Get a ResultColumn that matches the specified columnName.
|
protected void |
markInitialSize() |
void |
removeJoinColumns(ResultColumnList joinColumns)
Remove the columns which are join columns (in the
joinColumns RCL) from this list.
|
String |
toString()
Convert this object to a String.
|
add, add, addAll, clear, copyFrom, destructiveAddAll, get, getList, indexOf, isEmpty, iterator, printSubNodes, remove, remove, set, sizeaccept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrintpublic void addResultColumn(ResultColumn resultColumn)
resultColumn - The ResultColumn to add to the listpublic void appendResultColumns(ResultColumnList resultColumns, boolean destructiveCopy)
resultColumns - The ResultColumnList to be appendeddestructiveCopy - Whether or not this is a destructive copy
from resultColumnspublic ResultColumn getResultColumn(int position)
position - The ResultColumn to get from the list (1-based)public ResultColumn getOrderByColumn(int position)
position - The ResultColumn to get from the list (1-based)public ResultColumn getResultColumn(String columnName)
columnName - The ResultColumn to get from the listmarkIfReferenced - True if we should mark this column as referenced.public String[] getColumnNames()
public void removeJoinColumns(ResultColumnList joinColumns)
joinColumns - The list of join columnspublic ResultColumnList getJoinColumns(ResultColumnList joinColumns) throws StandardException
joinColumns - A list of the join columns.StandardExceptionprotected void markInitialSize()
public String toString()
toString in class QueryTreeNodeCopyright © 2015 FoundationDB, LLC. All rights reserved.