Uses of Interface
io.ebean.Expression
Packages that use Expression
-
Uses of Expression in io.ebean
Subinterfaces of Expression in io.ebeanModifier and TypeInterfaceDescriptioninterface
Query by Example expression.interface
Junction<T>
Represents a Conjunction or a Disjunction.Methods in io.ebean that return ExpressionModifier and TypeMethodDescriptionstatic Expression
All Equal - Map containing property names and their values.All Equal - Map containing property names and their values.static Expression
Expr.and
(Expression expOne, Expression expTwo) And - join two expressions with a logical and.ExpressionFactory.and
(Expression expOne, Expression expTwo) And - join two expressions with a logical and.ExpressionFactory.arrayContains
(String propertyName, Object... values) Array contains all the given values.ExpressionFactory.arrayIsEmpty
(String propertyName) Array is empty - for the given array property.ExpressionFactory.arrayIsNotEmpty
(String propertyName) Array is not empty - for the given array property.ExpressionFactory.arrayNotContains
(String propertyName, Object... values) Array does not contain the given values.static Expression
Between - property between the two given values.static Expression
Between - value between two given properties.Between - property between the two given values.ExpressionFactory.betweenProperties
(String lowProperty, String highProperty, Object value) Between - value between two given properties.ExpressionFactory.bitwiseAll
(String propertyName, long flags) Add expression for ALL of the given bit flags to be set.ExpressionFactory.bitwiseAnd
(String propertyName, long flags, long match) Add bitwise AND expression of the given bit flags to compare with the match/mask.ExpressionFactory.bitwiseAny
(String propertyName, long flags) Add expression for ANY of the given bit flags to be set.static Expression
Contains - property like %value%.Contains - property like %value%.static Expression
Ends With - property like %value.Ends With - property like %value.static Expression
Equal To - property equal to the given value.Equal To - property equal to the given value.Equal To or Null - property equal to the given value or null.Exists expressionstatic Expression
Greater Than or Equal to - property greater than or equal to the given value.Greater Than or Equal to - property greater than or equal to the given value.Greater than or Equal to OR Null (>= or null
)static Expression
Greater Than - property greater than the given value.Greater Than - property greater than the given value.Greater Than Or Null - property greater than the given value or null.static Expression
Case insensitive Contains - property like %value%.Case insensitive Contains - property like %value%.static Expression
Id Equal to - ID property is equal to the value.Id Equal to - ID property is equal to the value.Id IN a list of Id values.ExpressionFactory.idIn
(Collection<?> idCollection) Id IN a collection of Id values.static Expression
Case insensitive Ends With - property like %value.Case insensitive Ends With - property like %value.static Expression
Case Insensitive Equal To - property equal to the given value (typically using a lower() function to make it case insensitive).Case Insensitive Equal To - property equal to the given value (typically using a lower() function to make it case insensitive).Case Insensitive Equal To that allows for named parameter use.static Expression
Case insensitive Like - property like value where the value contains the SQL wild card characters % (percentage) and _ (underscore).Case insensitive Like - property like value where the value contains the SQL wild card characters % (percentage) and _ (underscore).static Expression
In - using a subQuery.static Expression
In - property has a value in the array of values.static Expression
Expr.in
(String propertyName, Collection<?> values) In - property has a value in the collection of values.In - using a subQuery.In - property has a value in the array of values.ExpressionFactory.in
(String propertyName, Collection<?> values) In - property has a value in the collection of values.Case Insensitive Not Equal To - property not equal to the given value (typically using a lower() function to make it case insensitive).Case Insensitive Not Equal To that allows for named parameter use.static Expression
Expr.inOrEmpty
(String propertyName, Collection<?> values) In where null or empty values means that no predicate is added to the query.ExpressionFactory.inOrEmpty
(String propertyName, Collection<?> values) In where null or empty values means that no predicate is added to the query.In expression using pairs of value objects.static Expression
In Range -property >= value1 and property < value2
.In Range -property >= value1 and property < value2
.ExpressionFactory.inRangeWith
(String lowProperty, String highProperty, Object value) Value in Range between 2 properties.static Expression
For collection properties that are empty (have not existing elements).Is empty expression for collection properties.static Expression
Expr.isNotEmpty
(String propertyName) For collection properties that are not empty (have existing elements).ExpressionFactory.isNotEmpty
(String propertyName) Is not empty expression for collection properties.static Expression
Is Not Null - property is not null.Is Not Null - property is not null.static Expression
Is Null - property is null.Is Null - property is null.static Expression
Expr.istartsWith
(String propertyName, String value) Case insensitive Starts With - property like value%.ExpressionFactory.istartsWith
(String propertyName, String value) Case insensitive Starts With - property like value%.ExpressionFactory.jsonBetween
(String propertyName, String path, Object lowerValue, Object upperValue) Between - for the given path in a JSON document.ExpressionFactory.jsonEqualTo
(String propertyName, String path, Object val) Equal to - for the given path in a JSON document.ExpressionFactory.jsonExists
(String propertyName, String path) Path exists - for the given path in a JSON document.ExpressionFactory.jsonGreaterOrEqual
(String propertyName, String path, Object val) Greater than or equal to - for the given path in a JSON document.ExpressionFactory.jsonGreaterThan
(String propertyName, String path, Object val) Greater than - for the given path in a JSON document.ExpressionFactory.jsonLessOrEqualTo
(String propertyName, String path, Object val) Less than or equal to - for the given path in a JSON document.ExpressionFactory.jsonLessThan
(String propertyName, String path, Object val) Less than - for the given path in a JSON document.ExpressionFactory.jsonNotEqualTo
(String propertyName, String path, Object val) Not Equal to - for the given path in a JSON document.ExpressionFactory.jsonNotExists
(String propertyName, String path) Path does not exist - for the given path in a JSON document.static Expression
Less Than or Equal to - property less than or equal to the given value.Less Than or Equal to - property less than or equal to the given value.Less Than or Equal to OR Null (<= or null
)static Expression
Like - property like value where the value contains the SQL wild card characters % (percentage) and _ (underscore).ExpressionFactory.like
(String propertyName, Object value, boolean caseInsensitive, LikeType likeType) Like with support for named parameters.Like - property like value where the value contains the SQL wild card characters % (percentage) and _ (underscore).static Expression
Less Than - property less than the given value.Less Than - property less than the given value.Less Than or Null - property less than the given value or null.static Expression
Not Equal To - property not equal to the given value.Not Equal To - property not equal to the given value.static Expression
Expr.not
(Expression exp) Negate the expression (prefix it with NOT).ExpressionFactory.not
(Expression exp) Negate the expression (prefix it with NOT).Not exists expressionNot In - using a subQuery.Not In - property has a value in the array of values.ExpressionFactory.notIn
(String propertyName, Collection<?> values) Not In - property has a value in the collection of values.static Expression
Expr.or
(Expression expOne, Expression expTwo) Or - join two expressions with a logical or.ExpressionFactory.or
(Expression expOne, Expression expTwo) Or - join two expressions with a logical or.static Expression
Add raw expression with no parameters.static Expression
Add raw expression with a single parameter.static Expression
Add raw expression with an array of parameters.Add raw expression with no parameters.Add raw expression with a single parameter.Add raw expression with an array of parameters.static Expression
Expr.startsWith
(String propertyName, String value) Starts With - property like value%.ExpressionFactory.startsWith
(String propertyName, String value) Starts With - property like value%.ExpressionFactory.textCommonTerms
(String search, TextCommonTerms options) Create a text common terms expression (currently doc store/Elastic only).Create a Text Match expression (currently doc store/Elastic only).ExpressionFactory.textMultiMatch
(String query, MultiMatch options) Create a Text Multi match expression (currently doc store/Elastic only).ExpressionFactory.textQueryString
(String search, TextQueryString options) Create a text query string expression (currently doc store/Elastic only).ExpressionFactory.textSimple
(String search, TextSimple options) Create a text simple query expression (currently doc store/Elastic only).Methods in io.ebean with parameters of type ExpressionModifier and TypeMethodDescriptionExpressionList.add
(Expression expr) Add an Expression to the list.static Expression
Expr.and
(Expression expOne, Expression expTwo) And - join two expressions with a logical and.ExpressionFactory.and
(Expression expOne, Expression expTwo) And - join two expressions with a logical and.ExpressionList.and
(Expression expOne, Expression expTwo) And - join two expressions with a logical and.Query.having
(Expression addExpressionToHaving) Add an expression to the having clause returning the query.static Expression
Expr.not
(Expression exp) Negate the expression (prefix it with NOT).ExpressionFactory.not
(Expression exp) Negate the expression (prefix it with NOT).ExpressionList.not
(Expression exp) Negate the expression (prefix it with NOT).static Expression
Expr.or
(Expression expOne, Expression expTwo) Or - join two expressions with a logical or.ExpressionFactory.or
(Expression expOne, Expression expTwo) Or - join two expressions with a logical or.ExpressionList.or
(Expression expOne, Expression expTwo) Or - join two expressions with a logical or.Query.where
(Expression expression) Add a single Expression to the where clause returning the query.