public class TValueClause extends TParseTreeNode
getRows() returns the rows in this value clause.dbvendor, doubleLinkedTokenListToString, nodeActionAppend, nodeActionInsert, nodeActionRemove, nodeActionUnknown, nodeActionUpdate, nodeActionUpdateText, nodeChangeEndToken, nodeChangeStartToken| Constructor and Description |
|---|
TValueClause() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TParseTreeVisitor v)
Accept a visitor
|
void |
acceptChildren(TParseTreeVisitor v)
Accept a visitor to iterate this class and sub-nodes of this class
|
void |
append(TResultColumnList list) |
static String |
defaultColumnName(EDbVendor vendor,
int position)
The name a vendor gives the
position-th column (1-based) of a VALUES table that has no column list, or
null when the vendor names none (Mantis 4823): PostgreSQL, Greenplum, Redshift and Snowflake call them column1,
column2, ...; Spark SQL and Databricks col1, col2, .... |
void |
doParse(TCustomSqlStatement psql,
ESqlClause plocation)
Analyze the sub-nodes inside this node.
|
TObjectNameList |
getNameList() |
ArrayList<TResultColumnList> |
getRows()
Rows in the values clause.
|
TValueRowItemList |
getValueRows()
Deprecated.
As of v2.3.6.9, please use
getRows() instead
The first row of the value clause. |
void |
init(Object arg1)
Initialize a query tree node.
|
void |
init(Object arg1,
Object arg2) |
void |
setNameList(TObjectNameList nameList) |
void |
setValueRows(TValueRowItemList valueRows) |
addAllMyTokensToTokenList, addToTokenChain, appendNewNode, calculateTokenCount, commentBlockAfter, commentBlockEndAfter, doAppendNewNode, fastSetString, getAnchorNode, getColumnNo, getCommentAfterNode, getCommentBeforeNode, getCommentBeforeNode, getCommentBeforeNode, getCompactString, getDummyTag, getEndToken, getEvaluateDatatype, getEvalValue, getGsqlparser, getLineNo, getLocation, getMd5, getNodeStatus, getNodeType, getParentObjectName, getPlainText, getStartToken, getTokenCount, hasNext, init, init, init, init, init, init, init, init, insertAfterAToken, insertNewNodeBeforeMe, isChanged, isTokensInChain, next, refreshAllNodesTokenCount, remove, removeAllMyTokensFromTokenList, removeTokens, removeTokensBetweenNodes, removeTokensBetweenToken, replaceWithNewNode, resetIterator, setAnchorNode, setChanged, setDummyTag, setEndToken, setEndToken, setEndToken, setEndToken, setEndToken, setEndTokenDirectly, setEvaluateDatatype, setEvalValue, setGsqlparser, setIncludingComment, setLocation, setNewSubNode, setNodeStatus, setNodeType, setParent, setPlainText, setStartToken, setStartToken, setStartToken, setStartToken, setStartTokenDirectly, setString, setString2, subNodeInNode, toScript, toString, toString2clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic TValueClause()
public static String defaultColumnName(EDbVendor vendor, int position)
position-th column (1-based) of a VALUES table that has no column list, or
null when the vendor names none (Mantis 4823): PostgreSQL, Greenplum, Redshift and Snowflake call them column1,
column2, ...; Spark SQL and Databricks col1, col2, .... The single rule for the names TSQLResolver2 resolves and
the columns dlineage creates.public TObjectNameList getNameList()
public TValueRowItemList getValueRows()
getRows() instead
The first row of the value clause.public ArrayList<TResultColumnList> getRows()
public void append(TResultColumnList list)
public void init(Object arg1)
TParseTreeNodeinit in class TParseTreeNodearg1 - first argumentpublic void init(Object arg1, Object arg2)
init in class TParseTreeNodepublic void doParse(TCustomSqlStatement psql, ESqlClause plocation)
TParseTreeNodedoParse in class TParseTreeNodepsql - SQL statement this node belongs toplocation - SQL clause this node belongs topublic void accept(TParseTreeVisitor v)
TParseTreeNodeaccept in interface Visitableaccept in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitorpublic void acceptChildren(TParseTreeVisitor v)
TParseTreeNodeacceptChildren in interface VisitableacceptChildren in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitorpublic void setValueRows(TValueRowItemList valueRows)
public void setNameList(TObjectNameList nameList)