public class Where extends Object implements Iterable<WherePredicate>, StatementPopulator
Constructor and Description |
---|
Where() |
Where(String columnName,
Operator operator,
BigDecimal value) |
Where(String columnName,
Operator operator,
Boolean value) |
Where(String columnName,
Operator operator,
LocalDateTime value) |
Where(String columnName,
Operator operator,
Long value) |
Where(String columnName,
Operator operator,
String value) |
Where(Where subWhere) |
Where(WherePredicate atom) |
Modifier and Type | Method and Description |
---|---|
Where |
and(String columnName,
Operator operator,
BigDecimal value) |
Where |
and(String columnName,
Operator operator,
Boolean value) |
Where |
and(String columnName,
Operator operator,
LocalDateTime value) |
Where |
and(String columnName,
Operator operator,
Long value) |
Where |
and(String columnName,
Operator operator,
String value) |
Where |
and(Where where) |
org.hrorm.WherePredicateTree.WherePredicateNode |
getRootNode() |
static Where |
isNotNull(String columnName) |
static Where |
isNull(String columnName) |
Iterator<WherePredicate> |
iterator() |
Where |
or(String columnName,
Operator operator,
BigDecimal value) |
Where |
or(String columnName,
Operator operator,
Boolean value) |
Where |
or(String columnName,
Operator operator,
LocalDateTime value) |
Where |
or(String columnName,
Operator operator,
Long value) |
Where |
or(String columnName,
Operator operator,
String value) |
void |
populate(PreparedStatement preparedStatement) |
String |
render() |
static Where |
where() |
static Where |
where(String columnName,
Operator operator,
BigDecimal value) |
static Where |
where(String columnName,
Operator operator,
Boolean value) |
static Where |
where(String columnName,
Operator operator,
LocalDateTime value) |
static Where |
where(String columnName,
Operator operator,
Long value) |
static Where |
where(String columnName,
Operator operator,
String value) |
static Where |
where(Where subWhere) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static final Where EMPTY
public Where()
public Where(Where subWhere)
public Where(WherePredicate atom)
public Where(String columnName, Operator operator, BigDecimal value)
public Where(String columnName, Operator operator, LocalDateTime value)
public static Where where()
public static Where where(String columnName, Operator operator, BigDecimal value)
public static Where where(String columnName, Operator operator, LocalDateTime value)
public Where and(String columnName, Operator operator, BigDecimal value)
public Where and(String columnName, Operator operator, LocalDateTime value)
public Where or(String columnName, Operator operator, BigDecimal value)
public Where or(String columnName, Operator operator, LocalDateTime value)
public String render()
public org.hrorm.WherePredicateTree.WherePredicateNode getRootNode()
public Iterator<WherePredicate> iterator()
iterator
in interface Iterable<WherePredicate>
public void populate(PreparedStatement preparedStatement) throws SQLException
populate
in interface StatementPopulator
SQLException
Copyright © 2019. All rights reserved.