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 |
appendFunction(Expression exp) |
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, processRelTermination, setForceJoinForRelationspublic OrderingTranslator(QueryAssembler queryAssembler)
protected void doAppendPart()
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 QueryAssemblerHelperprotected void appendFunction(Expression exp)
Copyright © 2001–2023 Apache Cayenne. All rights reserved.