|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgudusoft.gsqlparser.nodes.TParseTreeNode
gudusoft.gsqlparser.TCustomSqlStatement
gudusoft.gsqlparser.stmt.oracle.TPlsqlStmt
gudusoft.gsqlparser.stmt.oracle.TPlsqlCursorDeclStmt
public class TPlsqlCursorDeclStmt
Represents cursor related statement, including:
Cursor declaration
Cursor specification
Cursor body
Ref cursor type definition
Field Summary | |
---|---|
static int |
kind_cursor_body
|
static int |
kind_cursor_declaration
|
static int |
kind_cursor_specification
|
static int |
kind_ref_cursor_type_definition
|
Fields inherited from class gudusoft.gsqlparser.TCustomSqlStatement |
---|
dbvendor, dummytag, joins, parser, plsqlparser, rootNode, sourcetokenlist, sqlstatementtype, tables |
Constructor Summary | |
---|---|
TPlsqlCursorDeclStmt()
|
|
TPlsqlCursorDeclStmt(EDbVendor dbvendor)
|
Method Summary | |
---|---|
void |
accept(TParseTreeVisitor v)
|
int |
doParseStatement(TCustomSqlStatement psql)
|
TObjectName |
getCursorName()
Name of an explicit cursor. |
TParameterDeclarationList |
getCursorParameterDeclarations()
List of cursor parameter declaration, which is represented by TParameterDeclaration . |
TObjectName |
getCursorTypeName()
Name of a REF CURSOR type. |
int |
getKind()
what's kind of SQL stateemnt this class represents for. |
TTypeName |
getRowtype()
A record type that represents a row in a database table or a row fetched from a previously declared cursor or cursor variable. |
TSelectSqlStatement |
getSubquery()
A SQL SELECT statement. |
void |
init(java.lang.Object arg1)
Initialize a query tree node. |
void |
setCursorName(TObjectName cursorName)
|
void |
setCursorParameterDeclarations(TParameterDeclarationList cursorParameterDeclarations)
|
void |
setCursorTypeName(TObjectName cursorTypeName)
|
void |
setKind(int kind)
|
void |
setRowtype(TTypeName rowtype)
|
Methods inherited from class gudusoft.gsqlparser.stmt.oracle.TPlsqlStmt |
---|
getEndlabelName, getLabelName, setEndlabelName, setLabelName |
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 |
Field Detail |
---|
public static final int kind_cursor_declaration
public static final int kind_cursor_specification
public static final int kind_cursor_body
public static final int kind_ref_cursor_type_definition
Constructor Detail |
---|
public TPlsqlCursorDeclStmt()
public TPlsqlCursorDeclStmt(EDbVendor dbvendor)
Method Detail |
---|
public void setKind(int kind)
public int getKind()
public TSelectSqlStatement getSubquery()
public int doParseStatement(TCustomSqlStatement psql)
doParseStatement
in class TCustomSqlStatement
public void init(java.lang.Object arg1)
TParseTreeNode
init
in class TParseTreeNode
public void setCursorName(TObjectName cursorName)
public TObjectName getCursorName()
public TParameterDeclarationList getCursorParameterDeclarations()
TParameterDeclaration
.
public void setCursorParameterDeclarations(TParameterDeclarationList cursorParameterDeclarations)
public void setRowtype(TTypeName rowtype)
public TTypeName getRowtype()
public void setCursorTypeName(TObjectName cursorTypeName)
public TObjectName getCursorTypeName()
public void accept(TParseTreeVisitor v)
accept
in interface Visitable
accept
in class TParseTreeNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |