public class DB2QualifierTranslator extends TrimmingQualifierTranslator
trimFunction
caseInsensitive, matchingObject, objectMatchTranslator
out, queryAssembler, strategy
Constructor and Description |
---|
DB2QualifierTranslator(QueryAssembler queryAssembler,
String trimFunction) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendLiteralDirect(Object val,
DbAttribute attr,
Expression parentExpression)
Appends SQL code to the query buffer to handle
val as a parameter to
the PreparedStatement being built. |
protected void |
processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr,
Expression pathExp)
Adds special handling of CHAR columns.
|
getTrimFunction, processColumn, setTrimFunction
appendLiteral, appendObjectMatch, detectObjectMatch, doAppendPart, doAppendPart, endNode, extractQualifier, finishedChild, objectNode, operandForBitwiseAnd, operandForBitwiseNot, operandForBitwiseOr, operandForBitwiseXor, parenthesisNeeded, processRelTermination, setCaseInsensitive, startNode
appendDbPath, appendLikeEscapeCharacter, appendObjPath, appendPart, getDbEntity, getObjEntity, paramsDbType, processRelTermination
public DB2QualifierTranslator(QueryAssembler queryAssembler, String trimFunction)
protected void appendLiteralDirect(Object val, DbAttribute attr, Expression parentExpression) throws IOException
QueryAssemblerHelper
val
as a parameter to
the PreparedStatement being built. Adds val
into QueryAssembler
parameter list.appendLiteralDirect
in class QueryAssemblerHelper
IOException
protected void processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr, Expression pathExp) throws IOException
TrimmingQualifierTranslator
processColumnWithQuoteSqlIdentifiers
in class TrimmingQualifierTranslator
IOException
Copyright © 2001–2018 Apache Cayenne. All rights reserved.