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, waitgetCondition, getOperatorpublic Offset<E> limit(int limit)
Limitpublic E get()
public <V> Limit<E> orderBy(Expression<V> expression)
OrderBypublic Limit<E> orderBy(Expression<?>... expressions)
OrderBypublic QueryElement<E> unwrapQuery()
unwrapQuery in interface QueryWrapper<E>public Return<E> as(String alias)
Aliasablepublic String getAlias()
public Condition<?,?> getCondition()
getCondition in interface LogicalElementpublic LogicalOperator getOperator()
getOperator in interface LogicalElement