E
- result typepublic class HavingConditionElement<E> extends Object implements HavingAndOr<E>, QueryWrapper<E>, LogicalElement
Modifier and Type | Method and Description |
---|---|
<V> S |
and(Condition<V,?> condition) |
Return<E> |
as(String alias)
Alias the instance with the given valid name.
|
boolean |
equals(Object obj) |
E |
get() |
String |
getAlias() |
Condition<?,?> |
getCondition() |
LogicalOperator |
getOperator() |
int |
hashCode() |
Offset<E> |
limit(int limit)
Defines the maximum amount of elements in the final result.
|
<V> S |
or(Condition<V,?> condition) |
Limit<E> |
orderBy(Expression<?>... expressions)
order the query with the given expressions.
|
<V> Limit<E> |
orderBy(Expression<V> expression)
order the query with the given expression.
|
QueryElement<E> |
unwrapQuery() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCondition, getOperator
public Offset<E> limit(int limit)
Limit
public E get()
public <V> Limit<E> orderBy(Expression<V> expression)
OrderBy
public Limit<E> orderBy(Expression<?>... expressions)
OrderBy
public QueryElement<E> unwrapQuery()
unwrapQuery
in interface QueryWrapper<E>
public Return<E> as(String alias)
Aliasable
public String getAlias()
public Condition<?,?> getCondition()
getCondition
in interface LogicalElement
public LogicalOperator getOperator()
getOperator
in interface LogicalElement