public class TFlinkWithClause extends TParseTreeNode
Syntax:
WITH ( 'property1' = 'value1', 'property2' = 'value2', ... )
Example:
WITH ( 'connector' = 'kafka', 'topic' = 'my-topic', 'properties.bootstrap.servers' = 'localhost:9092', 'format' = 'json' )
dbvendor, doubleLinkedTokenListToString, nodeActionAppend, nodeActionInsert, nodeActionRemove, nodeActionUnknown, nodeActionUpdate, nodeActionUpdateText, nodeChangeEndToken, nodeChangeStartToken| Constructor and Description |
|---|
TFlinkWithClause() |
| 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
|
TFlinkTableProperty |
findProperty(String keyName)
Find a property by key name.
|
TPTNodeList<TFlinkTableProperty> |
getProperties()
Get the list of properties defined in the WITH clause.
|
TFlinkTableProperty |
getProperty(int index)
Get a property by index.
|
int |
getPropertyCount()
Get the number of properties in the WITH clause.
|
String |
getPropertyValue(String keyName)
Get a property value by key name.
|
void |
init(Object arg1)
Initialize with properties list.
|
void |
setProperties(TPTNodeList<TFlinkTableProperty> properties)
Set the properties list.
|
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, 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 TFlinkWithClause()
public void init(Object arg1)
init in class TParseTreeNodearg1 - the list of properties (TParseTreeNodeList from grammar)public TPTNodeList<TFlinkTableProperty> getProperties()
public void setProperties(TPTNodeList<TFlinkTableProperty> properties)
properties - the list of propertiespublic int getPropertyCount()
public TFlinkTableProperty getProperty(int index)
index - the index of the propertypublic TFlinkTableProperty findProperty(String keyName)
keyName - the key name to search for (without quotes)public String getPropertyValue(String keyName)
keyName - the key name to search for (without quotes)public 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 TParseTreeVisitor