Uses of Class
org.apache.cayenne.exp.parser.ASTFunctionCall
-
Packages that use ASTFunctionCall 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. -
-
Uses of ASTFunctionCall in org.apache.cayenne.access.translator.select
Methods in org.apache.cayenne.access.translator.select with parameters of type ASTFunctionCall Modifier and Type Method 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() methodprotected 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. -
Uses of ASTFunctionCall in org.apache.cayenne.dba.db2
Methods in org.apache.cayenne.dba.db2 with parameters of type ASTFunctionCall Modifier and Type Method Description protected void
DB2QualifierTranslator. appendFunction(ASTFunctionCall functionExpression)
protected void
DB2QualifierTranslator. appendFunctionArgDivider(ASTFunctionCall functionExpression)
protected void
DB2QualifierTranslator. clearLastFunctionArgDivider(ASTFunctionCall functionExpression)
-
Uses of ASTFunctionCall in org.apache.cayenne.dba.derby
Methods in org.apache.cayenne.dba.derby with parameters of type ASTFunctionCall Modifier and Type Method 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)
-
Uses of ASTFunctionCall in org.apache.cayenne.dba.firebird
Methods in org.apache.cayenne.dba.firebird with parameters of type ASTFunctionCall Modifier and Type Method 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)
-
Uses of ASTFunctionCall in org.apache.cayenne.dba.frontbase
Methods in org.apache.cayenne.dba.frontbase with parameters of type ASTFunctionCall Modifier and Type Method Description protected void
FrontBaseQualifierTranslator. appendFunction(ASTFunctionCall functionExpression)
protected void
FrontBaseQualifierTranslator. appendFunctionArgDivider(ASTFunctionCall functionExpression)
protected void
FrontBaseQualifierTranslator. clearLastFunctionArgDivider(ASTFunctionCall functionExpression)
-
Uses of ASTFunctionCall in org.apache.cayenne.dba.hsqldb
Methods in org.apache.cayenne.dba.hsqldb with parameters of type ASTFunctionCall Modifier and Type Method Description protected void
HSQLQualifierTranslator. appendFunction(ASTFunctionCall functionExpression)
-
Uses of ASTFunctionCall in org.apache.cayenne.dba.oracle
Methods in org.apache.cayenne.dba.oracle with parameters of type ASTFunctionCall Modifier and Type Method Description protected void
OracleQualifierTranslator. appendFunction(ASTFunctionCall functionExpression)
protected void
OracleQualifierTranslator. appendFunctionArgDivider(ASTFunctionCall functionExpression)
protected void
OracleQualifierTranslator. clearLastFunctionArgDivider(ASTFunctionCall functionExpression)
-
Uses of ASTFunctionCall in org.apache.cayenne.dba.postgres
Methods in org.apache.cayenne.dba.postgres with parameters of type ASTFunctionCall Modifier and Type Method Description protected void
PostgresQualifierTranslator. appendFunction(ASTFunctionCall functionExpression)
protected void
PostgresQualifierTranslator. appendFunctionArgDivider(ASTFunctionCall functionExpression)
protected void
PostgresQualifierTranslator. clearLastFunctionArgDivider(ASTFunctionCall functionExpression)
-
Uses of ASTFunctionCall in org.apache.cayenne.dba.sqlite
Methods in org.apache.cayenne.dba.sqlite with parameters of type ASTFunctionCall Modifier and Type Method Description protected void
SQLiteQualifierTranslator. appendFunction(ASTFunctionCall functionExpression)
protected void
SQLiteQualifierTranslator. appendFunctionArgDivider(ASTFunctionCall functionExpression)
protected void
SQLiteQualifierTranslator. clearLastFunctionArgDivider(ASTFunctionCall functionExpression)
-
Uses of ASTFunctionCall in org.apache.cayenne.dba.sybase
Methods in org.apache.cayenne.dba.sybase with parameters of type ASTFunctionCall Modifier and Type Method Description protected void
SybaseQualifierTranslator. appendFunction(ASTFunctionCall functionExpression)
protected void
SybaseQualifierTranslator. appendFunctionArgDivider(ASTFunctionCall functionExpression)
protected void
SybaseQualifierTranslator. clearLastFunctionArgDivider(ASTFunctionCall functionExpression)
-
Uses of ASTFunctionCall in org.apache.cayenne.exp.parser
Subclasses of ASTFunctionCall in org.apache.cayenne.exp.parser Modifier and Type Class 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
ASTDistinct
class
ASTExtract
class
ASTLength
class
ASTLocate
class
ASTLower
class
ASTMax
class
ASTMin
class
ASTMod
class
ASTSqrt
class
ASTSubstring
class
ASTSum
class
ASTTrim
class
ASTUpper
-