|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.access.trans.QueryAssemblerHelper
org.apache.cayenne.access.trans.QualifierTranslator
org.apache.cayenne.access.trans.TrimmingQualifierTranslator
org.apache.cayenne.dba.db2.DB2QualifierTranslator
public class DB2QualifierTranslator
Field Summary |
---|
Fields inherited from class org.apache.cayenne.access.trans.TrimmingQualifierTranslator |
---|
trimFunction |
Fields inherited from class org.apache.cayenne.access.trans.QualifierTranslator |
---|
caseInsensitive, matchingObject, objectMatchTranslator |
Fields inherited from class org.apache.cayenne.access.trans.QueryAssemblerHelper |
---|
out, queryAssembler, strategy |
Constructor Summary | |
---|---|
DB2QualifierTranslator(QueryAssembler queryAssembler,
java.lang.String trimFunction)
|
Method Summary | |
---|---|
protected void |
appendLiteralDirect(java.lang.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. |
Methods inherited from class org.apache.cayenne.access.trans.TrimmingQualifierTranslator |
---|
getTrimFunction, processColumn, setTrimFunction |
Methods inherited from class org.apache.cayenne.access.trans.QualifierTranslator |
---|
appendLiteral, appendObjectMatch, detectObjectMatch, doAppendPart, doAppendPart, endNode, extractQualifier, finishedChild, objectNode, operandForBitwiseAnd, operandForBitwiseNot, operandForBitwiseOr, operandForBitwiseXor, parenthesisNeeded, processRelTermination, setCaseInsensitive, startNode |
Methods inherited from class org.apache.cayenne.access.trans.QueryAssemblerHelper |
---|
appendDbPath, appendLikeEscapeCharacter, appendObjPath, appendPart, getDbEntity, getObjEntity, paramsDbType, processRelTermination |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DB2QualifierTranslator(QueryAssembler queryAssembler, java.lang.String trimFunction)
Method Detail |
---|
protected void appendLiteralDirect(java.lang.Object val, DbAttribute attr, Expression parentExpression) throws java.io.IOException
QueryAssemblerHelper
val
as a parameter to
the PreparedStatement being built. Adds val
into QueryAssembler
parameter list.
appendLiteralDirect
in class QueryAssemblerHelper
java.io.IOException
protected void processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr, Expression pathExp) throws java.io.IOException
TrimmingQualifierTranslator
processColumnWithQuoteSqlIdentifiers
in class TrimmingQualifierTranslator
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |