Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## gudusoft.gsqlparser.stmt.oracle
Class TPlsqlCreateType

    java.lang.Object
      gudusoft.gsqlparser.nodes.TParseTreeNode
          gudusoft.gsqlparser.TCustomSqlStatement
              gudusoft.gsqlparser.stmt.oracle.TPlsqlStmt
                  gudusoft.gsqlparser.stmt.oracle.TPlsqlCreateType

All Implemented Interfaces:
  Visitable

    public class TPlsqlCreateType

extends TPlsqlStmt

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`.

element specification was generated in parse tree, but not public available currently.

Field Summary

Fields inherited from class gudusoft.gsqlparser.TCustomSqlStatement
`dbvendor, dummytag, joins, parser, plsqlparser, rootNode, sourcetokenlist, sqlstatementtype, tables`

Constructor Summary
`TPlsqlCreateType()`
`TPlsqlCreateType(EDbVendor dbvendor)`

Method Summary
`void` | `accept(TParseTreeVisitor v)`
`int` | `doParseStatement(TCustomSqlStatement psql)`
`TTypeAttributeList` | `getAttributes()` List of attribute definition of this object type.
`int` | `getKind()` Indicates what's kind of SQL statement this class represents for.
`TObjectName` | `getTypeName()` Name of an object type.
`void` | `init(java.lang.Object arg1)` Initialize a query tree node.
`void` | `setAttributes(TTypeAttributeList attributes)`
`void` | `setKind(int kind)`

Methods inherited from class gudusoft.gsqlparser.stmt.oracle.TPlsqlStmt
`getEndlabelName, getLabelName, setEndlabelName, setLabelName`

Methods inherited from class gudusoft.gsqlparser.TCustomSqlStatement
`addWhereClause, analyzeFromTable, analyzeJoin, analyzeTablename, checkNonQualifiedColumnReferenceInSubQueryOfUplevelStmt, getCteList, getErrorCount, getOutputClause, getParentStmt, getResultColumnList, getReturningClause, getStatements, getSymbolTable, getTargetTable, getTopClause, getTopStatement, getWhereClause, isnzplsql, isoracleplsql, ispgplsql, linkColumnReferenceToTable, locateVariableOrParameter, OracleStatementCanBeSeparatedByBeginEndPair, parsestatement, setCteList, setOutputClause, setParentStmt, setResultColumnList, setReturningClause, setTargetTable, setTopClause, setWhereClause`

Methods inherited from class gudusoft.gsqlparser.nodes.TParseTreeNode
`addAllMyTokensToTokenList, doParse, getColumnNo, getDummyTag, getEndToken, getGsqlparser, getLineNo, getNodeType, getStartToken, init, init, init, init, init, setDummyTag, setEndToken, setEndToken, setGsqlparser, setNodeType, setStartToken, setStartToken, setString, toString`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### TPlsqlCreateType

    public TPlsqlCreateType()

### TPlsqlCreateType

    public TPlsqlCreateType(EDbVendor dbvendor)

Method Detail

### setKind

    public void setKind(int kind)

### getKind

    public int getKind()

  Indicates what's kind of SQL statement this class represents for.

  Returns:

    `TBaseType.kind_define`: create the specification of an object type.

    `TBaseType.kind_create_incomplete`: create an incomplete object type.

### getAttributes

    public TTypeAttributeList getAttributes()

  List of attribute definition of this object type.

  Returns:
    `TTypeAttributeList`

### setAttributes

    public void setAttributes(TTypeAttributeList attributes)

### getTypeName

    public TObjectName getTypeName()

  Name of an object type.

  Returns:

### init

    public void init(java.lang.Object arg1)

  Description copied from class: `TParseTreeNode`
  Initialize a query tree node.

  Overrides:
    `init` in class `TParseTreeNode`

### doParseStatement

    public int doParseStatement(TCustomSqlStatement psql)

  Overrides:
    `doParseStatement` in class `TCustomSqlStatement`

### accept

    public void accept(TParseTreeVisitor v)

  Specified by:
    `accept` in interface `Visitable`
  Overrides:
    `accept` in class `TParseTreeNode`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD