Uses of Interface
io.ebean.Expression
Packages that use Expression
-
Uses of Expression in io.ebean
Subinterfaces of Expression in io.ebeanModifier and TypeInterfaceDescriptioninterfaceQuery by Example expression.interfaceJunction<T>Represents a Conjunction or a Disjunction.Methods in io.ebean that return ExpressionModifier and TypeMethodDescriptionstatic ExpressionAll Equal - Map containing property names and their values.All Equal - Map containing property names and their values.static ExpressionExpr.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 ExpressionBetween - property between the two given values.static ExpressionBetween - 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 ExpressionContains - property like %value%.Contains - property like %value%.static ExpressionEnds With - property like %value.Ends With - property like %value.static ExpressionEqual 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 ExpressionGreater 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 ExpressionGreater 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 ExpressionCase insensitive Contains - property like %value%.Case insensitive Contains - property like %value%.static ExpressionId 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 ExpressionCase insensitive Ends With - property like %value.Case insensitive Ends With - property like %value.static ExpressionCase 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 ExpressionCase 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 ExpressionIn - using a subQuery.static ExpressionIn - property has a value in the array of values.static ExpressionExpr.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 ExpressionExpr.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 ExpressionIn 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 ExpressionFor collection properties that are empty (have not existing elements).Is empty expression for collection properties.static ExpressionExpr.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 ExpressionIs Not Null - property is not null.Is Not Null - property is not null.static ExpressionIs Null - property is null.Is Null - property is null.static ExpressionExpr.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 ExpressionLess 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 ExpressionLike - 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 ExpressionLess 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 ExpressionNot Equal To - property not equal to the given value.Not Equal To - property not equal to the given value.static ExpressionExpr.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 ExpressionExpr.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 ExpressionAdd raw expression with no parameters.static ExpressionAdd raw expression with a single parameter.static ExpressionAdd 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 ExpressionExpr.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 ExpressionExpr.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 ExpressionExpr.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 ExpressionExpr.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.