Package | Description |
---|---|
org.apache.cayenne.access.translator.select | |
org.apache.cayenne.dba.db2 |
IBM DB2 DbAdapter.
|
org.apache.cayenne.dba.derby |
Apache Derby DbAdapter.
|
org.apache.cayenne.dba.firebird | |
org.apache.cayenne.dba.frontbase |
FrontBase DbAdapter.
|
org.apache.cayenne.dba.hsqldb |
HSQLDB DbAdapter.
|
org.apache.cayenne.dba.oracle |
Oracle DbAdapter.
|
org.apache.cayenne.dba.postgres |
PostgreSQL DbAdapter.
|
org.apache.cayenne.dba.sqlite | |
org.apache.cayenne.dba.sybase |
Sybase DbAdapter.
|
org.apache.cayenne.exp.parser |
Contains expression parser and other expression internals.
|
Modifier and Type | Method and Description |
---|---|
protected void |
QualifierTranslator.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 |
QualifierTranslator.appendFunctionArg(Object value,
ASTFunctionCall functionExpression)
Append scalar argument of a function call
Used only for values stored in ASTScalar other
expressions appended in objectNode() method
|
protected void |
QualifierTranslator.appendFunctionArgDivider(ASTFunctionCall functionExpression)
Append divider between function arguments.
|
protected void |
QualifierTranslator.clearLastFunctionArgDivider(ASTFunctionCall functionExpression)
Clear last divider as we currently don't now position of argument until parent element is ended.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DB2QualifierTranslator.appendFunction(ASTFunctionCall functionExpression) |
protected void |
DB2QualifierTranslator.appendFunctionArgDivider(ASTFunctionCall functionExpression) |
protected void |
DB2QualifierTranslator.clearLastFunctionArgDivider(ASTFunctionCall functionExpression) |
Modifier and Type | Method and Description |
---|---|
protected void |
DerbyQualifierTranslator.appendFunction(ASTFunctionCall functionExpression) |
protected void |
DerbyQualifierTranslator.appendFunctionArg(Object value,
ASTFunctionCall functionExpression)
A little bit ugly code that wraps String scalars to CAST(? AS VARCHAR(length))
because otherwise derby don't know what type will be at the placeholder and
use LONG VARCHAR that isn't comparable what leads to statement preparation failure.
|
protected void |
DerbyQualifierTranslator.appendFunctionArgDivider(ASTFunctionCall functionExpression) |
protected void |
DerbyQualifierTranslator.clearLastFunctionArgDivider(ASTFunctionCall functionExpression) |
Modifier and Type | Method and Description |
---|---|
protected void |
FirebirdQualifierTranslator.appendFunction(ASTFunctionCall functionExpression) |
protected void |
FirebirdQualifierTranslator.appendFunctionArg(Object value,
ASTFunctionCall functionExpression)
A little bit ugly code that wraps String scalars to CAST(? AS VARCHAR(length))
because otherwise derby don't know what type will be at the placeholder and
use LONG VARCHAR that isn't comparable what leads to statement preparation failure.
|
protected void |
FirebirdQualifierTranslator.appendFunctionArgDivider(ASTFunctionCall functionExpression) |
protected void |
FirebirdQualifierTranslator.clearLastFunctionArgDivider(ASTFunctionCall functionExpression) |
Modifier and Type | Method and Description |
---|---|
protected void |
FrontBaseQualifierTranslator.appendFunction(ASTFunctionCall functionExpression) |
protected void |
FrontBaseQualifierTranslator.appendFunctionArgDivider(ASTFunctionCall functionExpression) |
protected void |
FrontBaseQualifierTranslator.clearLastFunctionArgDivider(ASTFunctionCall functionExpression) |
Modifier and Type | Method and Description |
---|---|
protected void |
HSQLQualifierTranslator.appendFunction(ASTFunctionCall functionExpression) |
Modifier and Type | Method and Description |
---|---|
protected void |
OracleQualifierTranslator.appendFunction(ASTFunctionCall functionExpression) |
protected void |
OracleQualifierTranslator.appendFunctionArgDivider(ASTFunctionCall functionExpression) |
protected void |
OracleQualifierTranslator.clearLastFunctionArgDivider(ASTFunctionCall functionExpression) |
Modifier and Type | Method and Description |
---|---|
protected void |
PostgresQualifierTranslator.appendFunction(ASTFunctionCall functionExpression) |
protected void |
PostgresQualifierTranslator.appendFunctionArgDivider(ASTFunctionCall functionExpression) |
protected void |
PostgresQualifierTranslator.clearLastFunctionArgDivider(ASTFunctionCall functionExpression) |
Modifier and Type | Method and Description |
---|---|
protected void |
SQLiteQualifierTranslator.appendFunction(ASTFunctionCall functionExpression) |
protected void |
SQLiteQualifierTranslator.appendFunctionArgDivider(ASTFunctionCall functionExpression) |
protected void |
SQLiteQualifierTranslator.clearLastFunctionArgDivider(ASTFunctionCall functionExpression) |
Modifier and Type | Method and Description |
---|---|
protected void |
SybaseQualifierTranslator.appendFunction(ASTFunctionCall functionExpression) |
protected void |
SybaseQualifierTranslator.appendFunctionArgDivider(ASTFunctionCall functionExpression) |
protected void |
SybaseQualifierTranslator.clearLastFunctionArgDivider(ASTFunctionCall functionExpression) |
Modifier and Type | Class and Description |
---|---|
class |
ASTAbs |
class |
ASTAggregateFunctionCall
Base class for all aggregation functions expressions
It's more like marker interface for now.
|
class |
ASTAvg |
class |
ASTConcat |
class |
ASTCount |
class |
ASTCurrentDate |
class |
ASTCurrentTime |
class |
ASTCurrentTimestamp |
class |
ASTExtract |
class |
ASTLength |
class |
ASTLocate |
class |
ASTLower |
class |
ASTMax |
class |
ASTMin |
class |
ASTMod |
class |
ASTSqrt |
class |
ASTSubstring |
class |
ASTSum |
class |
ASTTrim |
class |
ASTUpper |
Copyright © 2001–2023 Apache Cayenne. All rights reserved.