| Package | Description |
|---|---|
| com.avaje.ebean |
Core API (see Ebean and EbeanServer).
|
| com.avaje.ebean.bean |
Enhanced beans API and Support objects
|
| com.avaje.ebean.common |
Common non-public interfaces and implementation.
|
| com.avaje.ebeaninternal.api | |
| com.avaje.ebeaninternal.server.expression |
Expressions for building WHERE clauses.
|
| com.avaje.ebeaninternal.server.querydefn | |
| com.avaje.ebeaninternal.util |
Utility 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.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.contains(String propertyName,
String value)
Contains - property like %value%.
|
ExpressionList<T> |
ExpressionList.endJunction()
End a Conjunction or Disjunction returning the parent expression list.
|
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.exampleLike(Object example)
A "Query By Example" type of 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) |
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> |
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(List<?> 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.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.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.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.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 value)
Add raw expression with a single parameter.
|
ExpressionList<T> |
ExpressionList.raw(String raw,
Object[] values)
Add raw expression with an array of parameters.
|
ExpressionList<T> |
ExpressionList.startsWith(String propertyName,
String value)
Starts With - property like value%.
|
ExpressionList<T> |
Query.where()
Add Expressions to the where clause with the ability to chain on the
ExpressionList.
|
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.
|
| 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected ExpressionList<?> |
AbstractBeanCollection.filterMany |
| Modifier and Type | Method and Description |
|---|---|
ExpressionList<?> |
AbstractBeanCollection.getFilterMany() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractBeanCollection.setFilterMany(ExpressionList<?> filterMany) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SpiExpressionList<T>
Internal extension of ExpressionList.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpiQuery.setFilterMany(String prop,
ExpressionList<?> filterMany)
Set a filter to a join path.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Junction<T> |
DefaultExpressionFactory.conjunction(Query<T> query,
ExpressionList<T> parent)
Return a list of expressions that will be joined by AND's.
|
<T> Junction<T> |
DefaultExpressionFactory.disjunction(Query<T> query,
ExpressionList<T> parent)
Return a list of expressions that will be joined by OR's.
|
| Modifier and Type | Method and Description |
|---|---|
ExpressionList<T> |
DefaultOrmQuery.addHaving() |
ExpressionList<T> |
DefaultOrmQuery.addWhere() |
ExpressionList<T> |
DefaultOrmQuery.filterMany(String prop) |
ExpressionList<T> |
DefaultOrmQuery.having() |
ExpressionList<T> |
DefaultOrmQuery.where() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultOrmQuery.setFilterMany(String prop,
ExpressionList<?> filterMany) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultExpressionList<T>
Default implementation of ExpressionList.
|
class |
FilterExpressionList<T> |
| Modifier and Type | Field and Description |
|---|---|
protected ExpressionList<T> |
DefaultExpressionList.parentExprList |
| Modifier and Type | Method and Description |
|---|---|
ExpressionList<T> |
DefaultExpressionList.add(Expression expr) |
ExpressionList<T> |
DefaultExpressionList.addAll(ExpressionList<T> exprList) |
ExpressionList<T> |
DefaultExpressionList.allEq(Map<String,Object> propertyMap) |
ExpressionList<T> |
DefaultExpressionList.and(Expression expOne,
Expression expTwo) |
ExpressionList<T> |
DefaultExpressionList.between(String propertyName,
Object value1,
Object value2) |
ExpressionList<T> |
DefaultExpressionList.betweenProperties(String lowProperty,
String highProperty,
Object value) |
ExpressionList<T> |
DefaultExpressionList.contains(String propertyName,
String value) |
ExpressionList<T> |
DefaultExpressionList.endJunction() |
ExpressionList<T> |
DefaultExpressionList.endsWith(String propertyName,
String value) |
ExpressionList<T> |
DefaultExpressionList.eq(String propertyName,
Object value) |
ExpressionList<T> |
DefaultExpressionList.exampleLike(Object example) |
ExpressionList<T> |
DefaultExpressionList.filterMany(String prop) |
ExpressionList<T> |
FilterExpressionList.filterMany(String prop) |
ExpressionList<T> |
DefaultExpressionList.ge(String propertyName,
Object value) |
ExpressionList<T> |
DefaultExpressionList.gt(String propertyName,
Object value) |
ExpressionList<T> |
DefaultExpressionList.having() |
ExpressionList<T> |
FilterExpressionList.having() |
ExpressionList<T> |
DefaultExpressionList.icontains(String propertyName,
String value) |
ExpressionList<T> |
DefaultExpressionList.idEq(Object value) |
ExpressionList<T> |
FilterExpressionList.idEq(Object value) |
ExpressionList<T> |
DefaultExpressionList.idIn(List<?> idList) |
ExpressionList<T> |
FilterExpressionList.idIn(List<?> idValues) |
ExpressionList<T> |
DefaultExpressionList.iendsWith(String propertyName,
String value) |
ExpressionList<T> |
DefaultExpressionList.ieq(String propertyName,
String value) |
ExpressionList<T> |
DefaultExpressionList.iexampleLike(Object example) |
ExpressionList<T> |
DefaultExpressionList.ilike(String propertyName,
String value) |
ExpressionList<T> |
DefaultExpressionList.in(String propertyName,
Collection<?> values) |
ExpressionList<T> |
DefaultExpressionList.in(String propertyName,
Object... values) |
ExpressionList<T> |
DefaultExpressionList.in(String propertyName,
Query<?> subQuery) |
ExpressionList<T> |
DefaultExpressionList.isNotNull(String propertyName) |
ExpressionList<T> |
DefaultExpressionList.isNull(String propertyName) |
ExpressionList<T> |
DefaultExpressionList.istartsWith(String propertyName,
String value) |
ExpressionList<T> |
DefaultExpressionList.le(String propertyName,
Object value) |
ExpressionList<T> |
DefaultExpressionList.like(String propertyName,
String value) |
ExpressionList<T> |
DefaultExpressionList.lt(String propertyName,
Object value) |
ExpressionList<T> |
DefaultExpressionList.ne(String propertyName,
Object value) |
ExpressionList<T> |
DefaultExpressionList.not(Expression exp) |
ExpressionList<T> |
DefaultExpressionList.or(Expression expOne,
Expression expTwo) |
ExpressionList<T> |
DefaultExpressionList.raw(String raw) |
ExpressionList<T> |
DefaultExpressionList.raw(String raw,
Object value) |
ExpressionList<T> |
DefaultExpressionList.raw(String raw,
Object[] values) |
ExpressionList<T> |
DefaultExpressionList.startsWith(String propertyName,
String value) |
ExpressionList<T> |
DefaultExpressionList.where() |
ExpressionList<T> |
FilterExpressionList.where() |
| Modifier and Type | Method and Description |
|---|---|
ExpressionList<T> |
DefaultExpressionList.addAll(ExpressionList<T> exprList) |
| Constructor and Description |
|---|
DefaultExpressionList(Query<T> query,
ExpressionFactory expr,
ExpressionList<T> parentExprList) |
DefaultExpressionList(Query<T> query,
ExpressionFactory expr,
ExpressionList<T> parentExprList,
List<SpiExpression> list) |
DefaultExpressionList(Query<T> query,
ExpressionList<T> parentExprList) |
Copyright © 2014. All Rights Reserved.