E - result typepublic class WhereConditionElement<E> extends Object implements WhereAndOr<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) |
Selectable<E> |
except() |
E |
get() |
String |
getAlias() |
Condition<?,?> |
getCondition() |
LogicalOperator |
getOperator() |
SetHavingOrderByLimit<E> |
groupBy(Expression<?>... expressions) |
<V> SetHavingOrderByLimit<E> |
groupBy(Expression<V> expression) |
int |
hashCode() |
Selectable<E> |
intersect() |
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.
|
Selectable<E> |
union() |
Selectable<E> |
unionAll() |
QueryElement<E> |
unwrapQuery() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetCondition, getOperatorpublic SetHavingOrderByLimit<E> groupBy(Expression<?>... expressions)
groupBy in interface GroupBy<SetHavingOrderByLimit<E>>public <V> SetHavingOrderByLimit<E> groupBy(Expression<V> expression)
groupBy in interface GroupBy<SetHavingOrderByLimit<E>>public 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 Selectable<E> union()
union in interface SetOperation<Selectable<E>>public Selectable<E> unionAll()
unionAll in interface SetOperation<Selectable<E>>public Selectable<E> intersect()
intersect in interface SetOperation<Selectable<E>>public Selectable<E> except()
except in interface SetOperation<Selectable<E>>public Return<E> as(String alias)
Aliasablepublic String getAlias()
public Condition<?,?> getCondition()
getCondition in interface LogicalElementpublic LogicalOperator getOperator()
getOperator in interface LogicalElement