public class TPlsqlCreateType_Placeholder extends TCustomSqlStatement
The CREATE TYPE statement creates or replaces
the specification of an object type,represented by TPlsqlCreateType.
a SQLJ object type (not supported),
a named varying array (varray), represented by TPlsqlVarrayTypeDefStmt.
a nested table type, represented by TPlsqlTableTypeDefStmt.
or an incomplete object type, represented by TPlsqlCreateType.
You can check kind property to determine what's kind of SQL statement this class represents for.
Various SQL statement can be fetched via following properties:
getObjectStatement(), getVarrayStatement(),getNestedTableStatement() accordingly.
dummytag, fromClause, fromSourceJoin, fromSourceTable, isparsed, joins, parser, plsqlparser, relationAttributes, rootNode, sourcetokenlist, sqlstatementtype, stmtScope, tablesdbvendor, doubleLinkedTokenListToString, nodeActionAppend, nodeActionInsert, nodeActionRemove, nodeActionUnknown, nodeActionUpdate, nodeActionUpdateText, nodeChangeEndToken, nodeChangeStartToken| Constructor and Description |
|---|
TPlsqlCreateType_Placeholder(EDbVendor dbvendor) |
| 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
|
int |
doParseStatement(TCustomSqlStatement psql) |
EOracleCreateType |
getCreatedType() |
int |
getKind() |
TPlsqlTableTypeDefStmt |
getNestedTableStatement()
Valid only when kind =
TBaseType.kind_create_nested_table
Represents a statement that create the specification of a nested table type. |
TPlsqlCreateType |
getObjectStatement()
Valid only when kind =
TBaseType.kind_create or kind = TBaseType.kind_create_incomplete
Represents a statement that create the specification of an object type. |
TPlsqlVarrayTypeDefStmt |
getVarrayStatement()
Valid only when kind =
TBaseType.kind_create_varray
Represents a statement that create the specification of a varray type. |
void |
setCreatedType(EOracleCreateType createdType) |
void |
setKind(int kind) |
void |
setNestedTableStatement(TPlsqlTableTypeDefStmt nestedTableStatement) |
void |
setObjectStatement(TPlsqlCreateType objectStatement) |
void |
setVarrayStatement(TPlsqlVarrayTypeDefStmt varrayStatement) |
addToTables, addWhereClause, analyzeFromTable, analyzeFromTable, analyzeJoin, analyzeTablename, analyzeTableOrJoin, asCanonical, checkNonQualifiedColumnReferenceInSubQueryOfUplevelStmt, clearError, dochecksyntax, findTable, fireOnMetaDatabaseTableColumn, getAncestorStmt, getAttributes, getColumnsInTable, getColumnsInTable, getCteIncludeThisStmt, getCteList, getDaxFunctionStack, getEndlabelName, getErrorCount, getErrormessage, getExpandedResultColumns, getFirstPhysicalTable, getFrameStack, getFromClause, getFromSourceJoin, getFromSourceTable, getGlobalScope, getIndexColumns, getJoins, getLabelName, getOrphanColumns, getOutputClause, getParentObjectName, getParentStmt, getRelationName, getRelations, getResultColumnList, getReturningClause, getSqlEnv, getStatements, getStmtScope, getSymbolTable, getSyntaxErrors, getSyntaxHints, getTables, getTargetTable, getTokenList, getTopClause, getTopStatement, getUsingVariableList, getVariableStack, getWhereClause, isathenaplsql, isBigQueryplsql, isdatabricksplsql, isGaussDBStoredProcedure, isgreeplumplsql, isnzplsql, isoracleplsql, ispgplsql, isprestoplsql, issnowflakeplsql, isTableACTE, isverticaplsql, linkColumnReferenceToTable, linkColumnToTable, linkToFirstTable, locateVariableOrParameter, locateVariableOrParameter, OracleStatementCanBeSeparatedByBeginEndPair, parseerrormessagehandle, parsestatement, parsestatement, searchCTEList, searchDaxVariableInStack, searchFunctionInSQLEnv, setAlreadyAddToParent, setCteIncludeThisStmt, setCteList, setEndlabelName, setFrameStack, setFromClause, setLabelName, setOutputClause, setParentStmt, setParentStmtToNull, setResultColumnList, setReturningClause, setStmtScope, setTargetTable, setTopClause, setUsingVariableList, setVariableStack, setWhereClause, size, toScript, VerticaStatementCanBeSeparatedByBeginEndPairaddAllMyTokensToTokenList, addToTokenChain, appendNewNode, calculateTokenCount, doAppendNewNode, doParse, fastSetString, getAnchorNode, getColumnNo, getCommentAfterNode, getCommentBeforeNode, getCompactString, getDummyTag, getEndToken, getEvaluateDatatype, getEvalValue, getGsqlparser, getLineNo, getLocation, getMd5, getNodeStatus, getNodeType, getPlainText, getStartToken, getTokenCount, hasNext, 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, toString, toString2clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic TPlsqlCreateType_Placeholder(EDbVendor dbvendor)
public void setCreatedType(EOracleCreateType createdType)
public EOracleCreateType getCreatedType()
public void setKind(int kind)
public int getKind()
TBaseType.kind_define: create the specification of an object type, check getObjectStatement()
TBaseType.kind_create_incomplete: create an incomplete object type, check getObjectStatement()
TBaseType.kind_create_varray: create a varray type, check getVarrayStatement()
TBaseType.kind_create_nested_table: create a nested table type,check getNestedTableStatement()
public TPlsqlCreateType getObjectStatement()
TBaseType.kind_create or kind = TBaseType.kind_create_incomplete
Represents a statement that create the specification of an object type.
or create an incomplete object type.public TPlsqlVarrayTypeDefStmt getVarrayStatement()
TBaseType.kind_create_varray
Represents a statement that create the specification of a varray type.public TPlsqlTableTypeDefStmt getNestedTableStatement()
TBaseType.kind_create_nested_table
Represents a statement that create the specification of a nested table type.public int doParseStatement(TCustomSqlStatement psql)
doParseStatement in class TCustomSqlStatementpublic 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 setObjectStatement(TPlsqlCreateType objectStatement)
public void setVarrayStatement(TPlsqlVarrayTypeDefStmt varrayStatement)
public void setNestedTableStatement(TPlsqlTableTypeDefStmt nestedTableStatement)