Class AbstractConditionalStateObjectBuilderWrapper
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.model.AbstractConditionalStateObjectBuilderWrapper
-
- All Implemented Interfaces:
IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
,IConditionalExpressionStateObjectBuilder
,IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
public abstract class AbstractConditionalStateObjectBuilderWrapper extends java.lang.Object implements IConditionalExpressionStateObjectBuilder
This builder wraps another builder and delegates the calls to it.- Version:
- 2.4
- Author:
- Pascal Filion
- Since:
- 2.4
-
-
Constructor Summary
Constructors Constructor Description AbstractConditionalStateObjectBuilderWrapper(IConditionalExpressionStateObjectBuilder delegate)
Creates a newAbstractConditionalStateObjectBuilderWrapper
.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.persistence.jpa.jpql.tools.model.IScalarExpressionStateObjectBuilder
case_, coalesce, concat, enumLiteral, function, function, getCaseBuilder, nullIf, numeric
-
-
-
-
Constructor Detail
-
AbstractConditionalStateObjectBuilderWrapper
public AbstractConditionalStateObjectBuilderWrapper(IConditionalExpressionStateObjectBuilder delegate)
Creates a newAbstractConditionalStateObjectBuilderWrapper
.- Parameters:
delegate
- The delegate to receive the calls from this one
-
-
Method Detail
-
abs
public IConditionalExpressionStateObjectBuilder abs(IConditionalExpressionStateObjectBuilder builder)
Creates the expressionABS(x)
.- Specified by:
abs
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
builder
- The parameter of theABS
expression- Returns:
- This This builder
-
add
public IConditionalExpressionStateObjectBuilder add(IConditionalExpressionStateObjectBuilder builder)
Creates the expressionx + y
.- Specified by:
add
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
builder
- The right side of the addition expression- Returns:
- This builder
-
all
public IConditionalExpressionStateObjectBuilder all(SimpleSelectStatementStateObject subquery)
Creates the expressionALL(subquery)
.- Specified by:
all
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
subquery
- The already constructed subquery- Returns:
- This builder
-
and
public IConditionalExpressionStateObjectBuilder and(IConditionalExpressionStateObjectBuilder builder)
Creates the expressionx AND y
.- Specified by:
and
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
builder
- The right side of the logical expression- Returns:
- This builder
-
any
public IConditionalExpressionStateObjectBuilder any(SimpleSelectStatementStateObject subquery)
Creates the expressionANY(subquery)
.- Specified by:
any
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
subquery
- The already constructed subquery- Returns:
- This builder
-
avg
public IConditionalExpressionStateObjectBuilder avg(java.lang.String path)
Creates the expressionAVG(path)
.- Specified by:
avg
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The state field path expression- Returns:
- This This builder
-
avgDistinct
public IConditionalExpressionStateObjectBuilder avgDistinct(java.lang.String path)
Creates the expressionAVG(DISTINCT path)
.- Specified by:
avgDistinct
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The state field path expression- Returns:
- This This builder
-
between
public IConditionalExpressionStateObjectBuilder between(IConditionalExpressionStateObjectBuilder lowerBoundExpression, IConditionalExpressionStateObjectBuilder upperBoundExpression)
Creates the expressionx BETWEEN y AND z
.- Specified by:
between
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
lowerBoundExpression
- The lower bound expressionupperBoundExpression
- The upper bound expression- Returns:
- This builder
-
collectionPath
public IConditionalExpressionStateObjectBuilder collectionPath(java.lang.String path)
Creates a new collection-valued path expression.- Specified by:
collectionPath
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The collection-valued path expression- Returns:
- This builder
-
commit
public void commit()
Pushes the changes created by this builder to the state object.- Specified by:
commit
in interfaceIConditionalExpressionStateObjectBuilder
-
count
public IConditionalExpressionStateObjectBuilder count(java.lang.String path)
Creates the expressionCOUNT(identification_variable | state_field_path_expression | single_valued_object_path_expression)
.- Specified by:
count
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The state field path expression- Returns:
- This This builder
-
countDistinct
public IConditionalExpressionStateObjectBuilder countDistinct(java.lang.String path)
Creates the expressionCOUNT(DISTINCT identification_variable | state_field_path_expression | single_valued_object_path_expression)
.- Specified by:
countDistinct
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The state field path expression- Returns:
- This This builder
-
currentDate
public IConditionalExpressionStateObjectBuilder currentDate()
Creates the expression representingCURRENT_DATE
.- Specified by:
currentDate
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Returns:
- This This builder
-
currentTime
public IConditionalExpressionStateObjectBuilder currentTime()
Creates the expression representingCURRENT_TIME
.- Specified by:
currentTime
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Returns:
- This This builder
-
currentTimestamp
public IConditionalExpressionStateObjectBuilder currentTimestamp()
Creates the expression representingCURRENT_TIMESTAMP
.- Specified by:
currentTimestamp
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Returns:
- This This builder
-
date
public IConditionalExpressionStateObjectBuilder date(java.lang.String jdbcDate)
Creates a new date using the JDBC syntax of a date.- Specified by:
date
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Returns:
- This This builder
-
different
public IConditionalExpressionStateObjectBuilder different(IConditionalExpressionStateObjectBuilder builder)
- Specified by:
different
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
different
public IConditionalExpressionStateObjectBuilder different(java.lang.Number number)
- Specified by:
different
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
different
public IConditionalExpressionStateObjectBuilder different(java.lang.String literal)
- Specified by:
different
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
divide
public IConditionalExpressionStateObjectBuilder divide(IConditionalExpressionStateObjectBuilder builder)
Creates the expressionx / y
.- Specified by:
divide
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
builder
- The right side of the division expression- Returns:
- This This builder
-
entityType
public IConditionalExpressionStateObjectBuilder entityType(java.lang.String entityTypeName)
Creates a new entity type literal.- Specified by:
entityType
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
entityTypeName
- The short name of the entity- Returns:
- This This builder
-
equal
public IConditionalExpressionStateObjectBuilder equal(IConditionalExpressionStateObjectBuilder builder)
- Specified by:
equal
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
equal
public IConditionalExpressionStateObjectBuilder equal(java.lang.Number number)
- Specified by:
equal
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
equal
public IConditionalExpressionStateObjectBuilder equal(java.lang.String literal)
- Specified by:
equal
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
exists
public IConditionalExpressionStateObjectBuilder exists(SimpleSelectStatementStateObject subquery)
- Specified by:
exists
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
FALSE
public IConditionalExpressionStateObjectBuilder FALSE()
- Specified by:
FALSE
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
greaterThan
public IConditionalExpressionStateObjectBuilder greaterThan(IConditionalExpressionStateObjectBuilder builder)
- Specified by:
greaterThan
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
greaterThan
public IConditionalExpressionStateObjectBuilder greaterThan(java.lang.Number number)
- Specified by:
greaterThan
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
greaterThan
public IConditionalExpressionStateObjectBuilder greaterThan(java.lang.String literal)
- Specified by:
greaterThan
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
greaterThanOrEqual
public IConditionalExpressionStateObjectBuilder greaterThanOrEqual(IConditionalExpressionStateObjectBuilder builder)
- Specified by:
greaterThanOrEqual
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
greaterThanOrEqual
public IConditionalExpressionStateObjectBuilder greaterThanOrEqual(java.lang.Number number)
- Specified by:
greaterThanOrEqual
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
greaterThanOrEqual
public IConditionalExpressionStateObjectBuilder greaterThanOrEqual(java.lang.String literal)
- Specified by:
greaterThanOrEqual
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
in
public IConditionalExpressionStateObjectBuilder in(IConditionalExpressionStateObjectBuilder... inItems)
- Specified by:
in
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
in
public IConditionalExpressionStateObjectBuilder in(SimpleSelectStatementStateObject subquery)
- Specified by:
in
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
in
public IConditionalExpressionStateObjectBuilder in(java.lang.String... inItems)
- Specified by:
in
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
index
public IConditionalExpressionStateObjectBuilder index(java.lang.String variable)
Creates the expressionINDEX(identification_variable)
.- Specified by:
index
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
variable
- The identification variable- Returns:
- This This builder
-
isEmpty
public IConditionalExpressionStateObjectBuilder isEmpty(java.lang.String path)
- Specified by:
isEmpty
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
isNotEmpty
public IConditionalExpressionStateObjectBuilder isNotEmpty(java.lang.String path)
- Specified by:
isNotEmpty
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
isNotNull
public IConditionalExpressionStateObjectBuilder isNotNull(java.lang.String path)
- Specified by:
isNotNull
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
isNull
public IConditionalExpressionStateObjectBuilder isNull(java.lang.String path)
- Specified by:
isNull
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
length
public IConditionalExpressionStateObjectBuilder length(IConditionalExpressionStateObjectBuilder builder)
Creates the expressionLENGTH(expression)
.- Specified by:
length
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
builder
- The encapsulated expression- Returns:
- This This builder
-
like
public IConditionalExpressionStateObjectBuilder like(IConditionalExpressionStateObjectBuilder patternValue)
- Specified by:
like
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
like
public IConditionalExpressionStateObjectBuilder like(IConditionalExpressionStateObjectBuilder patternValue, java.lang.String escapeCharacter)
- Specified by:
like
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
like
public IConditionalExpressionStateObjectBuilder like(java.lang.String patternValue)
- Specified by:
like
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
locate
public IConditionalExpressionStateObjectBuilder locate(IConditionalExpressionStateObjectBuilder parameter1, IConditionalExpressionStateObjectBuilder parameter2)
Creates the expressionLOCATE(string_primary, string_primary)
.- Specified by:
locate
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
parameter1
- The first string primaryparameter2
- The second string primary- Returns:
- This This builder
-
locate
public IConditionalExpressionStateObjectBuilder locate(IConditionalExpressionStateObjectBuilder parameter1, IConditionalExpressionStateObjectBuilder parameter2, IConditionalExpressionStateObjectBuilder parameter3)
Creates the expressionLOCATE(string_primary, string_primary [, simple_arithmetic_expression])
.- Specified by:
locate
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
parameter1
- The first string primaryparameter2
- The second string primaryparameter3
- The position of the search within the string- Returns:
- This This builder
-
lower
public IConditionalExpressionStateObjectBuilder lower(IConditionalExpressionStateObjectBuilder builder)
- Specified by:
lower
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
lowerThan
public IConditionalExpressionStateObjectBuilder lowerThan(IConditionalExpressionStateObjectBuilder builder)
- Specified by:
lowerThan
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
lowerThan
public IConditionalExpressionStateObjectBuilder lowerThan(java.lang.Number number)
- Specified by:
lowerThan
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
lowerThan
public IConditionalExpressionStateObjectBuilder lowerThan(java.lang.String literal)
- Specified by:
lowerThan
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
lowerThanOrEqual
public IConditionalExpressionStateObjectBuilder lowerThanOrEqual(IConditionalExpressionStateObjectBuilder builder)
- Specified by:
lowerThanOrEqual
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
lowerThanOrEqual
public IConditionalExpressionStateObjectBuilder lowerThanOrEqual(java.lang.Number number)
- Specified by:
lowerThanOrEqual
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
lowerThanOrEqual
public IConditionalExpressionStateObjectBuilder lowerThanOrEqual(java.lang.String literal)
- Specified by:
lowerThanOrEqual
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
max
public IConditionalExpressionStateObjectBuilder max(java.lang.String path)
Creates the expressionMAX(path)
.- Specified by:
max
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The state field path expression- Returns:
- This This builder
-
maxDistinct
public IConditionalExpressionStateObjectBuilder maxDistinct(java.lang.String path)
Creates the expressionMAX(DISTINCT path)
.- Specified by:
maxDistinct
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The state field path expression- Returns:
- This This builder
-
member
public IConditionalExpressionStateObjectBuilder member(java.lang.String path)
- Specified by:
member
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
memberOf
public IConditionalExpressionStateObjectBuilder memberOf(java.lang.String path)
- Specified by:
memberOf
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
min
public IConditionalExpressionStateObjectBuilder min(java.lang.String path)
Creates the expressionAVG(path)
.- Specified by:
min
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The state field path expression- Returns:
- This This builder
-
minDistinct
public IConditionalExpressionStateObjectBuilder minDistinct(java.lang.String path)
Creates the expressionAVG(DISTINCT path)
.- Specified by:
minDistinct
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The state field path expression- Returns:
- This This builder
-
minus
public IConditionalExpressionStateObjectBuilder minus(IConditionalExpressionStateObjectBuilder builder)
Creates the expression- x
.- Specified by:
minus
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
builder
- The expression that will have the plus sign prepended- Returns:
- This This builder
-
mod
public IConditionalExpressionStateObjectBuilder mod(IConditionalExpressionStateObjectBuilder parameter1, IConditionalExpressionStateObjectBuilder parameter2)
Creates the expressionMOD(simple_arithmetic_expression, simple_arithmetic_expression)
.- Specified by:
mod
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
parameter1
- The first parameterparameter2
- The second parameter- Returns:
- This This builder
-
multiply
public IConditionalExpressionStateObjectBuilder multiply(IConditionalExpressionStateObjectBuilder builder)
Creates the expressionx * y
.- Specified by:
multiply
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
builder
- The right side of the multiply expression- Returns:
- This This builder
-
notBetween
public IConditionalExpressionStateObjectBuilder notBetween(IConditionalExpressionStateObjectBuilder lowerBoundExpression, IConditionalExpressionStateObjectBuilder upperBoundExpression)
- Specified by:
notBetween
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
notExists
public IConditionalExpressionStateObjectBuilder notExists(SimpleSelectStatementStateObject subquery)
- Specified by:
notExists
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
notIn
public IConditionalExpressionStateObjectBuilder notIn(IConditionalExpressionStateObjectBuilder... inItems)
- Specified by:
notIn
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
notIn
public IConditionalExpressionStateObjectBuilder notIn(SimpleSelectStatementStateObject subquery)
- Specified by:
notIn
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
notIn
public IConditionalExpressionStateObjectBuilder notIn(java.lang.String... inItems)
- Specified by:
notIn
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
notLike
public IConditionalExpressionStateObjectBuilder notLike(IConditionalExpressionStateObjectBuilder builder)
- Specified by:
notLike
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
notLike
public IConditionalExpressionStateObjectBuilder notLike(IConditionalExpressionStateObjectBuilder builder, java.lang.String escapeCharacter)
- Specified by:
notLike
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
notLike
public IConditionalExpressionStateObjectBuilder notLike(java.lang.String patternValue)
- Specified by:
notLike
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
notMember
public IConditionalExpressionStateObjectBuilder notMember(java.lang.String path)
- Specified by:
notMember
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
notMemberOf
public IConditionalExpressionStateObjectBuilder notMemberOf(java.lang.String path)
- Specified by:
notMemberOf
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
NULL
public IConditionalExpressionStateObjectBuilder NULL()
- Specified by:
NULL
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
numeric
public IConditionalExpressionStateObjectBuilder numeric(java.lang.Number numeric)
Creates the numeric literal.- Specified by:
numeric
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
numeric
- The numeric literal- Returns:
- This This builder
-
or
public IConditionalExpressionStateObjectBuilder or(IConditionalExpressionStateObjectBuilder builder)
- Specified by:
or
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
parameter
public IConditionalExpressionStateObjectBuilder parameter(java.lang.String parameter)
Creates the input parameter.- Specified by:
parameter
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
parameter
- The named or positional input parameter- Returns:
- This This builder
-
path
public IConditionalExpressionStateObjectBuilder path(java.lang.String path)
Creates a new state field path expression.- Specified by:
path
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The state field path path expression- Returns:
- This This builder
-
plus
public IConditionalExpressionStateObjectBuilder plus(IConditionalExpressionStateObjectBuilder builder)
Creates the expression+ x
.- Specified by:
plus
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
builder
- The expression that will have the plus sign prepended- Returns:
- This This builder
-
size
public IConditionalExpressionStateObjectBuilder size(java.lang.String path)
Creates the expressionSIZE(collection_valued_path_expression)
.- Specified by:
size
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The collection-valued path expression- Returns:
- This This builder
-
some
public IConditionalExpressionStateObjectBuilder some(SimpleSelectStatementStateObject subquery)
- Specified by:
some
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
sqrt
public IConditionalExpressionStateObjectBuilder sqrt(IConditionalExpressionStateObjectBuilder builder)
Creates the expressionSQRT(x)
.- Specified by:
sqrt
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
builder
- The parameter of theABS
expression- Returns:
- This This builder
-
string
public IConditionalExpressionStateObjectBuilder string(java.lang.String literal)
Creates a new string literal.- Specified by:
string
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
literal
- The string literal- Returns:
- This This builder
-
sub
public IConditionalExpressionStateObjectBuilder sub(IConditionalExpressionStateObjectBuilder builder)
Creates an encapsulated expression:(expression)
.- Specified by:
sub
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
builder
- The expression that will be encapsulated- Returns:
- This This builder
-
sub
public IConditionalExpressionStateObjectBuilder sub(StateObject stateObject)
- Specified by:
sub
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
substring
public IConditionalExpressionStateObjectBuilder substring(IConditionalExpressionStateObjectBuilder parameter1, IConditionalExpressionStateObjectBuilder parameter2, IConditionalExpressionStateObjectBuilder parameter3)
- Specified by:
substring
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
subtract
public IConditionalExpressionStateObjectBuilder subtract(IConditionalExpressionStateObjectBuilder builder)
Creates the expressionx - y
.- Specified by:
subtract
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
builder
- The right side of the addition expression- Returns:
- This This builder
-
sum
public IConditionalExpressionStateObjectBuilder sum(java.lang.String path)
Creates the expressionSUM(path)
.- Specified by:
sum
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The state field path expression- Returns:
- This This builder
-
sumDistinct
public IConditionalExpressionStateObjectBuilder sumDistinct(java.lang.String path)
Creates the expressionSUM(path)
.- Specified by:
sumDistinct
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The state field path expression- Returns:
- This This builder
-
trim
public IConditionalExpressionStateObjectBuilder trim(TrimExpression.Specification specification, IConditionalExpressionStateObjectBuilder builder)
- Specified by:
trim
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
trim
public IConditionalExpressionStateObjectBuilder trim(TrimExpression.Specification specification, java.lang.String trimCharacter, IConditionalExpressionStateObjectBuilder builder)
- Specified by:
trim
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
TRUE
public IConditionalExpressionStateObjectBuilder TRUE()
- Specified by:
TRUE
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
type
public IConditionalExpressionStateObjectBuilder type(java.lang.String path)
Creates the expressionTYPE(identification_variable | single_valued_object_path_expression | input_parameter)
.- Specified by:
type
in interfaceIScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
path
- The identification variable or the input parameter- Returns:
- This This builder
-
upper
public IConditionalExpressionStateObjectBuilder upper(IConditionalExpressionStateObjectBuilder builder)
- Specified by:
upper
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
-
variable
public IConditionalExpressionStateObjectBuilder variable(java.lang.String variable)
Creates the expression representing an identification variable.- Specified by:
variable
in interfaceIAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
- Parameters:
variable
- The identification variable- Returns:
- This builder
-
-