Package gudusoft.gsqlparser.nodes
Class TFromTable
Object
gudusoft.gsqlparser.nodes.TParseTreeNode
gudusoft.gsqlparser.nodes.TNodeWithAliasClause
gudusoft.gsqlparser.nodes.TFromTable
- All Implemented Interfaces:
Visitable,Iterator<TSourceToken>
Represents table source in from clause of select/delete statement, and update table clause of update statement.
-
Field Summary
Fields inherited from class gudusoft.gsqlparser.nodes.TParseTreeNode
dbvendor, doubleLinkedTokenListToString, nodeActionAppend, nodeActionInsert, nodeActionRemove, nodeActionUnknown, nodeActionUpdate, nodeActionUpdateText, nodeChangeEndToken, nodeChangeStartToken -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAccept a visitorvoidAccept a visitor to iterate this class and sub-nodes of this classDB2 data changea table-valued function, in SQL Server, PostgresqlGets the HASH BY clause for Teradata table functions.used in couchbase onlyGets the LOCAL ORDER BY clause for Teradata table functions.intintPostgresql relation exprvoidvoidvoidInitialize a query tree node.voidbooleanbooleanvoidsetColumnDefinitions(TColumnDefinitionList columnDefinitions) voidsetContainsTable(TContainsTable containsTable) voidsetDatachangeTable(TDataChangeTable datachangeTable) voidsetFlashback(TFlashback flashback) voidsetFromTableList(TFromTableList fromTableList) voidsetFromtableType(ETableSource fromtableType) voidsetFuncCall(TFunctionCall funcCall) voidsetHashByClause(THashByClause hashByClause) Sets the HASH BY clause for Teradata table functions.voidsetJoinCondition(TExpression joinCondition) voidsetJoinExpr(TJoinExpr joinExpr) voidsetJoinExprList(TExpressionList joinExprList) voidsetLateralViewList(ArrayList<TLateralView> lateralViewList) voidsetLocalOrderBy(TOrderBy localOrderBy) Sets the LOCAL ORDER BY clause for Teradata table functions.voidsetOnlyKeyword(boolean onlyKeyword) voidsetOpenDatasource(TOpenDatasource openDatasource) voidsetOpenQuery(TOpenQuery openQuery) voidsetOpenRowSet(TOpenRowSet openRowSet) voidsetOpenXML(TOpenXML openXML) voidsetOuterClause(TInformixOuterClause outerClause) voidsetParenthesisAfterAliasCount(int parenthesisAfterAliasCount) voidsetParenthesisCount(int parenthesisCount) voidsetPartitionedTableFunction(THivePartitionedTableFunction partitionedTableFunction) voidsetPartitionExtensionClause(TPartitionExtensionClause partitionExtensionClause) voidsetPivotClause(TPivotClause pivotClause) voidsetPivotedTable(TPivotedTable pivotedTable) voidsetPxGranule(TPxGranule pxGranule) voidsetRelationExpr(TRelationExpr relationExpr) voidsetRowList(TMultiTargetList rowList) voidsetTableExpr(TExpression tableExpr) voidsetTableFunctionReturn(TDummy tableFunctionReturn) voidsetTableHintList(TPTNodeList<TTableHint> tableHintList) voidsetTableKeyword(boolean tableKeyword) voidsetTableObjectName(TObjectName tableObjectName) voidsetTableonly(TSourceToken tableonly) voidsetTableProperties(TDummyList tableProperties) voidsetTableProperties(TPTNodeList<THiveKeyValueProperty> tableProperties) voidsetTableSample(TTableSample tableSample) voidsetTimeTravelClause(TAtBeforeClause timeTravelClause) voidsetXmlTable(TXmlTable xmlTable) Methods inherited from class gudusoft.gsqlparser.nodes.TNodeWithAliasClause
getAliasClause, setAliasClause, toStringMethods inherited from class gudusoft.gsqlparser.nodes.TParseTreeNode
addAllMyTokensToTokenList, addToTokenChain, appendNewNode, calculateTokenCount, doAppendNewNode, doParse, fastSetString, getAnchorNode, getColumnNo, getCommentAfterNode, getCommentBeforeNode, getCompactString, getDummyTag, getEndToken, getEvaluateDatatype, getEvalValue, getGsqlparser, getLineNo, getLocation, getMd5, getNodeStatus, getNodeType, getParentObjectName, getPlainText, getStartToken, getTokenCount, hasNext, 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, toString2Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
TFromTable
public TFromTable()
-
-
Method Details
-
getStageReference
-
setTimeTravelClause
-
getTimeTravelClause
-
getCaseJoin
-
setJoinCondition
-
getJoinCondition
used in couchbase only- Returns:
-
getPxGranule
-
incParenthesisCount
-
incParenthesisAfterAliasCount
-
getParenthesisCount
-
getParenthesisAfterAliasCount
-
setTableProperties
-
getTableProperties
- Returns:
- hive table property list
-
getPartitionExtensionClause
-
setPartitionExtensionClause
-
getColumnDefinitions
-
getValueClause
-
getJsonTable
-
getXmlTable
-
getTableObjectName
-
getTableExpr
-
setTableObjectName
-
getOpenQuery
-
setTableHintList
-
getTableHintList
-
getSubquerynode
-
getRowList
-
isTableKeyword
-
isOnlyKeyword
-
getJoinExpr
-
getFromtableType
-
getOpenDatasource
-
getOpenRowSet
-
getOpenXML
-
getContainsTable
-
setTableonly
-
setTableSample
-
setPxGranule
-
setFlashback
-
getFlashback
-
getTableSample
-
getRelationExpr
Postgresql relation expr- Returns:
-
getDatachangeTable
DB2 data change- Returns:
-
getMergeSqlNode
-
getPivotedTable
-
setPivotClause
-
getPivotClause
-
getFuncCall
a table-valued function, in SQL Server, Postgresql- Returns:
-
getFromTableList
-
getOuterClause
-
getPartitionedTableFunction
-
setLateralViewList
-
getLateralViewList
- Returns:
- hive lateral view list
-
setJoinExprList
-
getJoinExprList
- Returns:
- hive uniqueJoinExpr list
-
getFromQuerySqlNode
-
setColumnDefinitions
-
setTableFunctionReturn
-
getHashByClause
Gets the HASH BY clause for Teradata table functions.- Returns:
- the HASH BY clause, or null if not specified
-
setHashByClause
Sets the HASH BY clause for Teradata table functions.- Parameters:
hashByClause- the HASH BY clause
-
getLocalOrderBy
Gets the LOCAL ORDER BY clause for Teradata table functions.- Returns:
- the LOCAL ORDER BY clause, or null if not specified
-
setLocalOrderBy
Sets the LOCAL ORDER BY clause for Teradata table functions.- Parameters:
localOrderBy- the LOCAL ORDER BY clause
-
init
Description copied from class:TParseTreeNodeInitialize a query tree node. Used internally- Overrides:
initin classTParseTreeNode- Parameters:
arg1- first argument
-
getUnnestClause
-
getTdUnpivot
-
init
- Overrides:
initin classTParseTreeNode
-
setTableProperties
-
setParenthesisCount
-
setParenthesisAfterAliasCount
-
setXmlTable
-
setTableExpr
-
setRowList
-
setTableKeyword
-
setOnlyKeyword
-
setJoinExpr
-
setFromtableType
-
setOpenDatasource
-
setOpenXML
-
setOpenRowSet
-
setOpenQuery
-
setContainsTable
-
setDatachangeTable
-
setRelationExpr
-
setPivotedTable
-
setFuncCall
-
setOuterClause
-
setFromTableList
-
setPartitionedTableFunction
-
accept
Description copied from class:TParseTreeNodeAccept a visitor- Specified by:
acceptin interfaceVisitable- Overrides:
acceptin classTParseTreeNode- Parameters:
v- visitor is a descendant class ofTParseTreeVisitor
-
acceptChildren
Description copied from class:TParseTreeNodeAccept a visitor to iterate this class and sub-nodes of this class- Specified by:
acceptChildrenin interfaceVisitable- Overrides:
acceptChildrenin classTParseTreeNode- Parameters:
v- visitor is a descendant class ofTParseTreeVisitor
-