public class OpenBaseQualifierTranslator extends QualifierTranslator
caseInsensitive, matchingObject, objectMatchTranslator
out, queryAssembler, strategy
Constructor and Description |
---|
OpenBaseQualifierTranslator(QueryAssembler queryAssembler) |
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. |
void |
endNode(Expression node,
Expression parentNode)
Called during the traversal after an expression node children
processing is finished.
|
void |
finishedChild(Expression node,
int childIndex,
boolean hasMoreChildren)
Called during traversal after a child of expression
has been visited.
|
void |
startNode(Expression node,
Expression parentNode)
Called during the traversal before an expression node children
processing is started.
|
appendLiteral, appendObjectMatch, detectObjectMatch, doAppendPart, doAppendPart, extractQualifier, objectNode, operandForBitwiseAnd, operandForBitwiseNot, operandForBitwiseOr, operandForBitwiseXor, parenthesisNeeded, processRelTermination, setCaseInsensitive
appendDbPath, appendLikeEscapeCharacter, appendObjPath, appendPart, getDbEntity, getObjEntity, paramsDbType, processColumn, processColumnWithQuoteSqlIdentifiers, processRelTermination
public OpenBaseQualifierTranslator(QueryAssembler queryAssembler)
public void startNode(Expression node, Expression parentNode)
TraversalHandler
startNode
in interface TraversalHandler
startNode
in class QualifierTranslator
public void endNode(Expression node, Expression parentNode)
TraversalHandler
endNode
in interface TraversalHandler
endNode
in class QualifierTranslator
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
public void finishedChild(Expression node, int childIndex, boolean hasMoreChildren)
TraversalHandler
finishedChild
in interface TraversalHandler
finishedChild
in class QualifierTranslator
Copyright © 2001–2014 Apache Cayenne. All rights reserved.