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,
LocalDateTime 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.
|
static WherePredicate<BigDecimal> |
WherePredicate.forBigDecimal(String columnName,
Operator operator,
BigDecimal value) |
static WherePredicate<Boolean> |
WherePredicate.forBoolean(String columnName,
Operator operator,
Boolean value) |
static WherePredicate<LocalDateTime> |
WherePredicate.forLocalDateTime(String columnName,
Operator operator,
LocalDateTime 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,
LocalDateTime 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.
|
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,
LocalDateTime 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) . |
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,
LocalDateTime 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. |
WherePredicate(String columnName,
Operator operator,
T value,
org.hrorm.WherePredicate.PreparedStatementSetter<T> setter) |
Copyright © 2019. All rights reserved.