public class FeatureOrderByImpl extends AbstractFeature implements FeatureOrderBy<FeatureOrderByImpl>
AbstractFeature
for FeatureWhere
.Modifier and Type | Class and Description |
---|---|
protected static class |
FeatureOrderByImpl.OrderByExpression
A single expression of an
ORDER BY clause. |
Modifier and Type | Field and Description |
---|---|
private List<FeatureOrderByImpl.OrderByExpression> |
orderByList |
SORT_INDEX_AND_FROM, SORT_INDEX_FETCHPLAN, SORT_INDEX_GROUP_BY, SORT_INDEX_HAVING, SORT_INDEX_LET, SORT_INDEX_LOCK, SORT_INDEX_NOCACHE, SORT_INDEX_ORDER_BY, SORT_INDEX_PAGING, SORT_INDEX_PARALLEL, SORT_INDEX_SET, SORT_INDEX_TIMEOUT, SORT_INDEX_UNWIND, SORT_INDEX_UPSERT, SORT_INDEX_WHERE
Constructor and Description |
---|
FeatureOrderByImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
build(SqlBuilder builder) |
FeatureOrderByImpl |
orderBy(ComparablePath<?> path,
SortOrder order)
Adds the given
PropertyPath to the ORDER BY clause. |
asArg, asPath, combine, compareTo, create, getDialect, getSortIndex, getStatement, setStatement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
orderBy
private final List<FeatureOrderByImpl.OrderByExpression> orderByList
public FeatureOrderByImpl orderBy(ComparablePath<?> path, SortOrder order)
FeatureOrderBy
PropertyPath
to the ORDER BY
clause.orderBy
in interface FeatureOrderBy<FeatureOrderByImpl>
path
- the PropertyPath
to order by.order
- the SortOrder
.public void build(SqlBuilder builder)
build
in class AbstractFeature
builder
- the SqlBuilder
with the query context to build the SQL and bind variables.Copyright © 2001–2016 mmm-Team. All rights reserved.