Class TPlsqlCreateType_Placeholder
- Namespace
- gudusoft.gsqlparser.stmt.oracle
- Assembly
- gudusoft.gsqlparser.dll
This class is a placeholder for CREATE TYPE statement.
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:
ObjectStatement, VarrayStatement,NestedTableStatement accordingly.
public class TPlsqlCreateType_Placeholder : TCustomSqlStatement, Visitable
- Inheritance
-
TPlsqlCreateType_Placeholder
- Implements
- Inherited Members
Constructors
TPlsqlCreateType_Placeholder(EDbVendor)
public TPlsqlCreateType_Placeholder(EDbVendor dbvendor)
Parameters
dbvendorEDbVendor
Properties
CreatedType
public virtual EOracleCreateType CreatedType { get; set; }
Property Value
Kind
public virtual int Kind { get; set; }
Property Value
NestedTableStatement
Valid only when kind = kind_create_nested_table Represents a statement that create the specification of a nested table type. @return
public virtual TPlsqlTableTypeDefStmt NestedTableStatement { get; set; }
Property Value
ObjectStatement
Valid only when kind = kind_create or kind = kind_create_incomplete Represents a statement that create the specification of an object type. or create an incomplete object type. @return
public virtual TPlsqlCreateType ObjectStatement { get; set; }
Property Value
VarrayStatement
Valid only when kind = kind_create_varray Represents a statement that create the specification of a varray type. @return
public virtual TPlsqlVarrayTypeDefStmt VarrayStatement { get; set; }
Property Value
Methods
accept(TParseTreeVisitor)
public override void accept(TParseTreeVisitor v)
Parameters
acceptChildren(TParseTreeVisitor)
public override void acceptChildren(TParseTreeVisitor v)
Parameters
doParseStatement(TCustomSqlStatement)
analyze SQL
public override int doParseStatement(TCustomSqlStatement psql)
Parameters
psqlTCustomSqlStatement