public final class QueryOrder extends QueryPart
| Constructor and Description |
|---|
QueryOrder() |
| Modifier and Type | Method and Description |
|---|---|
QueryOrder |
add(String... fields) |
QueryOrder |
add(String field,
boolean ascending) |
QueryOrder |
add(String field,
boolean ascending,
Boolean nullsFirst) |
QueryOrder |
clear() |
void |
collectParameterValues(List<Object> values) |
void |
collectSqlFragment(CodeWriter writer) |
List<QueryOrderPart> |
getParts() |
boolean |
isEmpty() |
boolean |
isNotEmpty() |
getParameterValues, getSqlFragment, isPretty, printSqlParts, setPretty, toStringpublic boolean isEmpty()
public boolean isNotEmpty()
public QueryOrder clear()
public QueryOrder add(String... fields)
public QueryOrder add(String field, boolean ascending)
public QueryOrder add(String field, boolean ascending, Boolean nullsFirst)
public List<QueryOrderPart> getParts()
public void collectSqlFragment(CodeWriter writer)
collectSqlFragment in class SqlPartpublic void collectParameterValues(List<Object> values)
collectParameterValues in class SqlPartCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.