Uses of Interface
org.datanucleus.store.rdbms.sql.method.SQLMethod
Packages that use SQLMethod
Package
Description
Provides mappings of all supported databases to aspects of the database that determines the SQL generation.
Series of expressions representing conditions in SQL statements.
Support for invocation of Java methods, typically using SQL functions.
-
Uses of SQLMethod in org.datanucleus.store.rdbms.adapter
Methods in org.datanucleus.store.rdbms.adapter that return types with arguments of type SQLMethodModifier and TypeMethodDescriptionBaseDatastoreAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) CloudSpannerAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) DatastoreAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) Accessor for the SQLMethod class for the query invocation of specified class + method name (if available for this datastore).DB2Adapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) DerbyAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) FirebirdAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) H2Adapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) HSQLAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) InformixAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) MySQLAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) NuoDBAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) PostgreSQLAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) SAPDBAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) SQLiteAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) SQLServerAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) SybaseAdapter.getSQLMethodClass(String className, String methodName, org.datanucleus.ClassLoaderResolver clr) -
Uses of SQLMethod in org.datanucleus.store.rdbms.sql.expression
Fields in org.datanucleus.store.rdbms.sql.expression with type parameters of type SQLMethodModifier and TypeFieldDescription(package private) Map<SQLExpressionFactory.MethodKey, SQLMethod> SQLExpressionFactory.sqlMethodsByKeyCache of SQLMethod instances, keyed by their class+method[+datastore] name.Methods in org.datanucleus.store.rdbms.sql.expression that return SQLMethodModifier and TypeMethodDescriptionprotected SQLMethodAccessor for the method defined by the class/method names and supplied args.Methods in org.datanucleus.store.rdbms.sql.expression with parameters of type SQLMethodModifier and TypeMethodDescriptionvoidSQLExpressionFactory.registerMethod(String className, String methodName, SQLMethod method) Method to allow a user to register an SQLMethod at runtime without utilising the plugin mechanism. -
Uses of SQLMethod in org.datanucleus.store.rdbms.sql.method
Classes in org.datanucleus.store.rdbms.sql.method that implement SQLMethodModifier and TypeClassDescriptionclassExpression handler to invoke the SQL ABS function.classExpression handler to invoke the SQL ACOS function.classMethod for evaluating {arrExpr}.contains(elemExpr).classMethod for evaluating {arrExpr1}.isEmpty().classMethod for evaluating {arrExpr1}.size().classExpression handler to invoke the SQL ASIN function.classExpression handler to invoke the SQL ATAN2 function.classExpression handler to invoke the SQL ATAN function.classExpression handler to invoke the SQL AVG aggregation function.classSome databases will use the same type for the return value as the argument, which can be an issue when averaging on integral types since it will drop the decimals.classExpression handler to invoke the SQL CEIL function.classExpression handler to invoke the SQL COALESCE function.classMethod for evaluating {collExpr1}.contains({elemExpr}).classMethod for evaluating {collExpr1}.isEmpty().classMethod for evaluating {collExpr1}.size().classExpression handler to invoke the SQL COS function.classExpression handler to invoke the SQL COSH function.classExpression handler to invoke the SQL COT function.classExpression handler to invoke the SQL COUNT aggregation function.classExpression handler to invoke the SQL COUNT(*) aggregation function.classExpression handler to invoke the SQL CURRENT_DATE function.classExpression handler to invoke the SQL CURRENT_TIME function.classExpression handler to invoke the SQL CURRENT_TIMESTAMP function.classExpression handler to invoke the SQL DEGREES function.classExpression handler to evaluate {enumExpression}.ordinal().classExpression handler to evaluate {enumExpression}.toString().classExpression handler to invoke the SQL EXP function.classExpression handler to invoke the SQL FLOOR function.classExpression handler to evaluate JDOHelper.getObjectId({expression}).classExpression handler to evaluate JDOHelper.getVersion({expression}).classMethod for evaluating {listExpr}.get(idxExpr).classMethod for evaluating {listExpr}.indexOf(elemExpr) and JPQL "INDEX(elem)" Returns a NumericExpression representing the indexclassExpression handler to invoke the SQL CURRENT_DATE function and return as a LocalDate.classExpression handler to invoke the SQL CURRENT_TIMESTAMP function and return as LocalDateTime.classExpression handler to invoke the SQL CURRENT_TIME function and return as LocalTime.classExpression handler to invoke the SQL LOG function.classExpression handler to invoke the SQL (natural) LOG function.classMethod for evaluating {mapExpr}.containsEntry(keyExpr, valueExpr).classMethod for evaluating {mapExpr}.containsKey(keyExpr).classMethod for evaluating {mapExpr}.containsValue(valueExpr).classMethod for evaluating {mapExpr}.get(keyExpr).classMethod for evaluating {mapExpr}.isEmpty().classMethod for evaluating KEY({mapExpr}).classMethod for evaluating {mapExpr}.size().classMethod for evaluating VALUE({mapExpr}).classExpression handler to evaluate Math.abs({expression}).classExpression handler to evaluate Math.acos({expression}).classExpression handler to evaluate Math.asin({expression}).classExpression handler to evaluate Math.atan({expression}).classExpression handler to evaluate Math.ceil({expression}).classExpression handler to evaluate Math.cos({expression}).classExpression handler to evaluate Math.exp({expression}).classExpression handler to evaluate Math.floor({expression}).classExpression handler to evaluate Math.log({expression}).classExpression handler to evaluate Math.power({expression}).classExpression handler to evaluate Math.sin({expression}).classExpression handler to evaluate Math.sqrt({expression}).classExpression handler to evaluate Math.tan({expression}).classExpression handler to evaluate Math.toDegrees({expression}).classExpression handler to evaluate Math.toRadians({expression}).classExpression handler to invoke the SQL MAX aggregation function.classExpression handler to invoke the SQL MIN aggregation function.classExpression handler to invoke the SQL NULLIF function.classExpression handler to evaluate {objectExpression}.getClass().classMethod for evaluating {optionalExpr1}.get().classMethod for evaluating {optionalExpr1}.isPresent().classMethod for evaluating {optionalExpr1}.orElse().classExpression handler to invoke the SQL POWER function.classExpression handler to invoke the SQL RADIANS function.classExpression handler to evaluate ROUND({expression}[,{decimalPlaces}]).classExpression handler to invoke the SQL SIGN function.classExpression handler to invoke an SQL aggregated function.classExpression handler to invoke an SQL numeric function that takes in argument(s).classExpression handler to invoke an SQL aggregated function.classExpression handler to invoke an SQL String function that takes in an expression.classExpression handler to invoke the SQL SIN function.classExpression handler to invoke the SQL SINH function.classMethod to allow inclusion of any SQL code that returns a boolean.classExpression handler to evaluate SQL.cube(args).classMethod to allow inclusion of any SQL function invocation.classMethod to allow inclusion of any SQL code that returns a numeric.classExpression handler to evaluate SQL.rollup(args).classExpression handler to invoke the SQL SQRT function.classMethod for evaluating {strExpr}.charAt(numExpr).classMethod for evaluating {strExpr}.charAt(numExpr).classMethod for evaluating {strExpr}.concat(strExpr1s).classMethod for evaluating {strExpr}.concat(strExpr1s).classMethod for evaluating {strExpr1}.endsWith(strExpr2[, numExpr]) for Cloud Spanner.classMethod for evaluating {strExpr1}.endsWith(strExpr2[, numExpr]).classMethod for evaluating {strExpr1}.equalsIgnoreCase(strExpr2).classMethod for evaluating {strExpr1}.equals(strExpr2).classMethod for evaluating {strExpr1}.indexOf(strExpr2[,pos]).classMethod for evaluating {strExpr1}.indexOf(strExpr2[,pos]).classMethod for evaluating {strExpr1}.indexOf(strExpr2[,pos]).classMethod for evaluating {strExpr1}.indexOf(strExpr2[,pos]) for PostgreSQL.classMethod for evaluating {strExpr1}.indexOf(strExpr2[,pos]).classExpression handler to evaluate {stringExpression}.length() with Firebird.classExpression handler to evaluate {stringExpression}.length().classExpression handler to evaluate {stringExpression}.length().classExpression handler to evaluate {stringExpression}.length().classExpression handler to evaluate {stringExpression}.matches(StringExpression) for Derby.classExpression handler to evaluate {stringExpression}.matches(StringExpression).classMethod for evaluating {strExpr}.replaceAll(strExpr1, strExpr2).classSupport for a String.matches like functionality but using Postgresql's "SIMILAR TO" operator.classMethod for evaluating {strExpr1}.startsWith(strExpr2).classMethod for evaluating {strExpr1}.startsWith(strExpr2[,numExpr]).classMethod for evaluating {strExpr1}.startsWith(strExpr2) for cloud spanner.classMethod for evaluating {strExpr1}.startsWith(strExpr2[, numExpr]).classMethod for evaluating {strExpr}.substring(numExpr1 [,numExpr2]).classMethod for evaluating {strExpr}.substring(numExpr1 [,numExpr2]).classMethod for evaluating {strExpr}.substring(numExpr1 [,numExpr2]).classMethod for evaluating {strExpr}.substring(numExpr1 [,numExpr2]).classMethod for evaluating {strExpr}.substring(numExpr1 [,numExpr2]).classExpression handler to invoke the SQL LOWER function.classExpression handler to invoke the SQL UPPER function.classMethod for evaluating {strExpr}.translate(strExpr1, strExpr2).classMethod for trimming a String expression using LTRIM and RTRIM SQL functions.classMethod for evaluating {strExpr1}.trim() or "TRIM(BOTH trimChar FROM strExpr1)".classMethod for evaluating {strExpr1}.trimLeft() or "TRIM(LEADING trimChar FROM strExpr1)".classExpression handler to invoke the SQL LTRIM function.classExpression handler to invoke the SQL TRIM function.classMethod for evaluating {strExpr1}.trimLeft() or "TRIM(TRAILING trimChar FROM strExpr1)".classExpression handler to invoke the SQL RTRIM function.classExpression handler to invoke the SQL SUM aggregation function.classExpression handler to invoke the SQL TAN function.classExpression handler to invoke the SQL TANH function.classBase for all temporal methods.classMethod for evaluating DAY({dateExpr}).classMethod for evaluating DAY({dateExpr}) using Oracle.classMethod for evaluating DAY({dateExpr}) using PostgreSQL.classMethod for evaluating {dateExpr}.getDay() using SQLite.classMethod for evaluating {dateExpr}.getDay() for Firebird and CloudSpanner.classMethod for evaluating DAY_OF_WEEK({dateExpr}) using H2.classMethod for evaluating DAY_OF_WEEK({dateExpr}) using PostgreSQL.classMethod for evaluating DAY_OF_WEEK({dateExpr}) using MySQL.classMethod for evaluating DAY_OF_WEEK({dateExpr}) using SQLServer.classMethod for evaluating DAY_OF_WEEK({dateExpr}) using SQLite.classMethod for evaluating DAY_OF_WEEK({dateExpr}) for Firebird.classMethod for evaluating DAY_OF_WEEK({dateExpr}) for CloudSpanner.classMethod for evaluating DAYOFYEAR({dateExpr}) for CloudSpanner.classMethod for evaluating HOUR({dateExpr}).classMethod for evaluating HOUR({dateExpr}) using Oracle.classMethod for evaluating HOUR({dateExpr}) using PostgreSQL.classMethod for evaluating HOUR({dateExpr}) using SQLServer.classMethod for evaluating HOUR({dateExpr}) using SQLite.classMethod for evaluating HOUR({dateExpr}) for Firebird and CloudSpanner.classMethod for evaluating ISOWEEK({dateExpr}) for CloudSpanner.classMethod for evaluating ISOYEAR({dateExpr}) for CloudSpanner.classMethod for evaluating MILLISECOND({dateExpr}) for CloudSpanner.classMethod for evaluating MINUTE({dateExpr}).classMethod for evaluating MINUTE({dateExpr}) using Oracle.classMethod for evaluating {dateExpr}.getMinute() using PostgreSQL.classMethod for evaluating MINUTE({dateExpr}) using SQLServer.classMethod for evaluating MINUTE({dateExpr}) using SQLite.classMethod for evaluating MINUTE({dateExpr}) for Firebird and CloudSpanner.classMethod for evaluating {dateExpr}.getMonth().classMethod for evaluating {dateExpr}.getMonth().classMethod for evaluating {dateExpr}.getMonth() using PostgreSQL.classMethod for evaluating {dateExpr}.getMonth() using SQLite.classMethod for evaluating {dateExpr}.getMonth() for Firebird and CloudSpanner.classMethod for evaluating MONTH({dateExpr}).classMethod for evaluating MONTH({dateExpr}) using Oracle.classMethod for evaluating MONTH({dateExpr}) using PostgreSQL.classMethod for evaluating MONTH({dateExpr}) using SQLite.classMethod for evaluating MONTH({dateExpr}) for Firebird and CloudSpanner.classMethod for evaluating QUARTER({dateExpr}).classMethod for evaluating QUARTER({dateExpr}) using Oracle.classMethod for evaluating QUARTER({dateExpr}) using PostgreSQL.classMethod for evaluating QUARTER({dateExpr}) using SQLServer.classMethod for evaluating QUARTER({dateExpr}) for CloudSpanner.classMethod for evaluating SECOND({dateExpr}).classMethod for evaluating SECOND({dateExpr}) using Oracle.classMethod for evaluating SECOND({dateExpr}) using PostgreSQL.classMethod for evaluating SECOND({dateExpr}) using SQLServer.classMethod for evaluating SECOND({dateExpr}).classMethod for evaluating SECOND({dateExpr}) using SQLite.classMethod for evaluating SECOND({dateExpr}) for Firebird and CloudSpanner.classMethod for evaluating WEEK({dateExpr}).classMethod for evaluating WEEK({dateExpr}) using Sybase.classMethod for evaluating WEEK({dateExpr}) using PostgreSQL.classMethod for evaluating WEEK({dateExpr}) using SQLServer.classMethod for evaluating WEEK({dateExpr}) for Firebird and CloudSpanner.classMethod for evaluating WEEK({dateExpr}) using Oracle.classMethod for evaluating YEAR({dateExpr}).classMethod for evaluating YEAR({dateExpr}) using Oracle.classMethod for evaluating YEAR({dateExpr}).classMethod for evaluating YEAR({dateExpr}) using SQLite.classMethod for evaluating YEAR({dateExpr}) for Firebird and CloudSpanner.