Modifier and Type | Field and Description |
---|---|
static Operator |
Operator.EQUALS
An instance that represents the equality ('=') operator.
|
static Operator |
Operator.GREATER_THAN
An instance that represents the greater than ('>') operator.
|
static Operator |
Operator.GREATER_THAN_OR_EQUALS
An instance that represents the greater than or equals ('>=') operator.
|
static Operator |
Operator.LESS_THAN
An instance that represents the less than ('<') operator.
|
static Operator |
Operator.LESS_THAN_OR_EQUALS
An instance that represents the less than or equals ('<=') operator.
|
static Operator |
Operator.LIKE
An instance that represents the 'LIKE' operator to be used
for string fields.
|
static Operator |
Operator.NOT_EQUALS
An instance that represents the inequality ('<>') operator.
|
static Operator |
Operator.NOT_LIKE
An instance that represents the 'NOT LIKE' operator to be used
for string fields.
|
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.
|
<T> Where |
Where.and(String columnName,
Operator operator,
T value,
GenericColumn<T> column)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
|
static WherePredicate<BigDecimal> |
WherePredicate.forBigDecimal(String columnName,
Operator operator,
BigDecimal value) |
static WherePredicate<Boolean> |
WherePredicate.forBoolean(String columnName,
Operator operator,
Boolean value) |
static <V> WherePredicate<V> |
WherePredicate.forGeneric(String name,
Operator operator,
V value,
GenericColumn<V> column) |
static WherePredicate<Instant> |
WherePredicate.forInstant(String columnName,
Operator operator,
Instant value) |
static WherePredicate<Long> |
WherePredicate.forLong(String columnName,
Operator operator,
Long value) |
static WherePredicate<String> |
WherePredicate.forString(String columnName,
Operator operator,
String value) |
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.
|
<T> Where |
Where.or(String columnName,
Operator operator,
T value,
GenericColumn<T> column)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
|
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 <T> Where |
Where.where(String columnName,
Operator operator,
T value,
GenericColumn<T> column)
Factory method equivalent to
new Where(columnName, operator, value, column) . |
Constructor and Description |
---|
Where(String columnName,
Operator operator,
BigDecimal value)
Create a new instance of a
Where object
containing one predicate. |
Where(String columnName,
Operator operator,
Boolean value)
Create a new instance of a
Where object
containing one predicate. |
Where(String columnName,
Operator operator,
Instant value)
Create a new instance of a
Where object
containing one predicate. |
Where(String columnName,
Operator operator,
Long value)
Create a new instance of a
Where object
containing one predicate. |
Where(String columnName,
Operator operator,
String value)
Create a new instance of a
Where object
containing one predicate. |
Where(String columnName,
Operator operator,
T value,
GenericColumn<T> column)
Create a new instance of a
Where object
containing one predicate. |
WherePredicate(String columnName,
Operator operator,
T value,
org.hrorm.PreparedStatementSetter<T> setter) |
Copyright © 2019. All rights reserved.