Package | Description |
---|---|
io.ebean | |
io.ebean.bean |
Enhanced beans API and Support objects
|
Modifier and Type | Interface and Description |
---|---|
interface |
Junction<T>
Represents a Conjunction or a Disjunction.
|
Modifier and Type | Method and Description |
---|---|
ExpressionList<T> |
ExpressionList.add(Expression expr)
Add an Expression to the list.
|
ExpressionList<T> |
ExpressionList.addAll(ExpressionList<T> exprList)
Add a list of Expressions to this ExpressionList.s
|
ExpressionList<T> |
ExpressionList.allEq(Map<String,Object> propertyMap)
All Equal - Map containing property names and their values.
|
ExpressionList<T> |
ExpressionList.and(Expression expOne,
Expression expTwo)
And - join two expressions with a logical and.
|
ExpressionList<T> |
ExpressionList.arrayContains(String propertyName,
Object... values)
Array property contains entries with the given values.
|
ExpressionList<T> |
ExpressionList.arrayIsEmpty(String propertyName)
Array is empty - for the given array property.
|
ExpressionList<T> |
ExpressionList.arrayIsNotEmpty(String propertyName)
Array is not empty - for the given array property.
|
ExpressionList<T> |
ExpressionList.arrayNotContains(String propertyName,
Object... values)
Array does not contain the given values.
|
ExpressionList<T> |
ExpressionList.between(String propertyName,
Object value1,
Object value2)
Between - property between the two given values.
|
ExpressionList<T> |
ExpressionList.betweenProperties(String lowProperty,
String highProperty,
Object value)
Between - value between the two properties.
|
ExpressionList<T> |
ExpressionList.bitwiseAll(String propertyName,
long flags)
Add expression for ALL of the given bit flags to be set.
|
ExpressionList<T> |
ExpressionList.bitwiseAnd(String propertyName,
long flags,
long match)
Add bitwise AND expression of the given bit flags to compare with the match/mask.
|
ExpressionList<T> |
ExpressionList.bitwiseAny(String propertyName,
long flags)
Add expression for ANY of the given bit flags to be set.
|
ExpressionList<T> |
ExpressionList.bitwiseNot(String propertyName,
long flags)
Add expression for the given bit flags to be NOT set.
|
ExpressionList<T> |
ExpressionList.contains(String propertyName,
String value)
Contains - property like %value%.
|
ExpressionList<T> |
ExpressionList.endAnd()
End a AND junction - synonym for endJunction().
|
ExpressionList<T> |
ExpressionList.endJunction()
End a junction returning the parent expression list.
|
ExpressionList<T> |
ExpressionList.endNot()
End a NOT junction - synonym for endJunction().
|
ExpressionList<T> |
ExpressionList.endOr()
End a AND junction - synonym for endJunction().
|
ExpressionList<T> |
ExpressionList.endsWith(String propertyName,
String value)
Ends With - property like %value.
|
ExpressionList<T> |
ExpressionList.eq(String propertyName,
Object value)
Equal To - property is equal to a given value.
|
ExpressionList<T> |
ExpressionList.eqOrNull(String propertyName,
Object value)
Equal To or Null - property is equal to a given value or null.
|
ExpressionList<T> |
ExpressionList.exampleLike(Object example)
A "Query By Example" type of expression.
|
ExpressionList<T> |
ExpressionList.exists(Query<?> subQuery)
Exists expression
|
ExpressionList<T> |
Query.filterMany(String propertyName)
This applies a filter on the 'many' property list rather than the root
level objects.
|
ExpressionList<T> |
ExpressionList.filterMany(String prop)
Add some filter predicate expressions to the many property.
|
ExpressionList<T> |
ExpressionList.ge(String propertyName,
Object value)
Greater Than or Equal to - property greater than or equal to the given
value.
|
ExpressionList<T> |
ExpressionList.gt(String propertyName,
Object value)
Greater Than - property greater than the given value.
|
ExpressionList<T> |
ExpressionList.gtOrNull(String propertyName,
Object value)
Greater Than or Null - property greater than the given value or null.
|
ExpressionList<T> |
Query.having()
Add Expressions to the Having clause return the ExpressionList.
|
ExpressionList<T> |
ExpressionList.having()
Add expressions to the having clause.
|
ExpressionList<T> |
ExpressionList.icontains(String propertyName,
String value)
Case insensitive Contains - property like %value%.
|
ExpressionList<T> |
ExpressionList.idEq(Object value)
Id Equal to - ID property is equal to the value.
|
ExpressionList<T> |
ExpressionList.idIn(Collection<?> idValues)
Id IN a collection of id values.
|
ExpressionList<T> |
ExpressionList.idIn(Object... idValues)
Id IN a list of id values.
|
ExpressionList<T> |
ExpressionList.iendsWith(String propertyName,
String value)
Case insensitive Ends With - property like %value.
|
ExpressionList<T> |
ExpressionList.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).
|
ExpressionList<T> |
ExpressionList.iexampleLike(Object example)
Case insensitive version of
exampleLike(Object) |
ExpressionList<T> |
ExpressionList.ilike(String propertyName,
String value)
Case insensitive Like - property like value where the value contains the
SQL wild card characters % (percentage) and _ (underscore).
|
ExpressionList<T> |
ExpressionList.in(String propertyName,
Collection<?> values)
In - property has a value in the collection of values.
|
ExpressionList<T> |
ExpressionList.in(String propertyName,
Object... values)
In - property has a value in the array of values.
|
ExpressionList<T> |
ExpressionList.in(String propertyName,
Query<?> subQuery)
In - using a subQuery.
|
ExpressionList<T> |
ExpressionList.ine(String propertyName,
String value)
Case Insensitive Not Equal To - property not equal to the given value (typically
using a lower() function to make it case insensitive).
|
ExpressionList<T> |
ExpressionList.inOrEmpty(String propertyName,
Collection<?> values)
In where null or empty values means that no predicate is added to the query.
|
ExpressionList<T> |
ExpressionList.inPairs(Pairs pairs)
In expression using pairs of value objects.
|
ExpressionList<T> |
ExpressionList.inRange(String propertyName,
Object value1,
Object value2)
In Range - property >= value1 and property < value2.
|
ExpressionList<T> |
ExpressionList.inRangeWith(String lowProperty,
String highProperty,
Object value)
Value in Range between 2 properties.
|
ExpressionList<T> |
ExpressionList.isEmpty(String propertyName)
Is empty expression for collection properties.
|
default ExpressionList<T> |
ExpressionList.isIn(String propertyName,
Collection<?> values)
In - property has a value in the collection of values.
|
default ExpressionList<T> |
ExpressionList.isIn(String propertyName,
Object... values)
In - property has a value in the array of values.
|
default ExpressionList<T> |
ExpressionList.isIn(String propertyName,
Query<?> subQuery)
In - using a subQuery.
|
ExpressionList<T> |
ExpressionList.isNotEmpty(String propertyName)
Is not empty expression for collection properties.
|
ExpressionList<T> |
ExpressionList.isNotNull(String propertyName)
Is Not Null - property is not null.
|
ExpressionList<T> |
ExpressionList.isNull(String propertyName)
Is Null - property is null.
|
ExpressionList<T> |
ExpressionList.istartsWith(String propertyName,
String value)
Case insensitive Starts With - property like value%.
|
ExpressionList<T> |
ExpressionList.jsonBetween(String propertyName,
String path,
Object lowerValue,
Object upperValue)
Between - for the given path in a JSON document.
|
ExpressionList<T> |
ExpressionList.jsonEqualTo(String propertyName,
String path,
Object value)
Equal to expression for the value at the given path in the JSON document.
|
ExpressionList<T> |
ExpressionList.jsonExists(String propertyName,
String path)
Path exists - for the given path in a JSON document.
|
ExpressionList<T> |
ExpressionList.jsonGreaterOrEqual(String propertyName,
String path,
Object value)
Greater than or equal to - for the given path in a JSON document.
|
ExpressionList<T> |
ExpressionList.jsonGreaterThan(String propertyName,
String path,
Object value)
Greater than - for the given path in a JSON document.
|
ExpressionList<T> |
ExpressionList.jsonLessOrEqualTo(String propertyName,
String path,
Object value)
Less than or equal to - for the given path in a JSON document.
|
ExpressionList<T> |
ExpressionList.jsonLessThan(String propertyName,
String path,
Object value)
Less than - for the given path in a JSON document.
|
ExpressionList<T> |
ExpressionList.jsonNotEqualTo(String propertyName,
String path,
Object value)
Not Equal to - for the given path in a JSON document.
|
ExpressionList<T> |
ExpressionList.jsonNotExists(String propertyName,
String path)
Path does not exist - for the given path in a JSON document.
|
ExpressionList<T> |
ExpressionList.le(String propertyName,
Object value)
Less Than or Equal to - property less than or equal to the given value.
|
ExpressionList<T> |
ExpressionList.like(String propertyName,
String value)
Like - property like value where the value contains the SQL wild card
characters % (percentage) and _ (underscore).
|
ExpressionList<T> |
ExpressionList.lt(String propertyName,
Object value)
Less Than - property less than the given value.
|
ExpressionList<T> |
ExpressionList.ltOrNull(String propertyName,
Object value)
Less Than or Null - property less than the given value or null.
|
ExpressionList<T> |
ExpressionList.match(String propertyName,
String search)
Add a match expression.
|
ExpressionList<T> |
ExpressionList.match(String propertyName,
String search,
Match options)
Add a match expression with options.
|
ExpressionList<T> |
ExpressionList.multiMatch(String search,
MultiMatch options)
Add a multi-match expression using options.
|
ExpressionList<T> |
ExpressionList.multiMatch(String search,
String... properties)
Add a multi-match expression.
|
ExpressionList<T> |
ExpressionList.ne(String propertyName,
Object value)
Not Equal To - property not equal to the given value.
|
ExpressionList<T> |
ExpressionList.not(Expression exp)
Negate the expression (prefix it with NOT).
|
ExpressionList<T> |
ExpressionList.notExists(Query<?> subQuery)
Not exists expression
|
ExpressionList<T> |
ExpressionList.notIn(String propertyName,
Collection<?> values)
Not In - property has a value in the collection of values.
|
ExpressionList<T> |
ExpressionList.notIn(String propertyName,
Object... values)
Not In - property has a value in the array of values.
|
ExpressionList<T> |
ExpressionList.notIn(String propertyName,
Query<?> subQuery)
Not In - using a subQuery.
|
ExpressionList<T> |
ExpressionList.or(Expression expOne,
Expression expTwo)
Or - join two expressions with a logical or.
|
ExpressionList<T> |
ExpressionList.raw(String raw)
Add raw expression with no parameters.
|
ExpressionList<T> |
ExpressionList.raw(String raw,
Object... values)
Add raw expression with an array of parameters.
|
ExpressionList<T> |
ExpressionList.raw(String raw,
Object value)
Add raw expression with a single parameter.
|
ExpressionList<T> |
ExpressionList.rawOrEmpty(String raw,
Collection<?> values)
Only add the raw expression if the values is not null or empty.
|
ExpressionList<T> |
ExpressionList.startsWith(String propertyName,
String value)
Starts With - property like value%.
|
ExpressionList<T> |
Query.text()
Add Full text search expressions for Document store queries.
|
ExpressionList<T> |
ExpressionList.textCommonTerms(String search,
TextCommonTerms options)
Add common terms expression.
|
ExpressionList<T> |
ExpressionList.textQueryString(String search,
TextQueryString options)
Add a query string expression.
|
ExpressionList<T> |
ExpressionList.textSimple(String search,
TextSimple options)
Add a simple query string expression.
|
ExpressionList<T> |
Query.where()
Add Expressions to the where clause with the ability to chain on the
ExpressionList.
|
ExpressionList<T> |
UpdateQuery.where()
Return the query expression list to add predicates to.
|
ExpressionList<T> |
ExpressionList.where()
Add another expression to the where clause.
|
Modifier and Type | Method and Description |
---|---|
ExpressionList<T> |
ExpressionList.addAll(ExpressionList<T> exprList)
Add a list of Expressions to this ExpressionList.s
|
<T> Junction<T> |
ExpressionFactory.conjunction(Query<T> query,
ExpressionList<T> parent)
Return a list of expressions that will be joined by AND's.
|
<T> Junction<T> |
ExpressionFactory.disjunction(Query<T> query,
ExpressionList<T> parent)
Return a list of expressions that will be joined by OR's.
|
<T> Junction<T> |
ExpressionFactory.junction(Junction.Type type,
Query<T> query,
ExpressionList<T> parent)
Return a Text query junction for MUST, SHOULD or MUST NOT.
|
Modifier and Type | Method and Description |
---|---|
ExpressionList<?> |
BeanCollection.getFilterMany()
Return the filter (if any) that was used in building this collection.
|
Modifier and Type | Method and Description |
---|---|
void |
BeanCollection.setFilterMany(ExpressionList<?> filterMany)
Set the filter that was used in building this collection.
|
Copyright © 2019. All rights reserved.