Uses of Class
org.datanucleus.store.rdbms.sql.expression.SQLExpression
-
Packages that use SQLExpression Package Description org.datanucleus.store.rdbms.adapter Provides mappings of all supported databases to aspects of the database that determines the SQL generation.org.datanucleus.store.rdbms.query Package providing the querying mechanism for DataNucleus for RDBMS datastores.org.datanucleus.store.rdbms.sql Series of classes used to generate SQL statements.org.datanucleus.store.rdbms.sql.expression Series of expressions representing conditions in SQL statements.org.datanucleus.store.rdbms.sql.method Support for invocation of Java methods, typically using SQL functions.org.datanucleus.store.rdbms.sql.operation Support for operations between expressions where we may need to use SQL functions. -
-
Uses of SQLExpression in org.datanucleus.store.rdbms.adapter
Methods in org.datanucleus.store.rdbms.adapter with parameters of type SQLExpression Modifier and Type Method Description StringBaseDatastoreAdapter. getOrderString(org.datanucleus.store.StoreManager storeMgr, String orderString, SQLExpression sqlExpr)Convenience method to allow adaption of an ordering string before applying it.StringDatastoreAdapter. getOrderString(org.datanucleus.store.StoreManager storeMgr, String orderString, SQLExpression sqlExpr)Convenience method to allow adaption of an ordering string before applying it.StringOracleAdapter. getOrderString(org.datanucleus.store.StoreManager storeMgr, String orderString, SQLExpression sqlExpr)Convenience method to allow adaption of an ordering string before applying it. -
Uses of SQLExpression in org.datanucleus.store.rdbms.query
Methods in org.datanucleus.store.rdbms.query that return SQLExpression Modifier and Type Method Description SQLExpressionQueryGenerator. bindVariable(UnboundExpression expr, Class type)Method to bind the specified unbound variable (as cross join).SQLExpressionQueryToSQLMapper. bindVariable(UnboundExpression expr, Class type)Method to bind the specified unbound variable (as cross join) on the assumption that the type is a persistable class.protected SQLExpressionQueryToSQLMapper. getInvokedSqlExpressionForInvokeExpression(org.datanucleus.store.query.expression.InvokeExpression expr)protected SQLExpressionQueryToSQLMapper. getSQLLiteralForLiteralValue(Object litValue)protected SQLExpressionQueryToSQLMapper. processInvokeExpression(org.datanucleus.store.query.expression.InvokeExpression expr, SQLExpression invokedSqlExpr)Internal method to handle the processing of an InvokeExpression.protected SQLExpressionQueryToSQLMapper. processUnboundExpression(UnboundExpression expr)Methods in org.datanucleus.store.rdbms.query with parameters of type SQLExpression Modifier and Type Method Description protected ObjectQueryToSQLMapper. processCaseExpression(org.datanucleus.store.query.expression.CaseExpression expr, SQLExpression typeExpr)protected SQLExpressionQueryToSQLMapper. processInvokeExpression(org.datanucleus.store.query.expression.InvokeExpression expr, SQLExpression invokedSqlExpr)Internal method to handle the processing of an InvokeExpression.protected voidQueryToSQLMapper. validateExpressionForResult(SQLExpression sqlExpr)Method that validates that the specified expression is valid for use in a result clause. -
Uses of SQLExpression in org.datanucleus.store.rdbms.sql
Fields in org.datanucleus.store.rdbms.sql declared as SQLExpression Modifier and Type Field Description protected SQLExpression[]SelectStatement. orderingExpressionsExpressions for any ORDER BY clause.protected SQLExpression[]UpdateStatement. updatesArray of update expressions when the statement is an UPDATE.Fields in org.datanucleus.store.rdbms.sql with type parameters of type SQLExpression Modifier and Type Field Description protected List<SQLExpression>SelectStatement. groupingExpressionsExpression(s) for the GROUP BY clause.Methods in org.datanucleus.store.rdbms.sql with parameters of type SQLExpression Modifier and Type Method Description voidInsertStatement. addColumn(SQLExpression expr)voidSelectStatement. addGroupingExpression(SQLExpression expr)Method to add a grouping expression to the query.protected voidSelectStatement. addOrderComponent(SQLText orderST, String orderString, SQLExpression orderExpr, boolean orderDirection, org.datanucleus.store.query.NullOrderingType orderNullDirective, DatastoreAdapter dba)SQLTextSQLText. append(SQLExpression expr)Append an SQLExpression.int[]SelectStatement. select(SQLExpression expr, String alias)Select an expression.voidSelectStatement. setOrdering(SQLExpression[] exprs, boolean[] descending)Mutator for the ordering criteria.voidSelectStatement. setOrdering(SQLExpression[] exprs, boolean[] descending, org.datanucleus.store.query.NullOrderingType[] nullOrders)Mutator for the ordering criteria.voidUpdateStatement. setUpdates(SQLExpression[] exprs)Method to set the UPDATE clause of the statement. -
Uses of SQLExpression in org.datanucleus.store.rdbms.sql.expression
Subclasses of SQLExpression in org.datanucleus.store.rdbms.sql.expression Modifier and Type Class Description classAggregateNumericExpressionExpression for an aggregate function.classAggregateStringExpressionExpression for an aggregate function.classAggregateTemporalExpressionExpression for an aggregate function.classArrayExpressionRepresentation of array expression.classArrayLiteralRepresentation of array literal.classBinaryExpressionRepresentation of a Binary expression in a Query.classBinaryLiteralRepresentation of a Binary literal.classBooleanExpressionRepresentation of a Boolean expression in a Query.classBooleanLiteralRepresentation of a Boolean literal in a Query.classBooleanSubqueryExpressionBoolean expression to wrap a subquery.classByteExpressionRepresentation of a Byte expression in a Query.classByteLiteralRepresentation of a Byte literal.classCaseBooleanExpressionCase expression such asclassCaseExpressionExpression representing the SQL constructclassCaseNumericExpressionCase expression such asclassCaseStringExpressionCase expression such asclassCharacterExpressionRepresentation of a Character expression in a QueryclassCharacterLiteralRepresentation of a Character literal in a Query.classCollectionExpressionAn expression that represents some collection field in a query candidate class, or a collection field in an object linked from the candidate class by navigation.classCollectionLiteralAn SQL expression that will test if a column of a table falls within the given Collection of values.classColumnExpressionRepresentation of a column expression.classDelegatedExpressionExpression for a field/property that can delegate to an internal expression(s).classEnumExpressionExpression representing an enum field/property.classEnumLiteralRepresentation of an Enum literal.classFloatingPointLiteralRepresentation of a FloatPoint literal in a query.classInExpressionExpression representing the SQL construct "IN (expr1, expr2, ...)".classIntegerLiteralRepresentation of an Integer literal.classMapExpressionAn expression that represents some Map field in a query candidate class, or a Map field in an object linked from the candidate class by navigation.classMapLiteralAn SQL expression that will test if a column of a table falls within the given Map.static classMapLiteral.MapKeyLiteralAn SQL expression that will test if a column of a table falls within the given Map's keys.static classMapLiteral.MapValueLiteralAn SQL expression that will test if a column of a table falls within the given Map's values.classNewObjectExpressionSQL Expression for creating a new object (in the result clause of a query).classNullLiteralRepresentation of a Null literal in a Query.classNumericExpressionRepresentation of a Numeric expression in an SQL statement.classNumericSubqueryExpressionNumeric expression to wrap a subquery.classObjectExpressionRepresentation of an Object expression in a Query.classObjectLiteralRepresentation of an Object literal in a query.classOptionalExpressionExpression for java.util.Optional.classOptionalLiteralLiteral for java.util.Optional.classParameterLiteralRepresentation of a literal representing a parameter where we don't know the type of the parameter yet.classResultAliasExpressionExpression for use in an ordering clause representing a result alias.classSingleCollectionExpressionCover-all expression to represent "single collection" mapped types.classSingleCollectionLiteralCover-all literal to represent "single collection" mapped types.classStringExpressionRepresentation of an expression with a string.classStringLiteralRepresentation of a string literal.classStringNumericExpressionExpression representing a field/property that can be stored as a String or as a Numeric.classStringSubqueryExpressionString expression to wrap a subquery.classStringTemporalExpressionExpression representing a field/property that can be stored as a String or as a Temporal.classSubqueryExpressionExpression containing a subquery.classTemporalExpressionRepresentation of temporal objects in java query languages.classTemporalLiteralRepresentation of temporal literal in a Query.classTemporalSubqueryExpressionTemporal expression to wrap a subquery.classTypeConverterExpressionWrapper expression handler for a TypeConverterMapping to avoid the need to have an explicit mapping for something using a TypeConverter.classTypeConverterLiteralWrapper literal handler for a TypeConverterMapping to avoid the need to have an explicit mapping for something using a TypeConverter.classTypeConverterMultiExpressionExpression representing a TypeConverterMultiMapping where we have a java type mapped to multiple columns.classTypeConverterMultiLiteralLiteral for an object persisted using TypeConverterMultiMapping.classUnboundExpressionRepresentation of an expression for an unbound variable.Fields in org.datanucleus.store.rdbms.sql.expression declared as SQLExpression Modifier and Type Field Description protected SQLExpressionDelegatedExpression. delegateThe delegate expression that we use.protected SQLExpression[]SingleCollectionExpression. wrappedExpressionsFields in org.datanucleus.store.rdbms.sql.expression with type parameters of type SQLExpression Modifier and Type Field Description protected List<SQLExpression>ArrayExpression. elementExpressionsExpressions for all elements in the array.Methods in org.datanucleus.store.rdbms.sql.expression that return SQLExpression Modifier and Type Method Description SQLExpressionByteLiteral. add(SQLExpression expr)SQLExpressionCharacterExpression. add(SQLExpression expr)SQLExpressionCharacterLiteral. add(SQLExpression expr)SQLExpressionDelegatedExpression. add(SQLExpression expr)SQLExpressionFloatingPointLiteral. add(SQLExpression expr)SQLExpressionIntegerLiteral. add(SQLExpression expr)If both operands are instances of IntegerLiteral, the operation results in BigInteger type.SQLExpressionNullLiteral. add(SQLExpression expr)SQLExpressionNumericExpression. add(SQLExpression expr)SQLExpressionParameterLiteral. add(SQLExpression expr)SQLExpressionSQLExpression. add(SQLExpression expr)Additive Operator.SQLExpressionStringExpression. add(SQLExpression expr)SQLExpressionStringLiteral. add(SQLExpression expr)SQLExpressionTemporalExpression. add(SQLExpression expr)SQLExpressionNumericExpression. bitAnd(SQLExpression expr)SQLExpressionSQLExpression. bitAnd(SQLExpression expr)BITWISE AND operation.SQLExpressionNumericExpression. bitOr(SQLExpression expr)SQLExpressionSQLExpression. bitOr(SQLExpression expr)BITWISE OR operation.SQLExpressionObjectExpression. cast(SQLExpression expr)Cast operator.SQLExpressionSQLExpression. cast(SQLExpression expr)A cast expression converts, at run time, a value of one type to a similar value of another type; or confirms, at compile time, that the type of an expression is boolean; or checks, at run time, that a reference value refers to an object whose class is compatible with a specified reference type.SQLExpressionCharacterExpression. com()SQLExpressionCharacterLiteral. com()SQLExpressionNumericExpression. com()SQLExpressionSQLExpression. com()Bitwise Complement OperatorSQLExpressionSQLExpression. distinct()Distinct operator.SQLExpressionByteLiteral. div(SQLExpression expr)SQLExpressionCharacterExpression. div(SQLExpression expr)SQLExpressionDelegatedExpression. div(SQLExpression expr)SQLExpressionFloatingPointLiteral. div(SQLExpression expr)SQLExpressionIntegerLiteral. div(SQLExpression expr)If both operands are instances of IntegerLiteral, the operation results in BigInteger type.SQLExpressionNumericExpression. div(SQLExpression expr)SQLExpressionSQLExpression. div(SQLExpression expr)Division Operator.SQLExpressionSQLExpression. encloseInParentheses()Method to request the enclosure of this expression within parentheses.SQLExpressionDelegatedExpression. getDelegate()Accessor for the delegate that represents this enum.static SQLExpressionExpressionUtils. getEscapedPatternExpression(SQLExpression patternExpr)The pattern string for representing one character.static SQLExpressionExpressionUtils. getLiteralForOne(SQLStatement stmt)Convenience accessor for a literal for the number 1.SQLExpressionArrayExpression. invoke(String methodName, List args)SQLExpressionBooleanExpression. invoke(String methodName, List args)SQLExpressionByteExpression. invoke(String methodName, List args)SQLExpressionCharacterExpression. invoke(String methodName, List args)SQLExpressionCollectionExpression. invoke(String methodName, List args)SQLExpressionCollectionLiteral. invoke(String methodName, List args)SQLExpressionDelegatedExpression. invoke(String methodName, List args)SQLExpressionMapExpression. invoke(String methodName, List args)SQLExpressionMapLiteral.MapKeyLiteral. invoke(String methodName, List args)SQLExpressionNumericSubqueryExpression. invoke(String methodName, List args)SQLExpressionObjectExpression. invoke(String methodName, List args)SQLExpressionOptionalExpression. invoke(String methodName, List args)SQLExpressionSingleCollectionExpression. invoke(String methodName, List args)Allow the methods to be invoked directly in the wrapped type.SQLExpressionSQLExpression. invoke(String methodName, List args)Invocation of a method on this expression.SQLExpressionStringExpression. invoke(String methodName, List args)SQLExpressionStringSubqueryExpression. invoke(String methodName, List args)SQLExpressionTemporalExpression. invoke(String methodName, List args)SQLExpressionTemporalLiteral. invoke(String methodName, List args)SQLExpressionTemporalSubqueryExpression. invoke(String methodName, List args)SQLExpressionTypeConverterExpression. invoke(String methodName, List args)SQLExpressionTypeConverterMultiExpression. invoke(String methodName, List args)SQLExpressionSQLExpressionFactory. invokeMethod(SQLStatement stmt, String className, String methodName, SQLExpression expr, List args)Accessor for the result of an SQLMethod call on the supplied expression with the supplied args.SQLExpressionSQLExpressionFactory. invokeOperation(String name, SQLExpression expr, SQLExpression expr2)Accessor for the result of an SQLOperation call on the supplied expression with the supplied args.SQLExpressionByteLiteral. mod(SQLExpression expr)SQLExpressionCharacterExpression. mod(SQLExpression expr)Method to return a modulus expression.SQLExpressionCharacterLiteral. mod(SQLExpression expr)SQLExpressionDelegatedExpression. mod(SQLExpression expr)SQLExpressionIntegerLiteral. mod(SQLExpression expr)If both operands are instances of IntegerLiteral, the operation results in BigInteger type.SQLExpressionNumericExpression. mod(SQLExpression expr)Method to return a modulus expression.SQLExpressionSQLExpression. mod(SQLExpression expr)Remainder Operator.SQLExpressionByteLiteral. mul(SQLExpression expr)SQLExpressionCharacterExpression. mul(SQLExpression expr)SQLExpressionDelegatedExpression. mul(SQLExpression expr)SQLExpressionFloatingPointLiteral. mul(SQLExpression expr)SQLExpressionIntegerLiteral. mul(SQLExpression expr)If both operands are instances of IntegerLiteral, the operation results in BigInteger type.SQLExpressionNumericExpression. mul(SQLExpression expr)SQLExpressionSQLExpression. mul(SQLExpression expr)Multiplication OperatorSQLExpressionByteLiteral. neg()SQLExpressionCharacterExpression. neg()SQLExpressionCharacterLiteral. neg()SQLExpressionFloatingPointLiteral. neg()SQLExpressionIntegerLiteral. neg()Negate operation.SQLExpressionNumericExpression. neg()SQLExpressionSQLExpression. neg()Unary Minus OperatorSQLExpressionSQLExpressionFactory. newExpression(SQLStatement stmt, SQLTable sqlTbl, JavaTypeMapping mapping)Factory for an expression representing a mapping on a table.SQLExpressionSQLExpressionFactory. newExpression(SQLStatement stmt, SQLTable sqlTbl, JavaTypeMapping mapping, JavaTypeMapping parentMapping)Factory for an expression representing a mapping on a table.SQLExpressionSQLExpressionFactory. newLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value)Factory for a literal representing a value.SQLExpressionSQLExpressionFactory. newLiteralParameter(SQLStatement stmt, JavaTypeMapping mapping, Object value, String paramName)Factory for a literal as an input parameter.SQLExpressionSQLExpressionFactory. replaceParameterLiteral(ParameterLiteral paramLit, SQLExpression comparisonExpr)Convenience method to replace the provided ParameterLiteral with a "parameter-based" literal using the supplied mapping (generated before its type was known).SQLExpressionByteLiteral. sub(SQLExpression expr)SQLExpressionCharacterExpression. sub(SQLExpression expr)SQLExpressionCharacterLiteral. sub(SQLExpression expr)SQLExpressionDelegatedExpression. sub(SQLExpression expr)SQLExpressionFloatingPointLiteral. sub(SQLExpression expr)SQLExpressionIntegerLiteral. sub(SQLExpression expr)If both operands are instances of IntegerLiteral, the operation results in BigInteger type.SQLExpressionNumericExpression. sub(SQLExpression expr)SQLExpressionSQLExpression. sub(SQLExpression expr)Additive Operator.SQLExpressionTemporalExpression. sub(SQLExpression expr)SQLExpressionSQLExpression. unDistinct()Method to remove a previously applied DISTINCT operator, to get back to the contained expression.Methods in org.datanucleus.store.rdbms.sql.expression that return types with arguments of type SQLExpression Modifier and Type Method Description List<SQLExpression>NewObjectExpression. getConstructorArgExpressions()List<SQLExpression>ArrayExpression. getElementExpressions()List<SQLExpression>CollectionLiteral. getElementExpressions()List<SQLExpression>MapLiteral.MapKeyLiteral. getKeyExpressions()List<SQLExpression>MapLiteral.MapValueLiteral. getValueExpressions()Methods in org.datanucleus.store.rdbms.sql.expression with parameters of type SQLExpression Modifier and Type Method Description SQLExpressionByteLiteral. add(SQLExpression expr)SQLExpressionCharacterExpression. add(SQLExpression expr)SQLExpressionCharacterLiteral. add(SQLExpression expr)SQLExpressionDelegatedExpression. add(SQLExpression expr)SQLExpressionFloatingPointLiteral. add(SQLExpression expr)SQLExpressionIntegerLiteral. add(SQLExpression expr)If both operands are instances of IntegerLiteral, the operation results in BigInteger type.SQLExpressionNullLiteral. add(SQLExpression expr)SQLExpressionNumericExpression. add(SQLExpression expr)SQLExpressionParameterLiteral. add(SQLExpression expr)SQLExpressionSQLExpression. add(SQLExpression expr)Additive Operator.SQLExpressionStringExpression. add(SQLExpression expr)SQLExpressionStringLiteral. add(SQLExpression expr)SQLExpressionTemporalExpression. add(SQLExpression expr)protected voidObjectExpression. addSubexpressionsToRelatedExpression(SQLExpression expr)Updates the supplied expression with sub-expressions of consistent types to this expression.BooleanExpressionBooleanExpression. and(SQLExpression expr)BooleanExpressionBooleanLiteral. and(SQLExpression expr)BooleanExpressionSQLExpression. and(SQLExpression expr)Conditional AND.SQLExpressionNumericExpression. bitAnd(SQLExpression expr)SQLExpressionSQLExpression. bitAnd(SQLExpression expr)BITWISE AND operation.SQLExpressionNumericExpression. bitOr(SQLExpression expr)SQLExpressionSQLExpression. bitOr(SQLExpression expr)BITWISE OR operation.SQLExpressionObjectExpression. cast(SQLExpression expr)Cast operator.SQLExpressionSQLExpression. cast(SQLExpression expr)A cast expression converts, at run time, a value of one type to a similar value of another type; or confirms, at compile time, that the type of an expression is boolean; or checks, at run time, that a reference value refers to an object whose class is compatible with a specified reference type.static voidExpressionUtils. checkAndCorrectExpressionMappingsForBooleanComparison(SQLExpression expr1, SQLExpression expr2)Convenience method that compares the mappings used by the two expressions for compatibility for use in a boolean comparison (eq, noteq, gt, gteq, lt, lteq) and, if necessary, updates the mapping if one of them is a SQLLiteral and is deemed inconsistent with the other expression.protected static voidExpressionUtils. checkAndCorrectLiteralForConsistentMappingsForBooleanComparison(SQLLiteral lit, SQLExpression expr)SQLExpressionByteLiteral. div(SQLExpression expr)SQLExpressionCharacterExpression. div(SQLExpression expr)SQLExpressionDelegatedExpression. div(SQLExpression expr)SQLExpressionFloatingPointLiteral. div(SQLExpression expr)SQLExpressionIntegerLiteral. div(SQLExpression expr)If both operands are instances of IntegerLiteral, the operation results in BigInteger type.SQLExpressionNumericExpression. div(SQLExpression expr)SQLExpressionSQLExpression. div(SQLExpression expr)Division Operator.BooleanExpressionBooleanExpression. eor(SQLExpression expr)BooleanExpressionBooleanLiteral. eor(SQLExpression expr)BooleanExpressionSQLExpression. eor(SQLExpression expr)Exclusive ORBooleanExpressionArrayExpression. eq(SQLExpression expr)BooleanExpressionBinaryExpression. eq(SQLExpression expr)BooleanExpressionBooleanExpression. eq(SQLExpression expr)BooleanExpressionBooleanLiteral. eq(SQLExpression expr)BooleanExpressionByteExpression. eq(SQLExpression expr)BooleanExpressionByteLiteral. eq(SQLExpression expr)BooleanExpressionCaseExpression. eq(SQLExpression expr)BooleanExpressionCharacterExpression. eq(SQLExpression expr)BooleanExpressionCharacterLiteral. eq(SQLExpression expr)BooleanExpressionCollectionExpression. eq(SQLExpression expr)Method to return the expression for comparing a collection with a value.BooleanExpressionColumnExpression. eq(SQLExpression expr)BooleanExpressionDelegatedExpression. eq(SQLExpression expr)BooleanExpressionFloatingPointLiteral. eq(SQLExpression expr)BooleanExpressionIntegerLiteral. eq(SQLExpression expr)BooleanExpressionMapExpression. eq(SQLExpression expr)Method to return the expression for comparing a map with a value.BooleanExpressionNullLiteral. eq(SQLExpression expr)BooleanExpressionNumericExpression. eq(SQLExpression expr)BooleanExpressionNumericSubqueryExpression. eq(SQLExpression expr)BooleanExpressionObjectExpression. eq(SQLExpression expr)Equals operator.BooleanExpressionObjectLiteral. eq(SQLExpression expr)Method called when the query contains "object == value".BooleanExpressionParameterLiteral. eq(SQLExpression expr)BooleanExpressionSQLExpression. eq(SQLExpression expr)Equality operator (equals to)BooleanExpressionStringExpression. eq(SQLExpression expr)BooleanExpressionStringLiteral. eq(SQLExpression expr)BooleanExpressionStringSubqueryExpression. eq(SQLExpression expr)BooleanExpressionTemporalExpression. eq(SQLExpression expr)BooleanExpressionTemporalSubqueryExpression. eq(SQLExpression expr)BooleanExpressionByteExpression. ge(SQLExpression expr)BooleanExpressionByteLiteral. ge(SQLExpression expr)BooleanExpressionCaseExpression. ge(SQLExpression expr)BooleanExpressionCharacterExpression. ge(SQLExpression expr)BooleanExpressionCharacterLiteral. ge(SQLExpression expr)BooleanExpressionDelegatedExpression. ge(SQLExpression expr)BooleanExpressionFloatingPointLiteral. ge(SQLExpression expr)BooleanExpressionIntegerLiteral. ge(SQLExpression expr)BooleanExpressionNumericExpression. ge(SQLExpression expr)BooleanExpressionNumericSubqueryExpression. ge(SQLExpression expr)BooleanExpressionObjectExpression. ge(SQLExpression expr)BooleanExpressionParameterLiteral. ge(SQLExpression expr)BooleanExpressionSQLExpression. ge(SQLExpression expr)Relational operator (greater than or equals)BooleanExpressionStringExpression. ge(SQLExpression expr)BooleanExpressionStringLiteral. ge(SQLExpression expr)BooleanExpressionStringSubqueryExpression. ge(SQLExpression expr)BooleanExpressionTemporalExpression. ge(SQLExpression expr)BooleanExpressionTemporalSubqueryExpression. ge(SQLExpression expr)static BooleanExpressionExpressionUtils. getAppIdEqualityExpression(Object id, SQLExpression expr, RDBMSStoreManager storeMgr, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.metadata.AbstractClassMetaData acmd, Integer index, BooleanExpression bExpr)Create an equality expression "(expr == id)" for an application identity using reflection to retrieve values and generate the mappings.static SQLExpressionExpressionUtils. getEscapedPatternExpression(SQLExpression patternExpr)The pattern string for representing one character.static NumericExpressionExpressionUtils. getNumericExpression(SQLExpression expr)Method to return a numeric expression for the supplied SQL expression.BooleanExpressionBinaryExpression. gt(SQLExpression expr)BooleanExpressionByteExpression. gt(SQLExpression expr)BooleanExpressionByteLiteral. gt(SQLExpression expr)BooleanExpressionCaseExpression. gt(SQLExpression expr)BooleanExpressionCharacterExpression. gt(SQLExpression expr)BooleanExpressionCharacterLiteral. gt(SQLExpression expr)BooleanExpressionDelegatedExpression. gt(SQLExpression expr)BooleanExpressionFloatingPointLiteral. gt(SQLExpression expr)BooleanExpressionIntegerLiteral. gt(SQLExpression expr)BooleanExpressionNumericExpression. gt(SQLExpression expr)BooleanExpressionNumericSubqueryExpression. gt(SQLExpression expr)BooleanExpressionObjectExpression. gt(SQLExpression expr)BooleanExpressionParameterLiteral. gt(SQLExpression expr)BooleanExpressionSQLExpression. gt(SQLExpression expr)Relational operator (greater than)BooleanExpressionStringExpression. gt(SQLExpression expr)BooleanExpressionStringLiteral. gt(SQLExpression expr)BooleanExpressionStringSubqueryExpression. gt(SQLExpression expr)BooleanExpressionTemporalExpression. gt(SQLExpression expr)BooleanExpressionTemporalSubqueryExpression. gt(SQLExpression expr)BooleanExpressionBinaryExpression. gteq(SQLExpression expr)BooleanExpressionBinaryExpression. in(SQLExpression expr, boolean not)BooleanExpressionBooleanExpression. in(SQLExpression expr, boolean not)BooleanExpressionCharacterExpression. in(SQLExpression expr, boolean not)BooleanExpressionNumericExpression. in(SQLExpression expr, boolean not)BooleanExpressionObjectExpression. in(SQLExpression expr, boolean not)BooleanExpressionSQLExpression. in(SQLExpression expr, boolean not)In expression.BooleanExpressionStringExpression. in(SQLExpression expr, boolean not)BooleanExpressionTemporalExpression. in(SQLExpression expr, boolean not)SQLExpressionSQLExpressionFactory. invokeMethod(SQLStatement stmt, String className, String methodName, SQLExpression expr, List args)Accessor for the result of an SQLMethod call on the supplied expression with the supplied args.SQLExpressionSQLExpressionFactory. invokeOperation(String name, SQLExpression expr, SQLExpression expr2)Accessor for the result of an SQLOperation call on the supplied expression with the supplied args.BooleanExpressionBooleanExpression. ior(SQLExpression expr)BooleanExpressionBooleanLiteral. ior(SQLExpression expr)BooleanExpressionSQLExpression. ior(SQLExpression expr)Conditional OR.BooleanExpressionObjectExpression. is(SQLExpression expr, boolean not)An "is" (instanceOf) expression, providing a BooleanExpression whether this expression is an instanceof the provided type.BooleanExpressionSQLExpression. is(SQLExpression expr, boolean not)An "is" (instanceOf) expression, providing a BooleanExpression whether this expression is an instanceof the provided type.BooleanExpressionByteExpression. le(SQLExpression expr)BooleanExpressionByteLiteral. le(SQLExpression expr)BooleanExpressionCaseExpression. le(SQLExpression expr)BooleanExpressionCharacterExpression. le(SQLExpression expr)BooleanExpressionCharacterLiteral. le(SQLExpression expr)BooleanExpressionDelegatedExpression. le(SQLExpression expr)BooleanExpressionFloatingPointLiteral. le(SQLExpression expr)BooleanExpressionIntegerLiteral. le(SQLExpression expr)BooleanExpressionNumericExpression. le(SQLExpression expr)BooleanExpressionNumericSubqueryExpression. le(SQLExpression expr)BooleanExpressionObjectExpression. le(SQLExpression expr)BooleanExpressionParameterLiteral. le(SQLExpression expr)BooleanExpressionSQLExpression. le(SQLExpression expr)Relational operator (lower than or equals)BooleanExpressionStringExpression. le(SQLExpression expr)BooleanExpressionStringLiteral. le(SQLExpression expr)BooleanExpressionStringSubqueryExpression. le(SQLExpression expr)BooleanExpressionTemporalExpression. le(SQLExpression expr)BooleanExpressionTemporalSubqueryExpression. le(SQLExpression expr)BooleanExpressionBinaryExpression. lt(SQLExpression expr)BooleanExpressionByteExpression. lt(SQLExpression expr)BooleanExpressionByteLiteral. lt(SQLExpression expr)BooleanExpressionCaseExpression. lt(SQLExpression expr)BooleanExpressionCharacterExpression. lt(SQLExpression expr)BooleanExpressionCharacterLiteral. lt(SQLExpression expr)BooleanExpressionDelegatedExpression. lt(SQLExpression expr)BooleanExpressionFloatingPointLiteral. lt(SQLExpression expr)BooleanExpressionIntegerLiteral. lt(SQLExpression expr)BooleanExpressionNumericExpression. lt(SQLExpression expr)BooleanExpressionNumericSubqueryExpression. lt(SQLExpression expr)BooleanExpressionObjectExpression. lt(SQLExpression expr)BooleanExpressionParameterLiteral. lt(SQLExpression expr)BooleanExpressionSQLExpression. lt(SQLExpression expr)Relational operator (lower than)BooleanExpressionStringExpression. lt(SQLExpression expr)BooleanExpressionStringLiteral. lt(SQLExpression expr)BooleanExpressionStringSubqueryExpression. lt(SQLExpression expr)BooleanExpressionTemporalExpression. lt(SQLExpression expr)BooleanExpressionTemporalSubqueryExpression. lt(SQLExpression expr)BooleanExpressionBinaryExpression. lteq(SQLExpression expr)SQLExpressionByteLiteral. mod(SQLExpression expr)SQLExpressionCharacterExpression. mod(SQLExpression expr)Method to return a modulus expression.SQLExpressionCharacterLiteral. mod(SQLExpression expr)SQLExpressionDelegatedExpression. mod(SQLExpression expr)SQLExpressionIntegerLiteral. mod(SQLExpression expr)If both operands are instances of IntegerLiteral, the operation results in BigInteger type.SQLExpressionNumericExpression. mod(SQLExpression expr)Method to return a modulus expression.SQLExpressionSQLExpression. mod(SQLExpression expr)Remainder Operator.SQLExpressionByteLiteral. mul(SQLExpression expr)SQLExpressionCharacterExpression. mul(SQLExpression expr)SQLExpressionDelegatedExpression. mul(SQLExpression expr)SQLExpressionFloatingPointLiteral. mul(SQLExpression expr)SQLExpressionIntegerLiteral. mul(SQLExpression expr)If both operands are instances of IntegerLiteral, the operation results in BigInteger type.SQLExpressionNumericExpression. mul(SQLExpression expr)SQLExpressionSQLExpression. mul(SQLExpression expr)Multiplication OperatorBooleanExpressionArrayExpression. ne(SQLExpression expr)BooleanExpressionBooleanExpression. ne(SQLExpression expr)BooleanExpressionBooleanLiteral. ne(SQLExpression expr)BooleanExpressionByteExpression. ne(SQLExpression expr)BooleanExpressionByteLiteral. ne(SQLExpression expr)BooleanExpressionCaseExpression. ne(SQLExpression expr)BooleanExpressionCharacterExpression. ne(SQLExpression expr)BooleanExpressionCharacterLiteral. ne(SQLExpression expr)BooleanExpressionCollectionExpression. ne(SQLExpression expr)Method to return the expression for comparing a collection with a value.BooleanExpressionDelegatedExpression. ne(SQLExpression expr)BooleanExpressionFloatingPointLiteral. ne(SQLExpression expr)BooleanExpressionIntegerLiteral. ne(SQLExpression expr)BooleanExpressionMapExpression. ne(SQLExpression expr)Method to return the expression for comparing a map with a value.BooleanExpressionNullLiteral. ne(SQLExpression expr)BooleanExpressionNumericExpression. ne(SQLExpression expr)BooleanExpressionNumericSubqueryExpression. ne(SQLExpression expr)BooleanExpressionObjectExpression. ne(SQLExpression expr)Not equals operator.BooleanExpressionObjectLiteral. ne(SQLExpression expr)Method called when the query contains "object NOTEQUALS value".BooleanExpressionParameterLiteral. ne(SQLExpression expr)BooleanExpressionSQLExpression. ne(SQLExpression expr)Not equality operator (not equals to)BooleanExpressionStringExpression. ne(SQLExpression expr)BooleanExpressionStringLiteral. ne(SQLExpression expr)BooleanExpressionStringSubqueryExpression. ne(SQLExpression expr)BooleanExpressionTemporalExpression. ne(SQLExpression expr)BooleanExpressionTemporalSubqueryExpression. ne(SQLExpression expr)BooleanExpressionBinaryExpression. noteq(SQLExpression expr)BooleanExpressionColumnExpression. noteq(SQLExpression expr)protected BooleanExpressionObjectExpression. processComparisonOfImplementationWithReference(SQLExpression refExpr, SQLExpression implExpr, boolean negate)SQLExpressionSQLExpressionFactory. replaceParameterLiteral(ParameterLiteral paramLit, SQLExpression comparisonExpr)Convenience method to replace the provided ParameterLiteral with a "parameter-based" literal using the supplied mapping (generated before its type was known).SQLExpressionByteLiteral. sub(SQLExpression expr)SQLExpressionCharacterExpression. sub(SQLExpression expr)SQLExpressionCharacterLiteral. sub(SQLExpression expr)SQLExpressionDelegatedExpression. sub(SQLExpression expr)SQLExpressionFloatingPointLiteral. sub(SQLExpression expr)SQLExpressionIntegerLiteral. sub(SQLExpression expr)If both operands are instances of IntegerLiteral, the operation results in BigInteger type.SQLExpressionNumericExpression. sub(SQLExpression expr)SQLExpressionSQLExpression. sub(SQLExpression expr)Additive Operator.SQLExpressionTemporalExpression. sub(SQLExpression expr)Constructors in org.datanucleus.store.rdbms.sql.expression with parameters of type SQLExpression Constructor Description ArrayExpression(SQLStatement stmt, JavaTypeMapping mapping, SQLExpression[] exprs)Constructor for an SQL expression for an array expression specified in the query.BooleanExpression(org.datanucleus.store.query.expression.Expression.MonadicOperator op, SQLExpression expr1)Perform an operationBooleanExpression(SQLExpression expr1, org.datanucleus.store.query.expression.Expression.DyadicOperator op, SQLExpression expr2)Perform an operationByteExpression(org.datanucleus.store.query.expression.Expression.MonadicOperator op, SQLExpression expr1)Perform an operationByteExpression(SQLExpression expr1, org.datanucleus.store.query.expression.Expression.DyadicOperator op, SQLExpression expr2)Perform an operationCaseBooleanExpression(SQLExpression[] whenExprs, SQLExpression[] actionExprs, SQLExpression elseExpr)CaseExpression(SQLExpression[] whenExprs, SQLExpression[] actionExprs, SQLExpression elseExpr)CaseNumericExpression(SQLExpression[] whenExprs, SQLExpression[] actionExprs, SQLExpression elseExpr)CaseStringExpression(SQLExpression[] whenExprs, SQLExpression[] actionExprs, SQLExpression elseExpr)IllegalExpressionOperationException(String operation, SQLExpression operand)Constructor.IllegalExpressionOperationException(SQLExpression operand1, String operation, SQLExpression operand2)Constructor.InExpression(SQLExpression expr, List<SQLExpression> exprList)Constructor for an IN expression.InExpression(SQLExpression expr, SQLExpression[] exprs)Constructor for an IN expression.NumericExpression(org.datanucleus.store.query.expression.Expression.MonadicOperator op, SQLExpression expr1)Perform an operationNumericExpression(SQLExpression expr1, org.datanucleus.store.query.expression.Expression.DyadicOperator op, SQLExpression expr2)Perform an operationSQLExpression(org.datanucleus.store.query.expression.Expression.MonadicOperator op, SQLExpression expr1)Perform an operation "op" on expression "expr1".SQLExpression(SQLExpression expr1, org.datanucleus.store.query.expression.Expression.DyadicOperator op, SQLExpression expr2)Perform an operation "op" between "expr1" and "expr2".StringExpression(org.datanucleus.store.query.expression.Expression.MonadicOperator op, SQLExpression expr1)Perform an operationStringExpression(SQLExpression expr1, org.datanucleus.store.query.expression.Expression.DyadicOperator op, SQLExpression expr2)Perform an operationTemporalExpression(SQLExpression expr1, org.datanucleus.store.query.expression.Expression.DyadicOperator op, SQLExpression expr2)Constructor parameters in org.datanucleus.store.rdbms.sql.expression with type arguments of type SQLExpression Constructor Description BinaryExpression(SQLStatement stmt, JavaTypeMapping mapping, String functionName, List<SQLExpression> args, List types)BooleanExpression(SQLStatement stmt, JavaTypeMapping mapping, String functionName, List<SQLExpression> args)Generates statement as "FUNCTION_NAME(arg [,argN])" such as STARTS_WITH(arg1, arg2).InExpression(SQLExpression expr, List<SQLExpression> exprList)Constructor for an IN expression.NewObjectExpression(SQLStatement stmt, Class cls, List<SQLExpression> args)NumericExpression(SQLStatement stmt, JavaTypeMapping mapping, String functionName, List<SQLExpression> args)Generates statement as "FUNCTION_NAME(arg [,argN])".NumericExpression(SQLStatement stmt, JavaTypeMapping mapping, String functionName, List<SQLExpression> args, List types)Generates statement as "FUNCTION_NAME(arg [AS type] [,argN [AS typeN]])".SQLExpression(SQLStatement stmt, JavaTypeMapping mapping, String functionName, List<SQLExpression> args, List types)Generates statement as "FUNCTION_NAME(arg [AS type] [,argN [AS typeN]])".StringExpression(SQLStatement stmt, JavaTypeMapping mapping, String functionName, List<SQLExpression> args)Generates statement as e.g.StringExpression(SQLStatement stmt, JavaTypeMapping mapping, String functionName, List<SQLExpression> args, List types)Generates statement as e.g. -
Uses of SQLExpression in org.datanucleus.store.rdbms.sql.method
-
Uses of SQLExpression in org.datanucleus.store.rdbms.sql.operation
Methods in org.datanucleus.store.rdbms.sql.operation that return SQLExpression Modifier and Type Method Description SQLExpressionConcat2Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionConcat3Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionMod2Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionMod3Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionNumericToString2Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionNumericToString3Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionNumericToStringOperation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionSQLOperation. getExpression(SQLExpression expr, SQLExpression expr2)Return the expression for this SQL function.Methods in org.datanucleus.store.rdbms.sql.operation with parameters of type SQLExpression Modifier and Type Method Description SQLExpressionConcat2Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionConcat3Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionMod2Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionMod3Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionNumericToString2Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionNumericToString3Operation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionNumericToStringOperation. getExpression(SQLExpression expr, SQLExpression expr2)SQLExpressionSQLOperation. getExpression(SQLExpression expr, SQLExpression expr2)Return the expression for this SQL function.
-