com.mysema.query
Enum QueryFlag.Position

java.lang.Object
  extended by java.lang.Enum<QueryFlag.Position>
      extended by com.mysema.query.QueryFlag.Position
All Implemented Interfaces:
Serializable, Comparable<QueryFlag.Position>
Enclosing class:
QueryFlag

public static enum QueryFlag.Position
extends Enum<QueryFlag.Position>


Enum Constant Summary
AFTER_FILTERS
          After the filter conditions (where)
AFTER_GROUP_BY
          After group by
AFTER_HAVING
          After having
AFTER_ORDER
          After order (by)
AFTER_PROJECTION
          After the projection (after select ...)
AFTER_SELECT
          After the first element (after select)
BEFORE_FILTERS
          Before the filter conditions (where)
BEFORE_GROUP_BY
          Before group by
BEFORE_HAVING
          Before having
BEFORE_ORDER
          Before order (by)
END
          After all other tokens
START
          Start of the query
START_OVERRIDE
          Override for the first element (e.g SELECT, INSERT)
 
Method Summary
static QueryFlag.Position valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QueryFlag.Position[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

START

public static final QueryFlag.Position START
Start of the query


START_OVERRIDE

public static final QueryFlag.Position START_OVERRIDE
Override for the first element (e.g SELECT, INSERT)


AFTER_SELECT

public static final QueryFlag.Position AFTER_SELECT
After the first element (after select)


AFTER_PROJECTION

public static final QueryFlag.Position AFTER_PROJECTION
After the projection (after select ...)


BEFORE_FILTERS

public static final QueryFlag.Position BEFORE_FILTERS
Before the filter conditions (where)


AFTER_FILTERS

public static final QueryFlag.Position AFTER_FILTERS
After the filter conditions (where)


BEFORE_GROUP_BY

public static final QueryFlag.Position BEFORE_GROUP_BY
Before group by


AFTER_GROUP_BY

public static final QueryFlag.Position AFTER_GROUP_BY
After group by


BEFORE_HAVING

public static final QueryFlag.Position BEFORE_HAVING
Before having


AFTER_HAVING

public static final QueryFlag.Position AFTER_HAVING
After having


BEFORE_ORDER

public static final QueryFlag.Position BEFORE_ORDER
Before order (by)


AFTER_ORDER

public static final QueryFlag.Position AFTER_ORDER
After order (by)


END

public static final QueryFlag.Position END
After all other tokens

Method Detail

values

public static QueryFlag.Position[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (QueryFlag.Position c : QueryFlag.Position.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static QueryFlag.Position valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.