public class JoinConditionElement<E> extends Object implements JoinAndOr<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() |
<J> JoinOn<E> |
join(Class<J> type)
inner join on the type
|
<J> JoinOn<E> |
join(Return<J> query)
inner join on the type
|
<J> JoinOn<E> |
leftJoin(Class<J> type)
left inner join on the type
|
<J> JoinOn<E> |
leftJoin(Return<J> query)
left inner join on the type
|
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.
|
<J> JoinOn<E> |
rightJoin(Class<J> type)
right inner join on the type
|
<J> JoinOn<E> |
rightJoin(Return<J> query)
right inner join on the type
|
Selectable<E> |
union() |
Selectable<E> |
unionAll() |
QueryElement<E> |
unwrapQuery() |
Exists<SetGroupByOrderByLimit<E>> |
where() |
<V> WhereAndOr<E> |
where(Condition<V,?> condition) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCondition, getOperator
public QueryElement<E> unwrapQuery()
unwrapQuery
in interface QueryWrapper<E>
public E get()
public 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 <J> JoinOn<E> join(Class<J> type)
Join
public <J> JoinOn<E> leftJoin(Class<J> type)
Join
public <J> JoinOn<E> rightJoin(Class<J> type)
Join
public <J> JoinOn<E> join(Return<J> query)
Join
public <J> JoinOn<E> leftJoin(Return<J> query)
Join
public <J> JoinOn<E> rightJoin(Return<J> query)
Join
public <V> Limit<E> orderBy(Expression<V> expression)
OrderBy
public Limit<E> orderBy(Expression<?>... expressions)
OrderBy
public <V> WhereAndOr<E> where(Condition<V,?> condition)
public Offset<E> limit(int limit)
Limit
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)
Aliasable
public String getAlias()
public Condition<?,?> getCondition()
getCondition
in interface LogicalElement
public LogicalOperator getOperator()
getOperator
in interface LogicalElement