|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SqlWriter.FrameTypeEnum> org.eigenbase.sql.SqlWriter.FrameTypeEnum
public static enum SqlWriter.FrameTypeEnum
Enumerates the types of frame.
Enum Constant Summary | |
---|---|
FromList
FROM clause (containing various kinds of JOIN). |
|
FunCall
Function call or datatype declaration. |
|
FunDecl
Function declaration. |
|
GroupByList
GROUP BY list. |
|
Identifier
Compound identifier. |
|
OrderBy
ORDER BY clause of a SELECT statement. |
|
OrderByList
ORDER BY list. |
|
Select
SELECT query (or UPDATE or DELETE). |
|
SelectList
The SELECT clause of a SELECT statement. |
|
Setop
Set operation. |
|
Simple
Simple list. |
|
Subquery
Sub-query list. |
|
UpdateSetList
The SET clause of an UPDATE statement. |
|
WhereList
WHERE clause. |
|
Window
Window specification. |
|
WindowDeclList
The WINDOW clause of a SELECT statement. |
Field Summary | |
---|---|
private boolean |
needsIndent
|
Method Summary | |
---|---|
static SqlWriter.FrameType |
create(String name)
|
String |
getName()
|
boolean |
needsIndent()
|
static SqlWriter.FrameTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SqlWriter.FrameTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SqlWriter.FrameTypeEnum Select
public static final SqlWriter.FrameTypeEnum Simple
public static final SqlWriter.FrameTypeEnum SelectList
public static final SqlWriter.FrameTypeEnum WindowDeclList
public static final SqlWriter.FrameTypeEnum UpdateSetList
public static final SqlWriter.FrameTypeEnum FunDecl
public static final SqlWriter.FrameTypeEnum FunCall
Examples:
public static final SqlWriter.FrameTypeEnum Window
Examples:
public static final SqlWriter.FrameTypeEnum OrderBy
public static final SqlWriter.FrameTypeEnum OrderByList
Example:
public static final SqlWriter.FrameTypeEnum GroupByList
Example:
public static final SqlWriter.FrameTypeEnum Subquery
Example:
public static final SqlWriter.FrameTypeEnum Setop
Example:
public static final SqlWriter.FrameTypeEnum FromList
public static final SqlWriter.FrameTypeEnum WhereList
public static final SqlWriter.FrameTypeEnum Identifier
Example:
Field Detail |
---|
private final boolean needsIndent
Method Detail |
---|
public static final SqlWriter.FrameTypeEnum[] values()
for(SqlWriter.FrameTypeEnum c : SqlWriter.FrameTypeEnum.values()) System.out.println(c);
public static SqlWriter.FrameTypeEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic boolean needsIndent()
needsIndent
in interface SqlWriter.FrameType
public static SqlWriter.FrameType create(String name)
public String getName()
getName
in interface SqlWriter.FrameType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |