public class TrimmingQualifierTranslator extends QualifierTranslator
Modifier and Type | Field and Description |
---|---|
protected String |
trimFunction |
caseInsensitive, matchingObject, objectMatchTranslator
out, queryAssembler, strategy
Constructor and Description |
---|
TrimmingQualifierTranslator(QueryAssembler queryAssembler,
String trimFunction)
Constructor for TrimmingQualifierTranslator.
|
Modifier and Type | Method and Description |
---|---|
String |
getTrimFunction()
Returns the trimFunction.
|
protected void |
processColumn(DbAttribute dbAttr)
Adds special handling of CHAR columns.
|
protected void |
processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr,
Expression pathExp)
Adds special handling of CHAR columns.
|
void |
setTrimFunction(String trimFunction)
Sets the trimFunction.
|
appendLiteral, appendObjectMatch, detectObjectMatch, doAppendPart, doAppendPart, endNode, extractQualifier, finishedChild, objectNode, operandForBitwiseAnd, operandForBitwiseNot, operandForBitwiseOr, operandForBitwiseXor, parenthesisNeeded, processRelTermination, setCaseInsensitive, startNode
appendDbPath, appendLikeEscapeCharacter, appendLiteralDirect, appendObjPath, appendPart, getDbEntity, getObjEntity, paramsDbType, processRelTermination
protected String trimFunction
public TrimmingQualifierTranslator(QueryAssembler queryAssembler, String trimFunction)
protected void processColumn(DbAttribute dbAttr) throws IOException
processColumn
in class QueryAssemblerHelper
IOException
protected void processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr, Expression pathExp) throws IOException
processColumnWithQuoteSqlIdentifiers
in class QueryAssemblerHelper
IOException
public String getTrimFunction()
public void setTrimFunction(String trimFunction)
trimFunction
- The trimFunction to setCopyright © 2001–2018 Apache Cayenne. All rights reserved.