public enum StatementType extends Enum<StatementType>
Enum Constant and Description |
---|
TYPE_ASSIGNMENT
Represents a ASSIGNMENT statement
|
TYPE_BREAK
Represents a BREAK statement
|
TYPE_COMMAND
Represents a SQL COMMAND statement
|
TYPE_COMPOUND
Represents a COMPOUND statement
|
TYPE_CONTINUE
Represents a CONTINUE statement
|
TYPE_DECLARE
Represents a DECLARE statement
|
TYPE_ERROR
Represents a ERROR statement
|
TYPE_IF
Represents a IF statement
|
TYPE_LEAVE
Represents a LEAVE statement
|
TYPE_LOOP
Represents a LOOP statement
|
TYPE_RETURN
Represents a RETURN statement
|
TYPE_UNKNOWN
Represents an unknown type of statement
|
TYPE_UPDATE
Represents a UPDATE statement
|
TYPE_WHILE
Represents a WHILE statement
|
Modifier and Type | Method and Description |
---|---|
static StatementType |
findStatementType(int index) |
static StatementType |
findStatementType(String name) |
static StatementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatementType TYPE_UNKNOWN
public static final StatementType TYPE_IF
public static final StatementType TYPE_COMMAND
public static final StatementType TYPE_DECLARE
public static final StatementType TYPE_ERROR
public static final StatementType TYPE_ASSIGNMENT
public static final StatementType TYPE_LOOP
public static final StatementType TYPE_WHILE
public static final StatementType TYPE_CONTINUE
public static final StatementType TYPE_BREAK
public static final StatementType TYPE_UPDATE
public static final StatementType TYPE_COMPOUND
public static final StatementType TYPE_LEAVE
public static final StatementType TYPE_RETURN
public static StatementType[] values()
for (StatementType c : StatementType.values()) System.out.println(c);
public static StatementType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static StatementType findStatementType(String name)
name
- public static StatementType findStatementType(int index)
index
- Copyright © 2013–2019. All rights reserved.