Package org.datanucleus.store.rdbms.sql.expression
Series of expressions representing conditions in SQL statements. Each expression represents an object, of a type, and hence has a JavaTypeMapping responsible for any get/set of that object in the SQL statement. Calling of the toSQL() method on an expression generates the SQL that it represents.
-
Interface Summary Interface Description AggregateExpression Representation of an aggregated expression.SQLLiteral Representation of an SQL Literal in a query.SubqueryExpressionComponent Interface representing an expression that contains a subquery. -
Class Summary Class Description AggregateNumericExpression Expression for an aggregate function.AggregateStringExpression Expression for an aggregate function.AggregateTemporalExpression Expression for an aggregate function.ArrayExpression Representation of array expression.ArrayLiteral Representation of array literal.BinaryExpression Representation of a Binary expression in a Query.BinaryLiteral Representation of a Binary literal.BooleanExpression Representation of a Boolean expression in a Query.BooleanLiteral Representation of a Boolean literal in a Query.BooleanSubqueryExpression Boolean expression to wrap a subquery.ByteExpression Representation of a Byte expression in a Query.ByteLiteral Representation of a Byte literal.CaseBooleanExpression Case expression such asCaseExpression Expression representing the SQL constructCaseNumericExpression Case expression such asCaseStringExpression Case expression such asCharacterExpression Representation of a Character expression in a QueryCharacterLiteral Representation of a Character literal in a Query.CollectionExpression An 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.CollectionLiteral An SQL expression that will test if a column of a table falls within the given Collection of values.ColumnExpression Representation of a column expression.DelegatedExpression Expression for a field/property that can delegate to an internal expression(s).EnumExpression Expression representing an enum field/property.EnumLiteral Representation of an Enum literal.ExpressionUtils Utility methods for working with SQL expressions.FloatingPointLiteral Representation of a FloatPoint literal in a query.InExpression Expression representing the SQL construct "IN (expr1, expr2, ...)".IntegerLiteral Representation of an Integer literal.MapExpression An 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.MapLiteral An SQL expression that will test if a column of a table falls within the given Map.MapLiteral.MapKeyLiteral An SQL expression that will test if a column of a table falls within the given Map's keys.MapLiteral.MapValueLiteral An SQL expression that will test if a column of a table falls within the given Map's values.NewObjectExpression SQL Expression for creating a new object (in the result clause of a query).NullLiteral Representation of a Null literal in a Query.NumericExpression Representation of a Numeric expression in an SQL statement.NumericSubqueryExpression Numeric expression to wrap a subquery.ObjectExpression Representation of an Object expression in a Query.ObjectLiteral Representation of an Object literal in a query.OptionalExpression Expression for java.util.Optional.OptionalLiteral Literal for java.util.Optional.ParameterLiteral Representation of a literal representing a parameter where we don't know the type of the parameter yet.ResultAliasExpression Expression for use in an ordering clause representing a result alias.SingleCollectionExpression Cover-all expression to represent "single collection" mapped types.SingleCollectionLiteral Cover-all literal to represent "single collection" mapped types.SQLExpression Base expression for SQL.SQLExpression.ColumnExpressionList SQLExpressionFactory Factory for creating SQL expressions/literals.StringExpression Representation of an expression with a string.StringLiteral Representation of a string literal.StringNumericExpression Expression representing a field/property that can be stored as a String or as a Numeric.StringSubqueryExpression String expression to wrap a subquery.StringTemporalExpression Expression representing a field/property that can be stored as a String or as a Temporal.SubqueryExpression Expression containing a subquery.TemporalExpression Representation of temporal objects in java query languages.TemporalLiteral Representation of temporal literal in a Query.TemporalSubqueryExpression Temporal expression to wrap a subquery.TypeConverterExpression Wrapper expression handler for a TypeConverterMapping to avoid the need to have an explicit mapping for something using a TypeConverter.TypeConverterLiteral Wrapper literal handler for a TypeConverterMapping to avoid the need to have an explicit mapping for something using a TypeConverter.TypeConverterMultiExpression Expression representing a TypeConverterMultiMapping where we have a java type mapped to multiple columns.TypeConverterMultiLiteral Literal for an object persisted using TypeConverterMultiMapping.UnboundExpression Representation of an expression for an unbound variable. -
Exception Summary Exception Description IllegalExpressionOperationException Exception thrown when trying to perform an illegal/unsupported operation on an SQL expression.