|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<JPQLContextType>
org.apache.olingo.odata2.jpa.processor.api.jpql.JPQLContextType
public enum JPQLContextType
Enumerated list of JPQL context Types.
| Enum Constant Summary | |
|---|---|
DELETE
indicates that the JPQL context can be used for building JPQL delete statements |
|
FUNCTION
indicates that the JPQL context can be used for building JPA Method context that can be used for invoking custom functions |
|
JOIN
indicates that the JPQL context can be used for building JPQL join statement |
|
JOIN_COUNT
indicates that the JPQL context can be used for building JPQL join statement that fetches single record |
|
JOIN_SINGLE
indicates that the JPQL context can be used for building JPQL join statement that fetches single record |
|
MODIFY
indicates that the JPQL context can be used for building JPQL modify statements |
|
SELECT
indicates that the JPQL context can be used for building JPQL select statements |
|
SELECT_COUNT
indicates that the JPQL context can be used for building JPQL select statement that fetches record counts |
|
SELECT_SINGLE
indicates that the JPQL context can be used for building JPQL select statement that fetches single record |
|
| Method Summary | |
|---|---|
static JPQLContextType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JPQLContextType[] |
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 |
|---|
public static final JPQLContextType SELECT
public static final JPQLContextType MODIFY
public static final JPQLContextType DELETE
public static final JPQLContextType SELECT_SINGLE
public static final JPQLContextType JOIN
public static final JPQLContextType JOIN_SINGLE
public static final JPQLContextType SELECT_COUNT
public static final JPQLContextType JOIN_COUNT
public static final JPQLContextType FUNCTION
| Method Detail |
|---|
public static JPQLContextType[] values()
for (JPQLContextType c : JPQLContextType.values()) System.out.println(c);
public static JPQLContextType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||