Table of Contents

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

dbvendor EDbVendor

Properties

CreatedType

public virtual EOracleCreateType CreatedType { get; set; }

Property Value

EOracleCreateType

Kind

public virtual int Kind { get; set; }

Property Value

int

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

TPlsqlTableTypeDefStmt

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

TPlsqlCreateType

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

TPlsqlVarrayTypeDefStmt

Methods

accept(TParseTreeVisitor)

public override void accept(TParseTreeVisitor v)

Parameters

v TParseTreeVisitor

acceptChildren(TParseTreeVisitor)

public override void acceptChildren(TParseTreeVisitor v)

Parameters

v TParseTreeVisitor

doParseStatement(TCustomSqlStatement)

analyze SQL

public override int doParseStatement(TCustomSqlStatement psql)

Parameters

psql TCustomSqlStatement

Returns

int