public class OpenBaseQualifierTranslator extends QualifierTranslator
caseInsensitive, matchingObject, objectMatchTranslatorout, 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, setCaseInsensitiveappendDbPath, appendLikeEscapeCharacter, appendObjPath, appendPart, getDbEntity, getObjEntity, paramsDbType, processColumn, processColumnWithQuoteSqlIdentifiers, processRelTerminationpublic OpenBaseQualifierTranslator(QueryAssembler queryAssembler)
public void startNode(Expression node, Expression parentNode)
TraversalHandlerstartNode in interface TraversalHandlerstartNode in class QualifierTranslatorpublic void endNode(Expression node, Expression parentNode)
TraversalHandlerendNode in interface TraversalHandlerendNode in class QualifierTranslatorprotected void appendLiteralDirect(Object val, DbAttribute attr, Expression parentExpression) throws IOException
QueryAssemblerHelperval as a parameter to
the PreparedStatement being built. Adds val into QueryAssembler
parameter list.appendLiteralDirect in class QueryAssemblerHelperIOExceptionpublic void finishedChild(Expression node, int childIndex, boolean hasMoreChildren)
TraversalHandlerfinishedChild in interface TraversalHandlerfinishedChild in class QualifierTranslatorCopyright © 2001–2018 Apache Cayenne. All rights reserved.