public class HSQLQualifierTranslator extends TrimmingQualifierTranslator
trimFunctioncaseInsensitive, matchingObject, objectMatchTranslator, qualifier, useAliasForExpressions, waitingForEndNodeout, 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, setTrimFunctionappendFunctionArg, appendFunctionArgDivider, appendLiteral, appendObjectMatch, clearLastFunctionArgDivider, detectObjectMatch, doAppendPart, doAppendPart, endNode, extractQualifier, finishedChild, objectNode, operandForBitwiseAnd, operandForBitwiseLeftShift, operandForBitwiseNot, operandForBitwiseOr, operandForBitwiseRightShift, operandForBitwiseXor, parenthesisNeeded, processRelTermination, setCaseInsensitive, setQualifier, setUseAliasForExpressions, startNodeappendDbPath, appendLiteralDirect, appendObjPath, appendPart, getDbEntity, getObjEntity, paramsDbType, processRelTermination, setForceJoinForRelationspublic HSQLQualifierTranslator(QueryAssembler queryAssembler)
protected void appendLikeEscapeCharacter(PatternMatchNode patternMatchNode) throws IOException
QueryAssemblerHelperOutputs 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 QueryAssemblerHelperIOExceptionprotected void appendFunction(ASTFunctionCall functionExpression)
QualifierTranslatorappendFunction in class QualifierTranslatorprotected void appendExtractFunction(ASTExtract functionExpression)
QualifierTranslatorappendExtractFunction in class QualifierTranslatorCopyright © 2001–2023 Apache Cayenne. All rights reserved.