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, toString
public 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 SqlPart
public void collectParameterValues(List<Object> values)
collectParameterValues
in class SqlPart
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.