|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.sql.proc.Statement
public abstract class Statement
This class represents the a statement in the stored procedure language.
The subclasses of this class represent specific statements like an
IfStatement, AssignmentStatement etc.
| Field Summary | |
|---|---|
static int |
TYPE_ASSIGNMENT
Represents a ASSIGNMENT statement |
static int |
TYPE_BREAK
Represents a BREAK statement |
static int |
TYPE_COMMAND
Represents a SQL COMMAND statement |
static int |
TYPE_CONTINUE
Represents a CONTINUE statement |
static int |
TYPE_DECLARE
Represents a DECLARE statement |
static int |
TYPE_ERROR
Represents a ERROR statement |
static int |
TYPE_IF
Represents a IF statement |
static int |
TYPE_LOOP
Represents a LOOP statement |
static int |
TYPE_UNKNOWN
Represents an unknown type of statement |
static int |
TYPE_WHILE
Represents a WHILE statement |
| Constructor Summary | |
|---|---|
Statement()
|
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
clone()
Deep clone statement to produce a new identical statement. |
abstract int |
getType()
Return type of statement to make it easier to build switch statements by statement type. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.metamatrix.query.sql.LanguageObject |
|---|
acceptVisitor |
| Field Detail |
|---|
public static final int TYPE_UNKNOWN
public static final int TYPE_IF
public static final int TYPE_COMMAND
public static final int TYPE_DECLARE
public static final int TYPE_ERROR
public static final int TYPE_ASSIGNMENT
public static final int TYPE_LOOP
public static final int TYPE_WHILE
public static final int TYPE_CONTINUE
public static final int TYPE_BREAK
| Constructor Detail |
|---|
public Statement()
| Method Detail |
|---|
public abstract int getType()
public abstract java.lang.Object clone()
clone in interface LanguageObjectclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||