public class OrderingTranslator extends QueryAssemblerHelper
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
orderByColumnList |
out, queryAssembler, strategy| Constructor and Description |
|---|
OrderingTranslator(QueryAssembler queryAssembler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAppendPart()
Translates query Ordering list to SQL ORDER BY clause.
|
List<String> |
getOrderByColumnList()
Returns the column expressions (not Expressions) used in the order by clause.
|
appendDbPath, appendLikeEscapeCharacter, appendLiteral, appendLiteralDirect, appendObjPath, appendPart, getDbEntity, getObjEntity, paramsDbType, processColumn, processColumnWithQuoteSqlIdentifiers, processRelTermination, processRelTerminationpublic OrderingTranslator(QueryAssembler queryAssembler)
protected void doAppendPart()
throws IOException
queryAssembler's query object. In a process of building of
ORDER BY clause, queryAssembler is notified when a join needs to be
added.doAppendPart in class QueryAssemblerHelperIOExceptionCopyright © 2001–2018 Apache Cayenne. All rights reserved.