public class Where extends Object implements TerminalExpression
| Modifier and Type | Method and Description |
|---|---|
Where |
and(Object condition) |
Where |
and(Object condition,
Object... parameters) |
Where |
and(Object condition,
Object parameter) |
Where |
and(String condition,
String parameter) |
Where |
andBetween(String columnName,
Object start,
Object end) |
protected String |
getPrefix() |
GroupBy |
groupBy() |
GroupBy |
groupBy(String... columns) |
Limit |
limit(int start,
int size) |
<E> List<E> |
list(RowMapper<E> rowMapper) |
Where |
or(Object condition) |
Where |
or(Object condition,
Object... parameters) |
Where |
or(Object condition,
Object parameter) |
Where |
or(String condition,
String parameter) |
Where |
orBetween(String columnName,
Object start,
Object end) |
OrderBy |
orderBy() |
OrderBy |
orderBy(OrderByType order,
String... columns) |
OrderBy |
orderBy(String... columns) |
<E> E |
single(RowMapper<E> rowMapper) |
String |
toString() |
protected final Context context
public GroupBy groupBy()
public OrderBy orderBy()
public OrderBy orderBy(OrderByType order, String... columns)
public Limit limit(int start, int size)
public <E> List<E> list(RowMapper<E> rowMapper) throws SQLException
list in interface TerminalExpressionSQLExceptionpublic <E> E single(RowMapper<E> rowMapper) throws SQLException
single in interface TerminalExpressionSQLExceptionprotected String getPrefix()
Copyright © 2013–2014. All rights reserved.