Class DefaultExpressionFactory
- java.lang.Object
-
- io.ebeaninternal.server.expression.DefaultExpressionFactory
-
- All Implemented Interfaces:
ExpressionFactory
,SpiExpressionFactory
public class DefaultExpressionFactory extends Object implements SpiExpressionFactory
Default Expression factory for creating standard expressions.
-
-
Constructor Summary
Constructors Constructor Description DefaultExpressionFactory(boolean equalsWithNullAsNoop, boolean nativeIlike)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
allEq(Map<String,Object> propertyMap)
All Equal - Map containing property names and their values.Expression
and(Expression expOne, Expression expTwo)
And - join two expressions with a logical and.Expression
arrayContains(String propertyName, Object... values)
Array contains all the given values.Expression
arrayIsEmpty(String propertyName)
Array is empty - for the given array property.Expression
arrayIsNotEmpty(String propertyName)
Array is not empty - for the given array property.Expression
arrayNotContains(String propertyName, Object... values)
Array does not contain the given values.Expression
between(String propertyName, Object value1, Object value2)
Between - property between the two given values.Expression
betweenProperties(String lowProperty, String highProperty, Object value)
Between - value between two given properties.Expression
bitwiseAll(String propertyName, long flags)
Add expression for ALL of the given bit flags to be set.Expression
bitwiseAnd(String propertyName, long flags, long match)
Add bitwise AND expression of the given bit flags to compare with the match/mask.Expression
bitwiseAny(String propertyName, long flags)
Add expression for ANY of the given bit flags to be set.<T> Junction<T>
conjunction(Query<T> query)
Return a list of expressions that will be joined by AND's.<T> Junction<T>
conjunction(Query<T> query, ExpressionList<T> parent)
Return a list of expressions that will be joined by AND's.Expression
contains(String propertyName, String value)
Contains - property like %value%.ExpressionFactory
createExpressionFactory()
Create another expression factory with a given sub path.<T> Junction<T>
disjunction(Query<T> query)
Return a list of expressions that will be joined by OR's.<T> Junction<T>
disjunction(Query<T> query, ExpressionList<T> parent)
Return a list of expressions that will be joined by OR's.Expression
endsWith(String propertyName, String value)
Ends With - property like %value.Expression
eq(String propertyName, Object value)
Equal To - property equal to the given value.Expression
eqOrNull(String propertyName, Object value)
Equal To or Null - property equal to the given value or null.ExampleExpression
exampleLike(Object example)
Create the query by Example expression which is case sensitive and using LikeType.RAW (you need to add you own wildcards % and _).ExampleExpression
exampleLike(Object example, boolean caseInsensitive, LikeType likeType)
Create the query by Example expression specifying more options.Expression
exists(Query<?> subQuery)
Exists subqueryExpression
ge(String propertyName, Object value)
Greater Than or Equal to - property greater than or equal to the given value.String
getLang()
Expression
gt(String propertyName, Object value)
Greater Than - property greater than the given value.Expression
gtOrNull(String propertyName, Object value)
Greater Than or null - property greater than the given value or null.Expression
icontains(String propertyName, String value)
Case insensitive Contains - property like %value%.Expression
idEq(Object value)
Id Equal to - ID property is equal to the value.Expression
idIn(Object... idValues)
Id IN a list of id values.Expression
idIn(Collection<?> idCollection)
Id IN a collection of id values.Expression
iendsWith(String propertyName, String value)
Case insensitive Ends With - property like %value.Expression
ieq(String propertyName, String value)
Case Insensitive Equal To - property equal to the given value (typically using a lower() function to make it case insensitive).Expression
ieqObject(String propertyName, Object value)
Create for named parameter use (and without support for equalsWithNullAsNoop).ExampleExpression
iexampleLike(Object example)
Case insensitiveexampleLike(Object)
Expression
ilike(String propertyName, String value)
Case insensitive Like - property like value where the value contains the SQL wild card characters % (percentage) and _ (underscore).Expression
in(String propertyName, Query<?> subQuery)
In - using a subQuery.Expression
in(String propertyName, Object[] values)
In - property has a value in the array of values.Expression
in(String propertyName, Collection<?> values)
In - property has a value in the collection of values.Expression
ine(String propertyName, String value)
Case Insensitive Equal To - property equal to the given value (typically using a lower() function to make it case insensitive).Expression
ineObject(String propertyName, Object value)
Create for named parameter use (and without support for equalsWithNullAsNoop).Expression
inOrEmpty(String propertyName, Collection<?> values)
In where null or empty values means that no predicate is added to the query.Expression
inPairs(Pairs pairs)
In - property has a value in the collection of values.Expression
inRange(String propertyName, Object value1, Object value2)
Between - property between the two given values.Expression
inRangeWith(String lowProperty, String highProperty, Object value)
Value in Range between 2 properties.Expression
isEmpty(String propertyName)
Is empty expression for collection properties.Expression
isNotEmpty(String propertyName)
Is not empty expression for collection properties.Expression
isNotNull(String propertyName)
Is Not Null - property is not null.Expression
isNull(String propertyName)
Is Null - property is null.Expression
istartsWith(String propertyName, String value)
Case insensitive Starts With - property like value%.Expression
jsonBetween(String propertyName, String path, Object lowerValue, Object upperValue)
Between - for the given path in a JSON document.Expression
jsonEqualTo(String propertyName, String path, Object value)
Equal to - for the given path in a JSON document.Expression
jsonExists(String propertyName, String path)
Path exists - for the given path in a JSON document.Expression
jsonGreaterOrEqual(String propertyName, String path, Object value)
Greater than or equal to - for the given path in a JSON document.Expression
jsonGreaterThan(String propertyName, String path, Object value)
Greater than - for the given path in a JSON document.Expression
jsonLessOrEqualTo(String propertyName, String path, Object value)
Less than or equal to - for the given path in a JSON document.Expression
jsonLessThan(String propertyName, String path, Object value)
Less than - for the given path in a JSON document.Expression
jsonNotEqualTo(String propertyName, String path, Object value)
Not Equal to - for the given path in a JSON document.Expression
jsonNotExists(String propertyName, String path)
Path does not exist - for the given path in a JSON document.<T> Junction<T>
junction(Junction.Type type, Query<T> query)
Return a list of expressions that are wrapped by NOT.<T> Junction<T>
junction(Junction.Type type, Query<T> query, ExpressionList<T> parent)
Create and return a Full text junction (Must, Must Not or Should).Expression
le(String propertyName, Object value)
Less Than or Equal to - property less than or equal to the given value.Expression
like(String propertyName, Object value, boolean caseInsensitive, LikeType likeType)
Like with support for named parameters.Expression
like(String propertyName, String value)
Like - property like value where the value contains the SQL wild card characters % (percentage) and _ (underscore).Expression
lt(String propertyName, Object value)
Less Than - property less than the given value.Expression
ltOrNull(String propertyName, Object value)
Less Than or null - property less than the given value or null.Expression
ne(String propertyName, Object value)
Not Equal To - property not equal to the given value.Expression
not(Expression exp)
Negate the expression (prefix it with NOT).Expression
notExists(Query<?> subQuery)
Not exists subqueryExpression
notIn(String propertyName, Query<?> subQuery)
In - using a subQuery.Expression
notIn(String propertyName, Object[] values)
In - property has a value in the array of values.Expression
notIn(String propertyName, Collection<?> values)
Not In - property has a value in the collection of values.Expression
or(Expression expOne, Expression expTwo)
Or - join two expressions with a logical or.Expression
raw(String raw)
Add raw expression with no parameters.Expression
raw(String raw, Object value)
Add raw expression with a single parameter.Expression
raw(String raw, Object[] values)
Add raw expression with an array of parameters.Expression
startsWith(String propertyName, String value)
Starts With - property like value%.Expression
textCommonTerms(String search, TextCommonTerms options)
Create a text common terms expression (currently doc store/Elastic only).Expression
textMatch(String propertyName, String search, Match options)
Create a Text Match expression (currently doc store/Elastic only).Expression
textMultiMatch(String query, MultiMatch options)
Create a Text Multi match expression (currently doc store/Elastic only).Expression
textQueryString(String search, TextQueryString options)
Create a text query string expression (currently doc store/Elastic only).Expression
textSimple(String search, TextSimple options)
Create a text simple query expression (currently doc store/Elastic only).<T> void
where(ExpressionList<T> list, String expressions, Object[] params)
Add the expressions to the given expression list.
-
-
-
Constructor Detail
-
DefaultExpressionFactory
public DefaultExpressionFactory(boolean equalsWithNullAsNoop, boolean nativeIlike)
-
-
Method Detail
-
createExpressionFactory
public ExpressionFactory createExpressionFactory()
Description copied from interface:SpiExpressionFactory
Create another expression factory with a given sub path.- Specified by:
createExpressionFactory
in interfaceSpiExpressionFactory
-
textMatch
public Expression textMatch(String propertyName, String search, Match options)
Description copied from interface:ExpressionFactory
Create a Text Match expression (currently doc store/Elastic only).- Specified by:
textMatch
in interfaceExpressionFactory
-
textMultiMatch
public Expression textMultiMatch(String query, MultiMatch options)
Description copied from interface:ExpressionFactory
Create a Text Multi match expression (currently doc store/Elastic only).- Specified by:
textMultiMatch
in interfaceExpressionFactory
-
textSimple
public Expression textSimple(String search, TextSimple options)
Description copied from interface:ExpressionFactory
Create a text simple query expression (currently doc store/Elastic only).- Specified by:
textSimple
in interfaceExpressionFactory
-
textQueryString
public Expression textQueryString(String search, TextQueryString options)
Description copied from interface:ExpressionFactory
Create a text query string expression (currently doc store/Elastic only).- Specified by:
textQueryString
in interfaceExpressionFactory
-
textCommonTerms
public Expression textCommonTerms(String search, TextCommonTerms options)
Description copied from interface:ExpressionFactory
Create a text common terms expression (currently doc store/Elastic only).- Specified by:
textCommonTerms
in interfaceExpressionFactory
-
jsonExists
public Expression jsonExists(String propertyName, String path)
Description copied from interface:ExpressionFactory
Path exists - for the given path in a JSON document.- Specified by:
jsonExists
in interfaceExpressionFactory
-
jsonNotExists
public Expression jsonNotExists(String propertyName, String path)
Description copied from interface:ExpressionFactory
Path does not exist - for the given path in a JSON document.- Specified by:
jsonNotExists
in interfaceExpressionFactory
-
jsonEqualTo
public Expression jsonEqualTo(String propertyName, String path, Object value)
Description copied from interface:ExpressionFactory
Equal to - for the given path in a JSON document.- Specified by:
jsonEqualTo
in interfaceExpressionFactory
-
jsonNotEqualTo
public Expression jsonNotEqualTo(String propertyName, String path, Object value)
Description copied from interface:ExpressionFactory
Not Equal to - for the given path in a JSON document.- Specified by:
jsonNotEqualTo
in interfaceExpressionFactory
-
jsonGreaterThan
public Expression jsonGreaterThan(String propertyName, String path, Object value)
Description copied from interface:ExpressionFactory
Greater than - for the given path in a JSON document.- Specified by:
jsonGreaterThan
in interfaceExpressionFactory
-
jsonGreaterOrEqual
public Expression jsonGreaterOrEqual(String propertyName, String path, Object value)
Description copied from interface:ExpressionFactory
Greater than or equal to - for the given path in a JSON document.- Specified by:
jsonGreaterOrEqual
in interfaceExpressionFactory
-
jsonLessThan
public Expression jsonLessThan(String propertyName, String path, Object value)
Description copied from interface:ExpressionFactory
Less than - for the given path in a JSON document.- Specified by:
jsonLessThan
in interfaceExpressionFactory
-
jsonLessOrEqualTo
public Expression jsonLessOrEqualTo(String propertyName, String path, Object value)
Description copied from interface:ExpressionFactory
Less than or equal to - for the given path in a JSON document.- Specified by:
jsonLessOrEqualTo
in interfaceExpressionFactory
-
jsonBetween
public Expression jsonBetween(String propertyName, String path, Object lowerValue, Object upperValue)
Description copied from interface:ExpressionFactory
Between - for the given path in a JSON document.- Specified by:
jsonBetween
in interfaceExpressionFactory
-
arrayContains
public Expression arrayContains(String propertyName, Object... values)
Description copied from interface:ExpressionFactory
Array contains all the given values.Array support is effectively limited to Postgres at this time.
- Specified by:
arrayContains
in interfaceExpressionFactory
-
arrayNotContains
public Expression arrayNotContains(String propertyName, Object... values)
Description copied from interface:ExpressionFactory
Array does not contain the given values.Array support is effectively limited to Postgres at this time.
- Specified by:
arrayNotContains
in interfaceExpressionFactory
-
arrayIsEmpty
public Expression arrayIsEmpty(String propertyName)
Description copied from interface:ExpressionFactory
Array is empty - for the given array property.Array support is effectively limited to Postgres at this time.
- Specified by:
arrayIsEmpty
in interfaceExpressionFactory
-
arrayIsNotEmpty
public Expression arrayIsNotEmpty(String propertyName)
Description copied from interface:ExpressionFactory
Array is not empty - for the given array property.Array support is effectively limited to Postgres at this time.
- Specified by:
arrayIsNotEmpty
in interfaceExpressionFactory
-
bitwiseAny
public Expression bitwiseAny(String propertyName, long flags)
Description copied from interface:ExpressionFactory
Add expression for ANY of the given bit flags to be set.- Specified by:
bitwiseAny
in interfaceExpressionFactory
- Parameters:
propertyName
- The property that holds the flags valueflags
- The flags we are looking for
-
bitwiseAll
public Expression bitwiseAll(String propertyName, long flags)
Description copied from interface:ExpressionFactory
Add expression for ALL of the given bit flags to be set.- Specified by:
bitwiseAll
in interfaceExpressionFactory
- Parameters:
propertyName
- The property that holds the flags valueflags
- The flags we are looking for
-
bitwiseAnd
public Expression bitwiseAnd(String propertyName, long flags, long match)
Description copied from interface:ExpressionFactory
Add bitwise AND expression of the given bit flags to compare with the match/mask.- Specified by:
bitwiseAnd
in interfaceExpressionFactory
- Parameters:
propertyName
- The property that holds the flags valueflags
- The flags we are looking for
-
where
public <T> void where(ExpressionList<T> list, String expressions, Object[] params)
Description copied from interface:ExpressionFactory
Add the expressions to the given expression list.- Specified by:
where
in interfaceExpressionFactory
- Parameters:
list
- The expression list to add the expressions toexpressions
- The expressions that are parsedparams
- Bind parameters to match ? or ?1 bind positions.
-
eq
public Expression eq(String propertyName, Object value)
Equal To - property equal to the given value.- Specified by:
eq
in interfaceExpressionFactory
-
eqOrNull
public Expression eqOrNull(String propertyName, Object value)
Description copied from interface:ExpressionFactory
Equal To or Null - property equal to the given value or null.- Specified by:
eqOrNull
in interfaceExpressionFactory
-
ne
public Expression ne(String propertyName, Object value)
Not Equal To - property not equal to the given value.- Specified by:
ne
in interfaceExpressionFactory
-
ieq
public Expression ieq(String propertyName, String value)
Case Insensitive Equal To - property equal to the given value (typically using a lower() function to make it case insensitive).- Specified by:
ieq
in interfaceExpressionFactory
-
ine
public Expression ine(String propertyName, String value)
Case Insensitive Equal To - property equal to the given value (typically using a lower() function to make it case insensitive).- Specified by:
ine
in interfaceExpressionFactory
-
ieqObject
public Expression ieqObject(String propertyName, Object value)
Create for named parameter use (and without support for equalsWithNullAsNoop).- Specified by:
ieqObject
in interfaceExpressionFactory
-
ineObject
public Expression ineObject(String propertyName, Object value)
Create for named parameter use (and without support for equalsWithNullAsNoop).- Specified by:
ineObject
in interfaceExpressionFactory
-
inRange
public Expression inRange(String propertyName, Object value1, Object value2)
Between - property between the two given values.- Specified by:
inRange
in interfaceExpressionFactory
-
inRangeWith
public Expression inRangeWith(String lowProperty, String highProperty, Object value)
Description copied from interface:ExpressionFactory
Value in Range between 2 properties..startDate.inRangeWith(endDate, now) // which equates to startDate <= now and (endDate > now or endDate is null)
This is a convenience expression combining a number of simple expressions. The most common use of this could be called "effective dating" where 2 date or timestamp columns represent the date range in which
- Specified by:
inRangeWith
in interfaceExpressionFactory
-
between
public Expression between(String propertyName, Object value1, Object value2)
Between - property between the two given values.- Specified by:
between
in interfaceExpressionFactory
-
betweenProperties
public Expression betweenProperties(String lowProperty, String highProperty, Object value)
Between - value between two given properties.- Specified by:
betweenProperties
in interfaceExpressionFactory
-
gt
public Expression gt(String propertyName, Object value)
Greater Than - property greater than the given value.- Specified by:
gt
in interfaceExpressionFactory
-
gtOrNull
public Expression gtOrNull(String propertyName, Object value)
Greater Than or null - property greater than the given value or null.- Specified by:
gtOrNull
in interfaceExpressionFactory
-
ge
public Expression ge(String propertyName, Object value)
Greater Than or Equal to - property greater than or equal to the given value.- Specified by:
ge
in interfaceExpressionFactory
-
ltOrNull
public Expression ltOrNull(String propertyName, Object value)
Less Than or null - property less than the given value or null.- Specified by:
ltOrNull
in interfaceExpressionFactory
-
lt
public Expression lt(String propertyName, Object value)
Less Than - property less than the given value.- Specified by:
lt
in interfaceExpressionFactory
-
le
public Expression le(String propertyName, Object value)
Less Than or Equal to - property less than or equal to the given value.- Specified by:
le
in interfaceExpressionFactory
-
isNull
public Expression isNull(String propertyName)
Is Null - property is null.- Specified by:
isNull
in interfaceExpressionFactory
-
isNotNull
public Expression isNotNull(String propertyName)
Is Not Null - property is not null.- Specified by:
isNotNull
in interfaceExpressionFactory
-
iexampleLike
public ExampleExpression iexampleLike(Object example)
Case insensitiveexampleLike(Object)
- Specified by:
iexampleLike
in interfaceExpressionFactory
-
exampleLike
public ExampleExpression exampleLike(Object example)
Create the query by Example expression which is case sensitive and using LikeType.RAW (you need to add you own wildcards % and _).- Specified by:
exampleLike
in interfaceExpressionFactory
-
exampleLike
public ExampleExpression exampleLike(Object example, boolean caseInsensitive, LikeType likeType)
Create the query by Example expression specifying more options.- Specified by:
exampleLike
in interfaceExpressionFactory
-
like
public Expression like(String propertyName, Object value, boolean caseInsensitive, LikeType likeType)
Description copied from interface:ExpressionFactory
Like with support for named parameters.- Specified by:
like
in interfaceExpressionFactory
-
like
public Expression like(String propertyName, String value)
Like - property like value where the value contains the SQL wild card characters % (percentage) and _ (underscore).- Specified by:
like
in interfaceExpressionFactory
-
ilike
public Expression ilike(String propertyName, String value)
Case insensitive Like - property like value where the value contains the SQL wild card characters % (percentage) and _ (underscore). Typically uses a lower() function to make the expression case insensitive.- Specified by:
ilike
in interfaceExpressionFactory
-
startsWith
public Expression startsWith(String propertyName, String value)
Starts With - property like value%.- Specified by:
startsWith
in interfaceExpressionFactory
-
istartsWith
public Expression istartsWith(String propertyName, String value)
Case insensitive Starts With - property like value%. Typically uses a lower() function to make the expression case insensitive.- Specified by:
istartsWith
in interfaceExpressionFactory
-
endsWith
public Expression endsWith(String propertyName, String value)
Ends With - property like %value.- Specified by:
endsWith
in interfaceExpressionFactory
-
iendsWith
public Expression iendsWith(String propertyName, String value)
Case insensitive Ends With - property like %value. Typically uses a lower() function to make the expression case insensitive.- Specified by:
iendsWith
in interfaceExpressionFactory
-
contains
public Expression contains(String propertyName, String value)
Contains - property like %value%.- Specified by:
contains
in interfaceExpressionFactory
-
icontains
public Expression icontains(String propertyName, String value)
Case insensitive Contains - property like %value%. Typically uses a lower() function to make the expression case insensitive.- Specified by:
icontains
in interfaceExpressionFactory
-
inPairs
public Expression inPairs(Pairs pairs)
In - property has a value in the collection of values.- Specified by:
inPairs
in interfaceExpressionFactory
-
in
public Expression in(String propertyName, Object[] values)
In - property has a value in the array of values.- Specified by:
in
in interfaceExpressionFactory
-
in
public Expression in(String propertyName, Query<?> subQuery)
In - using a subQuery.- Specified by:
in
in interfaceExpressionFactory
-
in
public Expression in(String propertyName, Collection<?> values)
In - property has a value in the collection of values.- Specified by:
in
in interfaceExpressionFactory
-
inOrEmpty
public Expression inOrEmpty(String propertyName, Collection<?> values)
In where null or empty values means that no predicate is added to the query.That is, only add the IN predicate if the values are not null or empty.
- Specified by:
inOrEmpty
in interfaceExpressionFactory
-
notIn
public Expression notIn(String propertyName, Object[] values)
In - property has a value in the array of values.- Specified by:
notIn
in interfaceExpressionFactory
-
notIn
public Expression notIn(String propertyName, Collection<?> values)
Not In - property has a value in the collection of values.- Specified by:
notIn
in interfaceExpressionFactory
-
notIn
public Expression notIn(String propertyName, Query<?> subQuery)
In - using a subQuery.- Specified by:
notIn
in interfaceExpressionFactory
-
exists
public Expression exists(Query<?> subQuery)
Exists subquery- Specified by:
exists
in interfaceExpressionFactory
-
notExists
public Expression notExists(Query<?> subQuery)
Not exists subquery- Specified by:
notExists
in interfaceExpressionFactory
-
isEmpty
public Expression isEmpty(String propertyName)
Description copied from interface:ExpressionFactory
Is empty expression for collection properties.- Specified by:
isEmpty
in interfaceExpressionFactory
-
isNotEmpty
public Expression isNotEmpty(String propertyName)
Description copied from interface:ExpressionFactory
Is not empty expression for collection properties.- Specified by:
isNotEmpty
in interfaceExpressionFactory
-
idEq
public Expression idEq(Object value)
Id Equal to - ID property is equal to the value.- Specified by:
idEq
in interfaceExpressionFactory
-
idIn
public Expression idIn(Collection<?> idCollection)
Id IN a collection of id values.- Specified by:
idIn
in interfaceExpressionFactory
-
idIn
public Expression idIn(Object... idValues)
Id IN a list of id values.- Specified by:
idIn
in interfaceExpressionFactory
-
allEq
public Expression allEq(Map<String,Object> propertyMap)
All Equal - Map containing property names and their values.Expression where all the property names in the map are equal to the corresponding value.
- Specified by:
allEq
in interfaceExpressionFactory
- Parameters:
propertyMap
- a map keyed by property names.
-
raw
public Expression raw(String raw, Object value)
Add raw expression with a single parameter.The raw expression should contain a single ? at the location of the parameter.
- Specified by:
raw
in interfaceExpressionFactory
-
raw
public Expression raw(String raw, Object[] values)
Add raw expression with an array of parameters.The raw expression should contain the same number of ? as there are parameters.
- Specified by:
raw
in interfaceExpressionFactory
-
raw
public Expression raw(String raw)
Add raw expression with no parameters.- Specified by:
raw
in interfaceExpressionFactory
-
and
public Expression and(Expression expOne, Expression expTwo)
And - join two expressions with a logical and.- Specified by:
and
in interfaceExpressionFactory
-
or
public Expression or(Expression expOne, Expression expTwo)
Or - join two expressions with a logical or.- Specified by:
or
in interfaceExpressionFactory
-
not
public Expression not(Expression exp)
Negate the expression (prefix it with NOT).- Specified by:
not
in interfaceExpressionFactory
-
conjunction
public <T> Junction<T> conjunction(Query<T> query)
Return a list of expressions that will be joined by AND's.- Specified by:
conjunction
in interfaceExpressionFactory
-
disjunction
public <T> Junction<T> disjunction(Query<T> query)
Return a list of expressions that will be joined by OR's.- Specified by:
disjunction
in interfaceExpressionFactory
-
conjunction
public <T> Junction<T> conjunction(Query<T> query, ExpressionList<T> parent)
Return a list of expressions that will be joined by AND's.- Specified by:
conjunction
in interfaceExpressionFactory
-
disjunction
public <T> Junction<T> disjunction(Query<T> query, ExpressionList<T> parent)
Return a list of expressions that will be joined by OR's.- Specified by:
disjunction
in interfaceExpressionFactory
-
junction
public <T> Junction<T> junction(Junction.Type type, Query<T> query)
Return a list of expressions that are wrapped by NOT.
-
junction
public <T> Junction<T> junction(Junction.Type type, Query<T> query, ExpressionList<T> parent)
Create and return a Full text junction (Must, Must Not or Should).- Specified by:
junction
in interfaceExpressionFactory
-
-