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.
|
Modifier and Type | Method and Description |
---|---|
String |
OracleAdapter.getOrderString(org.datanucleus.store.StoreManager storeMgr,
String orderString,
SQLExpression sqlExpr)
Convenience method to allow adaption of an ordering string before applying it.
|
String |
DatastoreAdapter.getOrderString(org.datanucleus.store.StoreManager storeMgr,
String orderString,
SQLExpression sqlExpr)
Convenience method to allow adaption of an ordering string before applying it.
|
String |
BaseDatastoreAdapter.getOrderString(org.datanucleus.store.StoreManager storeMgr,
String orderString,
SQLExpression sqlExpr)
Convenience method to allow adaption of an ordering string before applying it.
|
Modifier and Type | Method and Description |
---|---|
SQLExpression |
QueryToSQLMapper.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.
|
SQLExpression |
QueryGenerator.bindVariable(UnboundExpression expr,
Class type)
Method to bind the specified unbound variable (as cross join).
|
protected SQLExpression |
QueryToSQLMapper.processUnboundExpression(UnboundExpression expr) |
protected SQLExpression |
QueryToSQLMapper.replaceParameterLiteral(ParameterLiteral paramLit,
JavaTypeMapping mapping)
Convenience method to return a parameter-based literal using the supplied mapping to replace
the provided ParameterLiteral (generated before its type was known).
|
Modifier and Type | Method and Description |
---|---|
protected void |
QueryToSQLMapper.validateExpressionForResult(SQLExpression sqlExpr)
Method that validates that the specified expression is valid for use in a result clause.
|
Modifier and Type | Field and Description |
---|---|
protected SQLExpression[] |
SQLStatement.orderingExpressions
Expressions for any ORDER BY clause.
|
protected SQLExpression[] |
SQLStatement.updates
Array of update expressions when the statement is an UPDATE.
|
Modifier and Type | Field and Description |
---|---|
protected List<SQLExpression> |
SQLStatement.groupingExpressions
Expression(s) for the GROUP BY clause.
|
Modifier and Type | Method and Description |
---|---|
void |
SQLStatement.addGroupingExpression(SQLExpression expr)
Method to add a grouping expression to the query.
|
SQLText |
SQLText.append(SQLExpression expr)
Append an SQLExpression.
|
int[] |
SQLStatement.select(SQLExpression expr,
String alias)
Select an expression.
|
protected int |
SQLStatement.selectSQLExpressionInternal(SQLExpression expr,
String alias)
Convenience method for selecting columns when generating the SQL text.
|
void |
SQLStatement.setOrdering(SQLExpression[] exprs,
boolean[] descending)
Mutator for the ordering criteria.
|
void |
SQLStatement.setOrdering(SQLExpression[] exprs,
boolean[] descending,
String[] nullOrders)
Mutator for the ordering criteria.
|
void |
SQLStatement.setUpdates(SQLExpression[] exprs)
Method to set the UPDATE clause of the statement.
|
Modifier and Type | Class and Description |
---|---|
class |
AggregateNumericExpression
Expression for an aggregate function.
|
class |
AggregateTemporalExpression
Expression for an aggregate function.
|
class |
ArrayExpression
Representation of array expression.
|
class |
ArrayLiteral
Representation of array literal.
|
class |
BinaryExpression
Representation of a Binary expression in a Query.
|
class |
BooleanExpression
Representation of a Boolean expression in a Query.
|
class |
BooleanLiteral
Representation of a Boolean literal in a Query.
|
class |
BooleanSubqueryExpression
Boolean expression to wrap a subquery.
|
class |
ByteExpression
Representation of a Byte expression in a Query.
|
class |
ByteLiteral
Representation of a Byte literal.
|
class |
CaseBooleanExpression
Case expression such as
|
class |
CaseExpression
Expression representing the SQL construct
|
class |
CaseNumericExpression
Case expression such as
|
class |
CharacterExpression
Representation of a Character expression in a Query
|
class |
CharacterLiteral
Representation of a Character literal in a Query.
|
class |
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.
|
class |
CollectionLiteral
An SQL expression that will test if a column of a table falls within the given Collection of values.
|
class |
ColumnExpression
Representation of a column expression.
|
class |
DelegatedExpression
Expression for a field/property that can delegate to an internal expression(s).
|
class |
EnumExpression
Expression representing an enum field/property.
|
class |
EnumLiteral
Representation of an Enum literal.
|
class |
FloatingPointLiteral
Representation of a FloatPoint literal in a query.
|
class |
InExpression
Expression representing the SQL construct "IN (expr1, expr2, ...)".
|
class |
IntegerLiteral
Representation of an Integer literal.
|
class |
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.
|
class |
MapLiteral
An SQL expression that will test if a column of a table falls within the given Map.
|
static class |
MapLiteral.MapKeyLiteral
An SQL expression that will test if a column of a table falls within the given Map's keys.
|
static class |
MapLiteral.MapValueLiteral
An SQL expression that will test if a column of a table falls within the given Map's values.
|
class |
NewObjectExpression
SQL Expression for creating a new object (in the result clause of a query).
|
class |
NullLiteral
Representation of a Null literal in a Query.
|
class |
NumericExpression
Representation of a Numeric expression in an SQL statement.
|
class |
NumericSubqueryExpression
Numeric expression to wrap a subquery.
|
class |
ObjectExpression
Representation of an Object expression in a Query.
|
class |
ObjectLiteral
Representation of an Object literal in a query.
|
class |
ParameterLiteral
Representation of a literal representing a parameter where we don't know the type of the parameter yet.
|
class |
StringExpression
Representation of an expression with a string.
|
class |
StringLiteral
Representation of a string literal.
|
class |
StringNumericExpression
Expression representing a field/property that can be stored as a String or as a Numeric.
|
class |
StringSubqueryExpression
String expression to wrap a subquery.
|
class |
StringTemporalExpression
Expression representing a field/property that can be stored as a String or as a Temporal.
|
class |
SubqueryExpression
Expression containing a subquery.
|
class |
TemporalExpression
Representation of temporal objects in java query languages.
|
class |
TemporalLiteral
Representation of temporal literal in a Query.
|
class |
TemporalSubqueryExpression
Temporal expression to wrap a subquery.
|
class |
TypeConverterExpression
Wrapper expression handler for a TypeConverterMapping to avoid the need to have an explicit mapping for something using a TypeConverter.
|
class |
TypeConverterLiteral
Wrapper literal handler for a TypeConverterMapping to avoid the need to have an explicit mapping for something using a TypeConverter.
|
class |
TypeConverterMultiExpression
Expression representing a TypeConverterMultiMapping where we have a java type mapped to multiple columns.
|
class |
TypeConverterMultiLiteral
Literal for an object persisted using TypeConverterMultiMapping.
|
class |
UnboundExpression
Representation of an expression for an unbound variable.
|
Modifier and Type | Field and Description |
---|---|
protected SQLExpression |
DelegatedExpression.delegate
The delegate expression that we use.
|
Modifier and Type | Field and Description |
---|---|
protected List<SQLExpression> |
ArrayExpression.elementExpressions
Expressions for all elements in the array.
|
Modifier and Type | Method and Description |
---|---|
SQLExpression |
IntegerLiteral.add(SQLExpression expr)
If both operands are instances of IntegerLiteral, the operation results in BigInteger type.
|
SQLExpression |
NumericExpression.add(SQLExpression expr) |
SQLExpression |
CharacterLiteral.add(SQLExpression expr) |
SQLExpression |
CharacterExpression.add(SQLExpression expr) |
SQLExpression |
ByteLiteral.add(SQLExpression expr) |
SQLExpression |
ParameterLiteral.add(SQLExpression expr) |
SQLExpression |
DelegatedExpression.add(SQLExpression expr) |
SQLExpression |
StringLiteral.add(SQLExpression expr) |
SQLExpression |
StringExpression.add(SQLExpression expr) |
SQLExpression |
FloatingPointLiteral.add(SQLExpression expr) |
SQLExpression |
NullLiteral.add(SQLExpression expr) |
SQLExpression |
SQLExpression.add(SQLExpression expr)
Additive Operator.
|
SQLExpression |
TemporalExpression.add(SQLExpression expr) |
SQLExpression |
ObjectExpression.cast(SQLExpression expr)
Cast operator.
|
SQLExpression |
SQLExpression.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.
|
SQLExpression |
NumericExpression.com() |
SQLExpression |
CharacterLiteral.com() |
SQLExpression |
CharacterExpression.com() |
SQLExpression |
SQLExpression.com()
Bitwise Complement Operator
|
SQLExpression |
SQLExpression.distinct()
Distinct operator.
|
SQLExpression |
IntegerLiteral.div(SQLExpression expr)
If both operands are instances of IntegerLiteral, the operation results in BigInteger type.
|
SQLExpression |
NumericExpression.div(SQLExpression expr) |
SQLExpression |
CharacterExpression.div(SQLExpression expr) |
SQLExpression |
ByteLiteral.div(SQLExpression expr) |
SQLExpression |
DelegatedExpression.div(SQLExpression expr) |
SQLExpression |
FloatingPointLiteral.div(SQLExpression expr) |
SQLExpression |
SQLExpression.div(SQLExpression expr)
Division Operator.
|
SQLExpression |
SQLExpression.encloseInParentheses()
Method to request the enclosure of this expression within parentheses.
|
SQLExpression |
DelegatedExpression.getDelegate()
Accessor for the delegate that represents this enum.
|
static SQLExpression |
ExpressionUtils.getEscapedPatternExpression(SQLExpression patternExpr)
The pattern string for representing one character.
|
static SQLExpression |
ExpressionUtils.getLiteralForOne(SQLStatement stmt)
Convenience accessor for a literal for the number 1.
|
SQLExpression |
ByteExpression.invoke(String methodName,
List args) |
SQLExpression |
CharacterLiteral.invoke(String methodName,
List args) |
SQLExpression |
ArrayExpression.invoke(String methodName,
List args) |
SQLExpression |
NumericSubqueryExpression.invoke(String methodName,
List args) |
SQLExpression |
CharacterExpression.invoke(String methodName,
List args) |
SQLExpression |
StringSubqueryExpression.invoke(String methodName,
List args) |
SQLExpression |
ObjectExpression.invoke(String methodName,
List args) |
SQLExpression |
DelegatedExpression.invoke(String methodName,
List args) |
SQLExpression |
CollectionExpression.invoke(String methodName,
List args) |
SQLExpression |
StringExpression.invoke(String methodName,
List args) |
SQLExpression |
MapLiteral.MapKeyLiteral.invoke(String methodName,
List args) |
SQLExpression |
TypeConverterMultiExpression.invoke(String methodName,
List args) |
SQLExpression |
TemporalLiteral.invoke(String methodName,
List args) |
SQLExpression |
CollectionLiteral.invoke(String methodName,
List args) |
SQLExpression |
SQLExpression.invoke(String methodName,
List args)
Invocation of a method on this expression.
|
SQLExpression |
TemporalSubqueryExpression.invoke(String methodName,
List args) |
SQLExpression |
MapExpression.invoke(String methodName,
List args) |
SQLExpression |
TemporalExpression.invoke(String methodName,
List args) |
SQLExpression |
BooleanExpression.invoke(String methodName,
List args) |
SQLExpression |
SQLExpressionFactory.invokeMethod(SQLStatement stmt,
String className,
String methodName,
SQLExpression expr,
List args)
Accessor for the result of a method call on the supplied expression with the supplied args.
|
SQLExpression |
SQLExpressionFactory.invokeOperation(String name,
SQLExpression expr,
SQLExpression expr2)
Accessor for the result of an operation call on the supplied expression with the supplied args.
|
SQLExpression |
IntegerLiteral.mod(SQLExpression expr)
If both operands are instances of IntegerLiteral, the operation results in BigInteger type.
|
SQLExpression |
NumericExpression.mod(SQLExpression expr)
Method to return a modulus expression.
|
SQLExpression |
CharacterLiteral.mod(SQLExpression expr) |
SQLExpression |
CharacterExpression.mod(SQLExpression expr)
Method to return a modulus expression.
|
SQLExpression |
ByteLiteral.mod(SQLExpression expr) |
SQLExpression |
DelegatedExpression.mod(SQLExpression expr) |
SQLExpression |
SQLExpression.mod(SQLExpression expr)
Remainder Operator.
|
SQLExpression |
IntegerLiteral.mul(SQLExpression expr)
If both operands are instances of IntegerLiteral, the operation results in BigInteger type.
|
SQLExpression |
NumericExpression.mul(SQLExpression expr) |
SQLExpression |
CharacterExpression.mul(SQLExpression expr) |
SQLExpression |
ByteLiteral.mul(SQLExpression expr) |
SQLExpression |
DelegatedExpression.mul(SQLExpression expr) |
SQLExpression |
FloatingPointLiteral.mul(SQLExpression expr) |
SQLExpression |
SQLExpression.mul(SQLExpression expr)
Multiplication Operator
|
SQLExpression |
IntegerLiteral.neg()
Negate operation.
|
SQLExpression |
NumericExpression.neg() |
SQLExpression |
CharacterLiteral.neg() |
SQLExpression |
CharacterExpression.neg() |
SQLExpression |
ByteLiteral.neg() |
SQLExpression |
FloatingPointLiteral.neg() |
SQLExpression |
SQLExpression.neg()
Unary Minus Operator
|
SQLExpression |
SQLExpressionFactory.newExpression(SQLStatement stmt,
SQLTable sqlTbl,
JavaTypeMapping mapping)
Factory for an expression representing a mapping on a table.
|
SQLExpression |
SQLExpressionFactory.newExpression(SQLStatement stmt,
SQLTable sqlTbl,
JavaTypeMapping mapping,
JavaTypeMapping parentMapping)
Factory for an expression representing a mapping on a table.
|
SQLExpression |
SQLExpressionFactory.newLiteral(SQLStatement stmt,
JavaTypeMapping mapping,
Object value)
Factory for a literal representing a value.
|
SQLExpression |
SQLExpressionFactory.newLiteralParameter(SQLStatement stmt,
JavaTypeMapping mapping,
Object value,
String paramName)
Factory for a literal as an input parameter.
|
SQLExpression |
IntegerLiteral.sub(SQLExpression expr)
If both operands are instances of IntegerLiteral, the operation results in BigInteger type.
|
SQLExpression |
NumericExpression.sub(SQLExpression expr) |
SQLExpression |
CharacterLiteral.sub(SQLExpression expr) |
SQLExpression |
CharacterExpression.sub(SQLExpression expr) |
SQLExpression |
ByteLiteral.sub(SQLExpression expr) |
SQLExpression |
DelegatedExpression.sub(SQLExpression expr) |
SQLExpression |
FloatingPointLiteral.sub(SQLExpression expr) |
SQLExpression |
SQLExpression.sub(SQLExpression expr)
Additive Operator.
|
SQLExpression |
TemporalExpression.sub(SQLExpression expr) |
Modifier and Type | Method and Description |
---|---|
List<SQLExpression> |
NewObjectExpression.getConstructorArgExpressions() |
List<SQLExpression> |
ArrayExpression.getElementExpressions() |
List<SQLExpression> |
CollectionLiteral.getElementExpressions() |
List<SQLExpression> |
MapLiteral.MapKeyLiteral.getKeyExpressions() |
List<SQLExpression> |
MapLiteral.MapValueLiteral.getValueExpressions() |
Modifier and Type | Method and Description |
---|---|
SQLExpression |
IntegerLiteral.add(SQLExpression expr)
If both operands are instances of IntegerLiteral, the operation results in BigInteger type.
|
SQLExpression |
NumericExpression.add(SQLExpression expr) |
SQLExpression |
CharacterLiteral.add(SQLExpression expr) |
SQLExpression |
CharacterExpression.add(SQLExpression expr) |
SQLExpression |
ByteLiteral.add(SQLExpression expr) |
SQLExpression |
ParameterLiteral.add(SQLExpression expr) |
SQLExpression |
DelegatedExpression.add(SQLExpression expr) |
SQLExpression |
StringLiteral.add(SQLExpression expr) |
SQLExpression |
StringExpression.add(SQLExpression expr) |
SQLExpression |
FloatingPointLiteral.add(SQLExpression expr) |
SQLExpression |
NullLiteral.add(SQLExpression expr) |
SQLExpression |
SQLExpression.add(SQLExpression expr)
Additive Operator.
|
SQLExpression |
TemporalExpression.add(SQLExpression expr) |
protected void |
ObjectExpression.addSubexpressionsToRelatedExpression(SQLExpression expr)
Updates the supplied expression with sub-expressions of consistent types to this expression.
|
BooleanExpression |
BooleanLiteral.and(SQLExpression expr) |
BooleanExpression |
SQLExpression.and(SQLExpression expr)
Conditional And.
|
BooleanExpression |
BooleanExpression.and(SQLExpression expr) |
SQLExpression |
ObjectExpression.cast(SQLExpression expr)
Cast operator.
|
SQLExpression |
SQLExpression.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 void |
ExpressionUtils.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 void |
ExpressionUtils.checkAndCorrectLiteralForConsistentMappingsForBooleanComparison(SQLLiteral lit,
SQLExpression expr) |
SQLExpression |
IntegerLiteral.div(SQLExpression expr)
If both operands are instances of IntegerLiteral, the operation results in BigInteger type.
|
SQLExpression |
NumericExpression.div(SQLExpression expr) |
SQLExpression |
CharacterExpression.div(SQLExpression expr) |
SQLExpression |
ByteLiteral.div(SQLExpression expr) |
SQLExpression |
DelegatedExpression.div(SQLExpression expr) |
SQLExpression |
FloatingPointLiteral.div(SQLExpression expr) |
SQLExpression |
SQLExpression.div(SQLExpression expr)
Division Operator.
|
BooleanExpression |
BooleanLiteral.eor(SQLExpression expr) |
BooleanExpression |
SQLExpression.eor(SQLExpression expr)
Exclusive OR
|
BooleanExpression |
BooleanExpression.eor(SQLExpression expr) |
BooleanExpression |
ByteExpression.eq(SQLExpression expr) |
BooleanExpression |
IntegerLiteral.eq(SQLExpression expr) |
BooleanExpression |
ObjectLiteral.eq(SQLExpression expr)
Method called when the query contains "object == value".
|
BooleanExpression |
BooleanLiteral.eq(SQLExpression expr) |
BooleanExpression |
NumericExpression.eq(SQLExpression expr) |
BooleanExpression |
CharacterLiteral.eq(SQLExpression expr) |
BooleanExpression |
ArrayExpression.eq(SQLExpression expr) |
BooleanExpression |
NumericSubqueryExpression.eq(SQLExpression expr) |
BooleanExpression |
CharacterExpression.eq(SQLExpression expr) |
BooleanExpression |
StringSubqueryExpression.eq(SQLExpression expr) |
BooleanExpression |
CaseExpression.eq(SQLExpression expr) |
BooleanExpression |
ByteLiteral.eq(SQLExpression expr) |
BooleanExpression |
ParameterLiteral.eq(SQLExpression expr) |
BooleanExpression |
ObjectExpression.eq(SQLExpression expr)
Equals operator.
|
BooleanExpression |
DelegatedExpression.eq(SQLExpression expr) |
BooleanExpression |
CollectionExpression.eq(SQLExpression expr)
Method to return the expression for comparing a collection with a value.
|
BooleanExpression |
StringLiteral.eq(SQLExpression expr) |
BooleanExpression |
StringExpression.eq(SQLExpression expr) |
BooleanExpression |
FloatingPointLiteral.eq(SQLExpression expr) |
BooleanExpression |
ColumnExpression.eq(SQLExpression expr) |
BooleanExpression |
NullLiteral.eq(SQLExpression expr) |
BooleanExpression |
BinaryExpression.eq(SQLExpression expr) |
BooleanExpression |
SQLExpression.eq(SQLExpression expr)
Equality operator (equals to)
|
BooleanExpression |
TemporalSubqueryExpression.eq(SQLExpression expr) |
BooleanExpression |
MapExpression.eq(SQLExpression expr)
Method to return the expression for comparing a map with a value.
|
BooleanExpression |
TemporalExpression.eq(SQLExpression expr) |
BooleanExpression |
BooleanExpression.eq(SQLExpression expr) |
BooleanExpression |
ByteExpression.ge(SQLExpression expr) |
BooleanExpression |
IntegerLiteral.ge(SQLExpression expr) |
BooleanExpression |
NumericExpression.ge(SQLExpression expr) |
BooleanExpression |
CharacterLiteral.ge(SQLExpression expr) |
BooleanExpression |
NumericSubqueryExpression.ge(SQLExpression expr) |
BooleanExpression |
CharacterExpression.ge(SQLExpression expr) |
BooleanExpression |
StringSubqueryExpression.ge(SQLExpression expr) |
BooleanExpression |
CaseExpression.ge(SQLExpression expr) |
BooleanExpression |
ByteLiteral.ge(SQLExpression expr) |
BooleanExpression |
ParameterLiteral.ge(SQLExpression expr) |
BooleanExpression |
ObjectExpression.ge(SQLExpression expr) |
BooleanExpression |
DelegatedExpression.ge(SQLExpression expr) |
BooleanExpression |
StringLiteral.ge(SQLExpression expr) |
BooleanExpression |
StringExpression.ge(SQLExpression expr) |
BooleanExpression |
FloatingPointLiteral.ge(SQLExpression expr) |
BooleanExpression |
SQLExpression.ge(SQLExpression expr)
Relational operator (greater than or equals)
|
BooleanExpression |
TemporalSubqueryExpression.ge(SQLExpression expr) |
BooleanExpression |
TemporalExpression.ge(SQLExpression expr) |
static BooleanExpression |
ExpressionUtils.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 SQLExpression |
ExpressionUtils.getEscapedPatternExpression(SQLExpression patternExpr)
The pattern string for representing one character.
|
static NumericExpression |
ExpressionUtils.getNumericExpression(SQLExpression expr)
Method to return a numeric expression for the supplied SQL expression.
|
static StringExpression |
ExpressionUtils.getStringExpression(SQLExpression expr)
Method to convert the provided expression into a String-based expression using the datastore.
|
BooleanExpression |
ByteExpression.gt(SQLExpression expr) |
BooleanExpression |
IntegerLiteral.gt(SQLExpression expr) |
BooleanExpression |
NumericExpression.gt(SQLExpression expr) |
BooleanExpression |
CharacterLiteral.gt(SQLExpression expr) |
BooleanExpression |
NumericSubqueryExpression.gt(SQLExpression expr) |
BooleanExpression |
CharacterExpression.gt(SQLExpression expr) |
BooleanExpression |
StringSubqueryExpression.gt(SQLExpression expr) |
BooleanExpression |
CaseExpression.gt(SQLExpression expr) |
BooleanExpression |
ByteLiteral.gt(SQLExpression expr) |
BooleanExpression |
ParameterLiteral.gt(SQLExpression expr) |
BooleanExpression |
ObjectExpression.gt(SQLExpression expr) |
BooleanExpression |
DelegatedExpression.gt(SQLExpression expr) |
BooleanExpression |
StringLiteral.gt(SQLExpression expr) |
BooleanExpression |
StringExpression.gt(SQLExpression expr) |
BooleanExpression |
FloatingPointLiteral.gt(SQLExpression expr) |
BooleanExpression |
BinaryExpression.gt(SQLExpression expr) |
BooleanExpression |
SQLExpression.gt(SQLExpression expr)
Relational operator (greater than)
|
BooleanExpression |
TemporalSubqueryExpression.gt(SQLExpression expr) |
BooleanExpression |
TemporalExpression.gt(SQLExpression expr) |
BooleanExpression |
BinaryExpression.gteq(SQLExpression expr) |
BooleanExpression |
NumericExpression.in(SQLExpression expr,
boolean not) |
BooleanExpression |
CharacterExpression.in(SQLExpression expr,
boolean not) |
BooleanExpression |
ObjectExpression.in(SQLExpression expr,
boolean not) |
BooleanExpression |
StringExpression.in(SQLExpression expr,
boolean not) |
BooleanExpression |
BinaryExpression.in(SQLExpression expr,
boolean not) |
BooleanExpression |
SQLExpression.in(SQLExpression expr,
boolean not)
In expression.
|
BooleanExpression |
TemporalExpression.in(SQLExpression expr,
boolean not) |
BooleanExpression |
BooleanExpression.in(SQLExpression expr,
boolean not) |
SQLExpression |
SQLExpressionFactory.invokeMethod(SQLStatement stmt,
String className,
String methodName,
SQLExpression expr,
List args)
Accessor for the result of a method call on the supplied expression with the supplied args.
|
SQLExpression |
SQLExpressionFactory.invokeOperation(String name,
SQLExpression expr,
SQLExpression expr2)
Accessor for the result of an operation call on the supplied expression with the supplied args.
|
BooleanExpression |
BooleanLiteral.ior(SQLExpression expr) |
BooleanExpression |
SQLExpression.ior(SQLExpression expr)
Conditional OR.
|
BooleanExpression |
BooleanExpression.ior(SQLExpression expr) |
BooleanExpression |
ObjectExpression.is(SQLExpression expr,
boolean not)
An "is" (instanceOf) expression, providing a BooleanExpression whether this expression
is an instanceof the provided type.
|
BooleanExpression |
SQLExpression.is(SQLExpression expr,
boolean not)
An "is" (instanceOf) expression, providing a BooleanExpression whether this expression
is an instanceof the provided type.
|
BooleanExpression |
ByteExpression.le(SQLExpression expr) |
BooleanExpression |
IntegerLiteral.le(SQLExpression expr) |
BooleanExpression |
NumericExpression.le(SQLExpression expr) |
BooleanExpression |
CharacterLiteral.le(SQLExpression expr) |
BooleanExpression |
NumericSubqueryExpression.le(SQLExpression expr) |
BooleanExpression |
CharacterExpression.le(SQLExpression expr) |
BooleanExpression |
StringSubqueryExpression.le(SQLExpression expr) |
BooleanExpression |
CaseExpression.le(SQLExpression expr) |
BooleanExpression |
ByteLiteral.le(SQLExpression expr) |
BooleanExpression |
ParameterLiteral.le(SQLExpression expr) |
BooleanExpression |
ObjectExpression.le(SQLExpression expr) |
BooleanExpression |
DelegatedExpression.le(SQLExpression expr) |
BooleanExpression |
StringLiteral.le(SQLExpression expr) |
BooleanExpression |
StringExpression.le(SQLExpression expr) |
BooleanExpression |
FloatingPointLiteral.le(SQLExpression expr) |
BooleanExpression |
SQLExpression.le(SQLExpression expr)
Relational operator (lower than or equals)
|
BooleanExpression |
TemporalSubqueryExpression.le(SQLExpression expr) |
BooleanExpression |
TemporalExpression.le(SQLExpression expr) |
BooleanExpression |
ByteExpression.lt(SQLExpression expr) |
BooleanExpression |
IntegerLiteral.lt(SQLExpression expr) |
BooleanExpression |
NumericExpression.lt(SQLExpression expr) |
BooleanExpression |
CharacterLiteral.lt(SQLExpression expr) |
BooleanExpression |
NumericSubqueryExpression.lt(SQLExpression expr) |
BooleanExpression |
CharacterExpression.lt(SQLExpression expr) |
BooleanExpression |
StringSubqueryExpression.lt(SQLExpression expr) |
BooleanExpression |
CaseExpression.lt(SQLExpression expr) |
BooleanExpression |
ByteLiteral.lt(SQLExpression expr) |
BooleanExpression |
ParameterLiteral.lt(SQLExpression expr) |
BooleanExpression |
ObjectExpression.lt(SQLExpression expr) |
BooleanExpression |
DelegatedExpression.lt(SQLExpression expr) |
BooleanExpression |
StringLiteral.lt(SQLExpression expr) |
BooleanExpression |
StringExpression.lt(SQLExpression expr) |
BooleanExpression |
FloatingPointLiteral.lt(SQLExpression expr) |
BooleanExpression |
BinaryExpression.lt(SQLExpression expr) |
BooleanExpression |
SQLExpression.lt(SQLExpression expr)
Relational operator (lower than)
|
BooleanExpression |
TemporalSubqueryExpression.lt(SQLExpression expr) |
BooleanExpression |
TemporalExpression.lt(SQLExpression expr) |
BooleanExpression |
BinaryExpression.lteq(SQLExpression expr) |
SQLExpression |
IntegerLiteral.mod(SQLExpression expr)
If both operands are instances of IntegerLiteral, the operation results in BigInteger type.
|
SQLExpression |
NumericExpression.mod(SQLExpression expr)
Method to return a modulus expression.
|
SQLExpression |
CharacterLiteral.mod(SQLExpression expr) |
SQLExpression |
CharacterExpression.mod(SQLExpression expr)
Method to return a modulus expression.
|
SQLExpression |
ByteLiteral.mod(SQLExpression expr) |
SQLExpression |
DelegatedExpression.mod(SQLExpression expr) |
SQLExpression |
SQLExpression.mod(SQLExpression expr)
Remainder Operator.
|
SQLExpression |
IntegerLiteral.mul(SQLExpression expr)
If both operands are instances of IntegerLiteral, the operation results in BigInteger type.
|
SQLExpression |
NumericExpression.mul(SQLExpression expr) |
SQLExpression |
CharacterExpression.mul(SQLExpression expr) |
SQLExpression |
ByteLiteral.mul(SQLExpression expr) |
SQLExpression |
DelegatedExpression.mul(SQLExpression expr) |
SQLExpression |
FloatingPointLiteral.mul(SQLExpression expr) |
SQLExpression |
SQLExpression.mul(SQLExpression expr)
Multiplication Operator
|
BooleanExpression |
ByteExpression.ne(SQLExpression expr) |
BooleanExpression |
IntegerLiteral.ne(SQLExpression expr) |
BooleanExpression |
ObjectLiteral.ne(SQLExpression expr)
Method called when the query contains "object NOTEQUALS value".
|
BooleanExpression |
BooleanLiteral.ne(SQLExpression expr) |
BooleanExpression |
NumericExpression.ne(SQLExpression expr) |
BooleanExpression |
CharacterLiteral.ne(SQLExpression expr) |
BooleanExpression |
ArrayExpression.ne(SQLExpression expr) |
BooleanExpression |
NumericSubqueryExpression.ne(SQLExpression expr) |
BooleanExpression |
CharacterExpression.ne(SQLExpression expr) |
BooleanExpression |
StringSubqueryExpression.ne(SQLExpression expr) |
BooleanExpression |
CaseExpression.ne(SQLExpression expr) |
BooleanExpression |
ByteLiteral.ne(SQLExpression expr) |
BooleanExpression |
ParameterLiteral.ne(SQLExpression expr) |
BooleanExpression |
ObjectExpression.ne(SQLExpression expr)
Not equals operator.
|
BooleanExpression |
DelegatedExpression.ne(SQLExpression expr) |
BooleanExpression |
CollectionExpression.ne(SQLExpression expr)
Method to return the expression for comparing a collection with a value.
|
BooleanExpression |
StringLiteral.ne(SQLExpression expr) |
BooleanExpression |
StringExpression.ne(SQLExpression expr) |
BooleanExpression |
FloatingPointLiteral.ne(SQLExpression expr) |
BooleanExpression |
NullLiteral.ne(SQLExpression expr) |
BooleanExpression |
SQLExpression.ne(SQLExpression expr)
Not equality operator (not equals to)
|
BooleanExpression |
TemporalSubqueryExpression.ne(SQLExpression expr) |
BooleanExpression |
MapExpression.ne(SQLExpression expr)
Method to return the expression for comparing a map with a value.
|
BooleanExpression |
TemporalExpression.ne(SQLExpression expr) |
BooleanExpression |
BooleanExpression.ne(SQLExpression expr) |
BooleanExpression |
ColumnExpression.noteq(SQLExpression expr) |
BooleanExpression |
BinaryExpression.noteq(SQLExpression expr) |
protected BooleanExpression |
ObjectExpression.processComparisonOfImplementationWithReference(SQLExpression refExpr,
SQLExpression implExpr,
boolean negate) |
SQLExpression |
IntegerLiteral.sub(SQLExpression expr)
If both operands are instances of IntegerLiteral, the operation results in BigInteger type.
|
SQLExpression |
NumericExpression.sub(SQLExpression expr) |
SQLExpression |
CharacterLiteral.sub(SQLExpression expr) |
SQLExpression |
CharacterExpression.sub(SQLExpression expr) |
SQLExpression |
ByteLiteral.sub(SQLExpression expr) |
SQLExpression |
DelegatedExpression.sub(SQLExpression expr) |
SQLExpression |
FloatingPointLiteral.sub(SQLExpression expr) |
SQLExpression |
SQLExpression.sub(SQLExpression expr)
Additive Operator.
|
SQLExpression |
TemporalExpression.sub(SQLExpression expr) |
Constructor and Description |
---|
ArrayExpression(SQLStatement stmt,
JavaTypeMapping mapping,
SQLExpression[] exprs)
Constructor for an SQL expression for an array expression specified in the query.
|
BooleanExpression(org.datanucleus.query.expression.Expression.MonadicOperator op,
SQLExpression expr1)
Perform an operation
|
BooleanExpression(SQLExpression expr1,
org.datanucleus.query.expression.Expression.DyadicOperator op,
SQLExpression expr2)
Perform an operation
|
ByteExpression(org.datanucleus.query.expression.Expression.MonadicOperator op,
SQLExpression expr1)
Perform an operation
|
ByteExpression(SQLExpression expr1,
org.datanucleus.query.expression.Expression.DyadicOperator op,
SQLExpression expr2)
Perform an operation
|
CaseBooleanExpression(SQLExpression[] whenExprs,
SQLExpression[] actionExprs,
SQLExpression elseExpr) |
CaseBooleanExpression(SQLExpression[] whenExprs,
SQLExpression[] actionExprs,
SQLExpression elseExpr) |
CaseBooleanExpression(SQLExpression[] whenExprs,
SQLExpression[] actionExprs,
SQLExpression elseExpr) |
CaseExpression(SQLExpression[] whenExprs,
SQLExpression[] actionExprs,
SQLExpression elseExpr) |
CaseExpression(SQLExpression[] whenExprs,
SQLExpression[] actionExprs,
SQLExpression elseExpr) |
CaseExpression(SQLExpression[] whenExprs,
SQLExpression[] actionExprs,
SQLExpression elseExpr) |
CaseNumericExpression(SQLExpression[] whenExprs,
SQLExpression[] actionExprs,
SQLExpression elseExpr) |
CaseNumericExpression(SQLExpression[] whenExprs,
SQLExpression[] actionExprs,
SQLExpression elseExpr) |
CaseNumericExpression(SQLExpression[] whenExprs,
SQLExpression[] actionExprs,
SQLExpression elseExpr) |
IllegalExpressionOperationException(SQLExpression operand1,
String operation,
SQLExpression operand2)
Constructor.
|
IllegalExpressionOperationException(String operation,
SQLExpression operand)
Constructor.
|
InExpression(SQLExpression expr,
SQLExpression[] exprs)
Constructor for an IN expression.
|
InExpression(SQLExpression expr,
SQLExpression[] exprs)
Constructor for an IN expression.
|
NumericExpression(org.datanucleus.query.expression.Expression.MonadicOperator op,
SQLExpression expr1)
Perform an operation
|
NumericExpression(SQLExpression expr1,
org.datanucleus.query.expression.Expression.DyadicOperator op,
SQLExpression expr2)
Perform an operation
|
SQLExpression(org.datanucleus.query.expression.Expression.MonadicOperator op,
SQLExpression expr1)
Perform an operation "op" on expression "expr1".
|
SQLExpression(SQLExpression expr1,
org.datanucleus.query.expression.Expression.DyadicOperator op,
SQLExpression expr2)
Perform an operation "op" between "expr1" and "expr2".
|
StringExpression(org.datanucleus.query.expression.Expression.MonadicOperator op,
SQLExpression expr1)
Perform an operation
|
StringExpression(SQLExpression expr1,
org.datanucleus.query.expression.Expression.DyadicOperator op,
SQLExpression expr2)
Perform an operation
|
TemporalExpression(SQLExpression expr1,
org.datanucleus.query.expression.Expression.DyadicOperator op,
SQLExpression expr2) |
Constructor and Description |
---|
BinaryExpression(SQLStatement stmt,
JavaTypeMapping mapping,
String functionName,
List<SQLExpression> args,
List types) |
NewObjectExpression(SQLStatement stmt,
Class cls,
List<SQLExpression> args) |
SQLExpression(SQLStatement stmt,
JavaTypeMapping mapping,
String functionName,
List<SQLExpression> args,
List types)
Generates statement as "FUNCTION_NAME(arg [AS type] [,argN [AS typeN]])".
|
Modifier and Type | Method and Description |
---|---|
SQLExpression |
Concat3Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
Mod3Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
Concat2Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
NumericToString3Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
Mod2Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
NumericToString2Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
NumericToStringOperation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
SQLOperation.getExpression(SQLExpression expr,
SQLExpression expr2)
Return the expression for this SQL function.
|
Modifier and Type | Method and Description |
---|---|
SQLExpression |
Concat3Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
Mod3Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
Concat2Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
NumericToString3Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
Mod2Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
NumericToString2Operation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
NumericToStringOperation.getExpression(SQLExpression expr,
SQLExpression expr2) |
SQLExpression |
SQLOperation.getExpression(SQLExpression expr,
SQLExpression expr2)
Return the expression for this SQL function.
|
Copyright © 2015. All rights reserved.