Table of Contents

Class TPlsqlTableTypeDefStmt

Namespace
gudusoft.gsqlparser.stmt.oracle
Assembly
gudusoft.gsqlparser.dll

A collection groups elements of the same type in a specified order. Each element has a unique subscript that determines its position in the collection.

PL/SQL has three kinds of collections:

Associative arrays can be indexed by either integers or strings. Nested tables and varrays are indexed by integers.

public class TPlsqlTableTypeDefStmt : TCustomSqlStatement, Visitable
Inheritance
TPlsqlTableTypeDefStmt
Implements
Inherited Members

Constructors

TPlsqlTableTypeDefStmt()

public TPlsqlTableTypeDefStmt()

TPlsqlTableTypeDefStmt(EDbVendor)

public TPlsqlTableTypeDefStmt(EDbVendor dbvendor)

Parameters

dbvendor EDbVendor

Properties

ElementDataType

The data type of the collection element. @return

public virtual TTypeName ElementDataType { get; set; }

Property Value

TTypeName

IndexByDataType

For an associative array, the data type of its indexes PLS_INTEGER, BINARY_INTGER, or VARCHAR2. @return

public virtual TTypeName IndexByDataType { get; set; }

Property Value

TTypeName

NotNull

Specifies that no element of the collection can have the value NULL. @return

public virtual bool? NotNull { get; set; }

Property Value

bool?

TypeName

The name that you give to the collection type that you are defining. @return

public virtual TObjectName TypeName { get; set; }

Property Value

TObjectName

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

init(object, object)

public override void init(object arg1, object arg2)

Parameters

arg1 object
arg2 object