Top Description Fields Constructors Methods
org.eclipse.persistence.jpa.jpql

public final Enum LiteralType

extends Enum<LiteralType>
Class Inheritance

Some Expression can have a "literal", this enumeration is used to visit an Expression and to retrieve the right value.

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Author
Pascal Filion
Since
2.3
Version
2.4
See Also
JPQLQueryContext.literal(Expression, LiteralType), LiteralVisitor

Field Summary

Modifier and TypeField and Description
public static final LiteralType
ABSTRACT_SCHEMA_NAME

Retrieves the abstract schema name only.

public static final LiteralType
ENTITY_TYPE

Retrieves the entity type name only.

public static final LiteralType
IDENTIFICATION_VARIABLE

Retrieves an identification variable name only.

public static final LiteralType
INPUT_PARAMETER

Retrieves the input parameter value.

public static final LiteralType
PATH_EXPRESSION_ALL_PATH

Retrieves the entire state field path or collection-valued path expression.

public static final LiteralType
PATH_EXPRESSION_IDENTIFICATION_VARIABLE

Retrieves the identification variable name of a path expression.

public static final LiteralType
PATH_EXPRESSION_LAST_PATH

Retrieves the last path of a state field path or collection-valued path expression.

public static final LiteralType
RESULT_VARIABLE

Retrieves the result variable.

public static final LiteralType
STRING_LITERAL

Retrieves the string literal only.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static LiteralType
public static LiteralType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ABSTRACT_SCHEMA_NAMEback to summary
public static final LiteralType ABSTRACT_SCHEMA_NAME

Retrieves the abstract schema name only.

ENTITY_TYPEback to summary
public static final LiteralType ENTITY_TYPE

Retrieves the entity type name only.

IDENTIFICATION_VARIABLEback to summary
public static final LiteralType IDENTIFICATION_VARIABLE

Retrieves an identification variable name only.

INPUT_PARAMETERback to summary
public static final LiteralType INPUT_PARAMETER

Retrieves the input parameter value.

PATH_EXPRESSION_ALL_PATHback to summary
public static final LiteralType PATH_EXPRESSION_ALL_PATH

Retrieves the entire state field path or collection-valued path expression.

PATH_EXPRESSION_IDENTIFICATION_VARIABLEback to summary
public static final LiteralType PATH_EXPRESSION_IDENTIFICATION_VARIABLE

Retrieves the identification variable name of a path expression.

PATH_EXPRESSION_LAST_PATHback to summary
public static final LiteralType PATH_EXPRESSION_LAST_PATH

Retrieves the last path of a state field path or collection-valued path expression.

RESULT_VARIABLEback to summary
public static final LiteralType RESULT_VARIABLE

Retrieves the result variable.

STRING_LITERALback to summary
public static final LiteralType STRING_LITERAL

Retrieves the string literal only.

Constructor Detail

LiteralTypeback to summary
private LiteralType()

Method Detail

valueOfback to summary
public static LiteralType valueOf(String name)
valuesback to summary
public static LiteralType[] values()