Modifier and Type | Method and Description |
---|---|
Where |
Where.and(String columnName,
Operator operator,
BigDecimal value)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
|
Where |
Where.and(String columnName,
Operator operator,
Boolean value)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
|
Where |
Where.and(String columnName,
Operator operator,
Instant value)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
|
Where |
Where.and(String columnName,
Operator operator,
Long value)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
|
Where |
Where.and(String columnName,
Operator operator,
String value)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
|
Where |
Where.and(Where subWhere)
Add a new predicate to the existing object by connecting the
existing predicates to the passed argument with a logical and
operation.
|
static Where |
Where.isNotNull(String columnName)
Creates a new object with a single predicate testing whether
a column is not null.
|
static Where |
Where.isNull(String columnName)
Creates a new object with a single predicate testing whether
a column is null.
|
Where |
Where.or(String columnName,
Operator operator,
BigDecimal value)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
|
Where |
Where.or(String columnName,
Operator operator,
Boolean value)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
|
Where |
Where.or(String columnName,
Operator operator,
Instant value)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
|
Where |
Where.or(String columnName,
Operator operator,
Long value)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
|
Where |
Where.or(String columnName,
Operator operator,
String value)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
|
Where |
Where.or(Where subWhere)
Add a new predicate to the existing object by connecting the
existing predicates to the passed argument with a logical or
operation.
|
static Where |
Where.where()
Factory method equivalent to
new Where() |
static Where |
Where.where(String columnName,
Operator operator,
BigDecimal value)
Factory method equivalent to
new Where(columnName, operator, value) . |
static Where |
Where.where(String columnName,
Operator operator,
Boolean value)
Factory method equivalent to
new Where(columnName, operator, value) . |
static Where |
Where.where(String columnName,
Operator operator,
Instant value)
Factory method equivalent to
new Where(columnName, operator, value) . |
static Where |
Where.where(String columnName,
Operator operator,
Long value)
Factory method equivalent to
new Where(columnName, operator, value) . |
static Where |
Where.where(String columnName,
Operator operator,
String value)
Factory method equivalent to
new Where(columnName, operator, value) . |
static Where |
Where.where(Where subWhere)
Factory method equivalent to
new Where(subWhere) . |
Modifier and Type | Method and Description |
---|---|
Where |
Where.and(Where subWhere)
Add a new predicate to the existing object by connecting the
existing predicates to the passed argument with a logical and
operation.
|
<T> T |
KeylessDao.foldingSelect(T identity,
BiFunction<T,ENTITY,T> accumulator,
Where where)
Computes a result based on the entities found by a select statement
without realizing the entire list of found entities in memory.
|
<T> T |
KeylessDaoImpl.foldingSelect(T identity,
BiFunction<T,ENTITY,T> accumulator,
Where where) |
Where |
Where.or(Where subWhere)
Add a new predicate to the existing object by connecting the
existing predicates to the passed argument with a logical or
operation.
|
BigDecimal |
KeylessDao.runBigDecimalFunction(SqlFunction function,
String columnName,
Where where)
Computes an aggregated BigDecimal value, based on the select criteria specified
and the given SqlFunction and column name.
|
BigDecimal |
KeylessDaoImpl.runBigDecimalFunction(SqlFunction function,
String columnName,
Where where) |
BigDecimal |
SqlRunner.runBigDecimalFunction(String sql,
Where where) |
Long |
KeylessDao.runLongFunction(SqlFunction function,
String columnName,
Where where)
Computes an aggregated Long value, based on the select criteria specified
and the given SqlFunction and column name.
|
Long |
KeylessDaoImpl.runLongFunction(SqlFunction function,
String columnName,
Where where) |
Long |
SqlRunner.runLongFunction(String sql,
Where where) |
List<ENTITY> |
KeylessDao.select(Where where)
Run a select in the data store for entities matching the given where predicates.
|
String |
KeylessSqlBuilder.select(Where where) |
String |
SqlBuilder.select(Where where) |
List<ENTITY> |
KeylessDaoImpl.select(Where where) |
List<ENTITY> |
KeylessDao.select(Where where,
Order order)
Run a select in the data store for entities matching the given where predicates
returned in the order specified.
|
String |
KeylessSqlBuilder.select(Where where,
Order order) |
List<ENTITY> |
KeylessDaoImpl.select(Where where,
Order order) |
String |
KeylessSqlBuilder.selectFunction(SqlFunction function,
String columnName,
Where where) |
List<BUILDER> |
SqlRunner.selectWhere(String sql,
Supplier<BUILDER> supplier,
List<? extends ChildrenDescriptor<ENTITY,?,BUILDER,?>> childrenDescriptors,
Where where) |
static Where |
Where.where(Where subWhere)
Factory method equivalent to
new Where(subWhere) . |
Constructor and Description |
---|
Where(Where subWhere)
Creates a new
Where instance that is grouped,
that is, when the SQL where clause is generated, whatever is
inside the passed where instance will be wrapped inside
parentheses. |
Copyright © 2019. All rights reserved.