scalar expression.
| Modifier and Type | Field and Description |
|---|---|
| private ICaseExpressionStateObjectBuilder | caseBuilder
Caches the |
| private StateObject | parent
The parent of the expression to build, which is only required when a JPQL fragment needs to be parsed. |
| Access | Constructor and Description |
|---|---|
| protected | AbstractScalarExpressionStateObjectBuilder(StateObject
The parent of the expression to build, which is only required when a JPQL
fragment needs to be parsed parent)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public T | abs(T
The parameter of the builder)ABS expressionImplements org. ABS(x).
|
| public T | add(T
The right side of the addition expression builder)Implements org. x + y.
|
| protected void | |
| protected void | |
| public T | avg(String
The state field path expression path)Implements org. AVG(path).
|
| public T | avgDistinct(String
The state field path expression path)Implements org. AVG(DISTINCT path).
|
| protected StateObject | |
| protected StateObject | |
| protected StateObject | |
| protected StateObject | |
| protected StateObject | |
| protected StateObject | |
| protected StateObject | |
| public T | case_(ICaseExpressionStateObjectBuilder
The builder)builder of a CASE
expressionImplements org. CASE expression.
|
| public T | coalesce(T
The first scalar expression builder1, T The second scalar expression builder2)Implements org. COALESCE(scalar_expression {, scalar_expression}+).
|
| public T | coalesce(T
The first scalar expression builder1, T The second scalar expression builder2, T[] The subsequent scalar expressions builders)Implements org. COALESCE(scalar_expression {, scalar_expression}+).
|
| public T | concat(T
The first argument of the expression builder1, T The second argument of the expression builder2)Implements org. CONCAT(string_primary, string_primary {, string_primary}*).
|
| public T | concat(T
The first argument of the expression builder1, T The second argument of the expression builder2, T[] The subsequence arguments of the expression, which are optional builders)Implements org. CONCAT(string_primary, string_primary {, string_primary}*).
|
| protected void | |
| public T | count(String
The state field path expression path)Implements org. COUNT(identification_variable |
state_field_path_expression |
single_valued_object_path_expression).
|
| public T | countDistinct(String
The state field path expression path)Implements org. COUNT(DISTINCT identification_variable |
state_field_path_expression |
single_valued_object_path_expression).
|
| public T | currentDate()
Implements org. CURRENT_DATE.
|
| public T | currentTime()
Implements org. CURRENT_TIME.
|
| public T | currentTimestamp()
Implements org. CURRENT_TIMESTAMP.
|
| public T | date(String jdbcDate)
Implements org. |
| public T | divide(T
The right side of the division expression builder)Implements org. x / y.
|
| public T | entityType(String
The short name of the entity entityTypeName)Implements org. |
| public T | enumLiteral(Enum<? extends Enum<?>>
The enum constant enumConstant)Implements org. |
| public T | function(String
The JPQL identifier that is used to identify the SQL expression identifier, String The name of the native SQL function functionName, String... The arguments of the expression arguments)Implements org. <identifier>('functionName' {, expression}*).
|
| public T | function(String
The JPQL identifier that is used to identify the SQL expression identifier, String The name of the native SQL function functionName)Implements org. <identifier>('functionName' {, expression}*).
|
| public T | function(String
The JPQL identifier that is used to identify the SQL expression identifier, String The name of the native SQL function functionName, T[] The arguments of the expression arguments)Implements org. <identifier>('functionName' {, expression}*).
|
| public ICaseExpressionStateObjectBuilder | getCaseBuilder()
Implements org. CASE expression, which requires a
IConditionalExpressionStateObjectBuilder to build the WHEN clauses.
|
| protected StateObject | Returns: The parentReturns the parent of the expression to build, which is only required when a JPQL fragment needs to be parsed. |
| public T | index(String
The identification variable variable)Implements org. INDEX(identification_variable).
|
| public T | length(T
The encapsulated expression builder)Implements org. LENGTH(expression).
|
| protected StateObject | |
| protected List | |
| public T | locate(T
The first string primary parameter1, T The second string primary parameter2)Implements org. LOCATE(string_primary, string_primary).
|
| public T | locate(T
The first string primary parameter1, T The second string primary parameter2, T The position of the search within the string parameter3)Implements org. LOCATE(string_primary, string_primary [, simple_arithmetic_expression]).
|
| protected void | |
| public T | max(String
The state field path expression path)Implements org. MAX(path).
|
| public T | maxDistinct(String
The state field path expression path)Implements org. MAX(DISTINCT path).
|
| protected void | |
| public T | min(String
The state field path expression path)Implements org. AVG(path).
|
| public T | minDistinct(String
The state field path expression path)Implements org. AVG(DISTINCT path).
|
| public T | minus(T
The expression that will have the plus sign prepended builder)Implements org. - x.
|
| public T | mod(T
The first parameter parameter1, T The second parameter parameter2)Implements org. MOD(simple_arithmetic_expression, simple_arithmetic_expression).
|
| public T | multiply(T
The right side of the multiply expression builder)Implements org. x * y.
|
| public T | nullIf(T
The first scalar expression builder1, T The second scalar expression builder2)Implements org. NULLIF(scalar_expression, scalar_expression).
|
| public T | numeric(Number
The numeric literal number)Implements org. |
| public T | numeric(String
The numeric literal number)Implements org. |
| public T | parameter(String
The named or positional input parameter parameter)Implements org. |
| public T | path(String
The state field path path expression path)Implements org. |
| public T | plus(T
The expression that will have the plus sign prepended builder)Implements org. + x.
|
| public T | size(String
The collection-valued path expression path)Implements org. SIZE(collection_valued_path_expression).
|
| public T | sqrt(T
The parameter of the builder)ABS expressionImplements org. SQRT(x).
|
| protected List | Returns: The list ofStateObjects that were added to the stackThe number of count)StateObjects to move to the listReturns a list of the |
| protected List | Returns: The list ofStateObjects that were added to the stackThe list of builders)builders is used to
determine how many StateObjects needs to be pulled out of the stackReturns a list of the |
| public T | string(String
The string literal literal)Implements org. |
| public T | sub(T
The expression that will be encapsulated builder)Implements org. (expression).
|
| public T | subtract(T
The right side of the addition expression builder)Implements org. x - y.
|
| protected void | |
| public T | sum(String
The state field path expression path)Implements org. SUM(path).
|
| public T | sumDistinct(String
The state field path expression path)Implements org. SUM(path).
|
| public T | type(String
The identification variable or the input parameter path)Implements org. TYPE(identification_variable | single_valued_object_path_expression | input_parameter).
|