public class HSQLQualifierTranslator extends TrimmingQualifierTranslator
trimFunction
caseInsensitive, matchingObject, objectMatchTranslator, qualifier, useAliasForExpressions, waitingForEndNode
out, queryAssembler, strategy
Constructor and Description |
---|
HSQLQualifierTranslator(QueryAssembler queryAssembler) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendExtractFunction(ASTExtract functionExpression)
Special case for extract date/time parts functions as they have many variants
|
protected void |
appendFunction(ASTFunctionCall functionExpression)
Append function name to result SQL
Override this method to rename or skip function if generic name isn't supported on target DB.
|
protected void |
appendLikeEscapeCharacter(PatternMatchNode patternMatchNode)
Outputs the standard JDBC (database agnostic) expression for supplying
the escape character to the database server when supplying a LIKE clause.
|
getTrimFunction, processColumn, processColumnWithQuoteSqlIdentifiers, setTrimFunction
appendFunctionArg, appendFunctionArgDivider, appendLiteral, appendObjectMatch, clearLastFunctionArgDivider, detectObjectMatch, doAppendPart, doAppendPart, endNode, extractQualifier, finishedChild, objectNode, operandForBitwiseAnd, operandForBitwiseLeftShift, operandForBitwiseNot, operandForBitwiseOr, operandForBitwiseRightShift, operandForBitwiseXor, parenthesisNeeded, processRelTermination, setCaseInsensitive, setQualifier, setUseAliasForExpressions, startNode
appendDbPath, appendLiteralDirect, appendObjPath, appendPart, getDbEntity, getObjEntity, paramsDbType, processRelTermination, setForceJoinForRelations
public HSQLQualifierTranslator(QueryAssembler queryAssembler)
protected void appendLikeEscapeCharacter(PatternMatchNode patternMatchNode) throws IOException
QueryAssemblerHelper
Outputs the standard JDBC (database agnostic) expression for supplying the escape character to the database server when supplying a LIKE clause. This has been factored-out because some database adaptors handle LIKE differently and they need access to this common method in order not to repeat this code.
If there is no escape character defined then this method will not output anything. An escape character of 0 will mean no escape character.
appendLikeEscapeCharacter
in class QueryAssemblerHelper
IOException
protected void appendFunction(ASTFunctionCall functionExpression)
QualifierTranslator
appendFunction
in class QualifierTranslator
protected void appendExtractFunction(ASTExtract functionExpression)
QualifierTranslator
appendExtractFunction
in class QualifierTranslator
Copyright © 2001–2023 Apache Cayenne. All rights reserved.