Package | Description |
---|---|
org.datanucleus.api.jdo.query |
Package providing DataNucleus' implementation of a typesafe query mechanism, primarily JDOQL.
|
org.datanucleus.query.typesafe |
Package providing a typesafe query mechanism, primarily for JDO.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanExpressionImpl<T>
Implementation of a BooleanExpression
|
class |
ByteExpressionImpl<T>
Implementation of a ByteExpression
|
class |
CharacterExpressionImpl<T>
Implementation of a CharacterExpression
|
class |
CollectionExpressionImpl<T extends Collection<E>,E>
Implementation of a CollectionExpression
|
class |
ComparableExpressionImpl<T>
Implementation of the methods for ComparableExpression.
|
class |
DateExpressionImpl<T>
Implementation of a Date expression.
|
class |
DateTimeExpressionImpl
Implementation of a DateTime expression.
|
class |
EnumExpressionImpl<T>
Implementation of an Enum expression.
|
class |
ExpressionImpl<T>
Implementation of the methods for Expression, to be extended by the XXXExpressionImpl classes.
|
class |
ListExpressionImpl<T extends List<E>,E>
Implementation of a ListExpression.
|
class |
MapExpressionImpl<T extends Map<K,V>,K,V>
Implementation of a MapExpression
|
class |
NumericExpressionImpl<T>
Implementation of a NumericExpression.
|
class |
ObjectExpressionImpl<T>
Implementation of an expression for all unsupported types.
|
class |
PersistableExpressionImpl<T>
(Base) implementation of a persistable expression.
|
class |
StringExpressionImpl
Implementation of a StringExpression
|
class |
TimeExpressionImpl<T>
Implementation of a Time expression.
|
Modifier and Type | Field and Description |
---|---|
protected Expression |
OrderExpressionImpl.orderExpr
The ordering expression.
|
Modifier and Type | Method and Description |
---|---|
Expression |
ExpressionImpl.cast(Class cls) |
Expression |
ListExpressionImpl.get(int pos) |
Expression |
ListExpressionImpl.get(NumericExpression<Integer> posExpr) |
Expression<T> |
OrderExpressionImpl.getExpression() |
protected Expression |
JDOTypesafeSubquery.internalSelect(Expression expr,
Class implClass) |
Expression |
PersistableExpressionImpl.jdoObjectId() |
Expression |
PersistableExpressionImpl.jdoVersion() |
Expression |
JDOTypesafeQuery.parameter(String name,
Class type) |
Expression |
JDOTypesafeQuery.variable(String name,
Class type) |
Modifier and Type | Method and Description |
---|---|
NumericExpression |
NumericExpressionImpl.add(Expression expr) |
StringExpression |
StringExpressionImpl.add(Expression expr)
Method to return an expression for this expression added to the passed expression (String concatenation).
|
BooleanExpression |
CollectionExpressionImpl.contains(Expression expr) |
BooleanExpression |
MapExpressionImpl.containsEntry(Expression expr) |
BooleanExpression |
MapExpressionImpl.containsKey(Expression expr) |
BooleanExpression |
MapExpressionImpl.containsValue(Expression expr) |
NumericExpression |
NumericExpressionImpl.div(Expression expr) |
BooleanExpression |
ExpressionImpl.eq(Expression expr) |
List<Object[]> |
JDOTypesafeQuery.executeResultList(boolean distinct,
Expression... exprs) |
List<Object> |
JDOTypesafeQuery.executeResultList(boolean distinct,
Expression expr) |
<R> List<R> |
JDOTypesafeQuery.executeResultList(Class<R> resultCls,
boolean distinct,
Expression... exprs) |
Object[] |
JDOTypesafeQuery.executeResultUnique(boolean distinct,
Expression... exprs) |
Object |
JDOTypesafeQuery.executeResultUnique(boolean distinct,
Expression expr) |
<R> R |
JDOTypesafeQuery.executeResultUnique(Class<R> resultCls,
boolean distinct,
Expression... exprs) |
TypesafeQuery<T> |
JDOTypesafeQuery.groupBy(Expression... exprs) |
TypesafeSubquery |
JDOTypesafeSubquery.groupBy(Expression... exprs) |
TypesafeQuery<T> |
JDOTypesafeQuery.having(Expression expr) |
TypesafeSubquery |
JDOTypesafeSubquery.having(Expression expr) |
protected Expression |
JDOTypesafeSubquery.internalSelect(Expression expr,
Class implClass) |
NumericExpression |
NumericExpressionImpl.mod(Expression expr) |
NumericExpression |
NumericExpressionImpl.mul(Expression expr) |
BooleanExpression |
ExpressionImpl.ne(Expression expr) |
TypesafeQuery<T> |
JDOTypesafeQuery.range(Expression paramLowerInclExpr,
Expression paramUpperExclExpr) |
TypesafeQuery<T> |
JDOTypesafeQuery.range(Expression paramLowerInclExpr,
Expression paramUpperExclExpr) |
TypesafeQuery<T> |
JDOTypesafeQuery.set(Expression expr,
Object val)
Method to specify the update of a field of the candidate.
|
TypesafeQuery<T> |
JDOTypesafeQuery.setParameter(Expression paramExpr,
Object value) |
NumericExpression |
NumericExpressionImpl.sub(Expression expr) |
Constructor and Description |
---|
OrderExpressionImpl(Expression<T> expr,
OrderExpression.OrderDirection dir) |
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanExpression
Representation of a boolean expression.
|
interface |
ByteExpression
Representation of a byte expression.
|
interface |
CharacterExpression
Representation of a character expression.
|
interface |
CollectionExpression<T extends Collection<E>,E>
Representation of a collection in a query.
|
interface |
ComparableExpression<T>
Representation of an expression for a Java type that implements java.lang.Comparable.
|
interface |
DateExpression<T>
Representation of a date in a query.
|
interface |
DateTimeExpression<T>
Representation of a date-time type in a query.
|
interface |
EnumExpression<T>
Representation of an Enum in a query.
|
interface |
ListExpression<T extends List<E>,E>
Representation of a List in a query.
|
interface |
MapExpression<T extends Map<K,V>,K,V>
Representation of a map in a query.
|
interface |
NumericExpression<T>
Representation of a numeric expression.
|
interface |
ObjectExpression<T>
Representation of an Object as an expression.
|
interface |
PersistableExpression<T>
Expression representing a persistable object in a query (e.g alias.persistableField).
|
interface |
StringExpression
Representation of a string in a query.
|
interface |
TemporalExpression<T>
Representation of a temporal type in a query.
|
interface |
TimeExpression<T>
Representation of a time in a query.
|
Modifier and Type | Method and Description |
---|---|
Expression |
Expression.cast(Class cls)
Return an expression where this expression is cast to the specified type.
|
Expression |
ListExpression.get(int pos)
Method returning the element at this position in the List.
|
Expression |
ListExpression.get(NumericExpression<Integer> posExpr)
Method returning the element at this position in the List.
|
Expression<T> |
OrderExpression.getExpression()
Accessor for the expression being used for ordering.
|
Expression |
PersistableExpression.jdoObjectId()
Method to return an expression for the identity of this persistable object.
|
Expression |
PersistableExpression.jdoVersion()
Method to return an expression for the version of this persistable object.
|
Expression |
TypesafeQuery.parameter(String name,
Class type)
Method to return a parameter for the query.
|
Expression |
TypesafeQuery.variable(String name,
Class type)
Method to return a variable for this query.
|
Modifier and Type | Method and Description |
---|---|
NumericExpression |
NumericExpression.add(Expression expr)
Method to return an expression for this expression added to the passed expression.
|
StringExpression |
StringExpression.add(Expression expr)
Method to return an expression for this expression added to the passed expression (String concatenation).
|
BooleanExpression |
CollectionExpression.contains(Expression expr)
Method returning whether the specified elementexpression is contained in this collection.
|
BooleanExpression |
MapExpression.containsEntry(Expression expr)
Method returning whether the specified entry expression is contained in this map.
|
BooleanExpression |
MapExpression.containsKey(Expression expr)
Method returning whether the specified key expression is contained in this map.
|
BooleanExpression |
MapExpression.containsValue(Expression expr)
Method returning whether the specified value expression is contained in this map.
|
NumericExpression |
NumericExpression.div(Expression expr)
Method to return an expression for this expression divided by the passed expression.
|
BooleanExpression |
Expression.eq(Expression expr)
Method returning whether this expression equals the other expression.
|
List<Object[]> |
TypesafeQuery.executeResultList(boolean distinct,
Expression... exprs)
Method to execute the query where there are (potentially) multiple rows and we have a result defined
but no result class.
|
List<Object> |
TypesafeQuery.executeResultList(boolean distinct,
Expression expr)
Method to execute the query where there are (potentially) multiple rows and we have a single result defined
but no result class.
|
<R> List<R> |
TypesafeQuery.executeResultList(Class<R> resultCls,
boolean distinct,
Expression... exprs)
Method to execute the query where there are (potentially) multiple rows and we are returning either a
result type or the candidate type.
|
Object[] |
TypesafeQuery.executeResultUnique(boolean distinct,
Expression... exprs)
Method to execute the query where there is a single row and we have a result defined
but no result class.
|
Object |
TypesafeQuery.executeResultUnique(boolean distinct,
Expression expr)
Method to execute the query where there is a single row and we have a single result defined
but no result class.
|
<R> R |
TypesafeQuery.executeResultUnique(Class<R> resultCls,
boolean distinct,
Expression... exprs)
Method to execute the query where there is a single row and we are returning either a result type
or the candidate type.
|
TypesafeQuery<T> |
TypesafeQuery.groupBy(Expression... exprs)
Method to set the grouping(s) for the query.
|
TypesafeSubquery |
TypesafeSubquery.groupBy(Expression... exprs)
Method to set the grouping(s) for the query.
|
TypesafeQuery<T> |
TypesafeQuery.having(Expression expr)
Method to set the having clause of the query.
|
TypesafeSubquery |
TypesafeSubquery.having(Expression expr)
Method to set the having clause of the query.
|
NumericExpression |
NumericExpression.mod(Expression expr)
Method to return an expression for this expression modulus the passed expression (
|
NumericExpression |
NumericExpression.mul(Expression expr)
Method to return an expression for this expression multiplied by the passed expression.
|
BooleanExpression |
Expression.ne(Expression expr)
Method returning whether this expression doesn't equal the other expression.
|
TypesafeQuery<T> |
TypesafeQuery.range(Expression paramLowerInclExpr,
Expression paramUpperExclExpr)
Method to set the range of any required results, using parameters (expressions).
|
TypesafeQuery<T> |
TypesafeQuery.range(Expression paramLowerInclExpr,
Expression paramUpperExclExpr)
Method to set the range of any required results, using parameters (expressions).
|
TypesafeQuery<T> |
TypesafeQuery.setParameter(Expression paramExpr,
Object value)
Method to set a parameter value for use when executing the query.
|
NumericExpression |
NumericExpression.sub(Expression expr)
Method to return an expression for this expression subtracting the passed expression.
|
Copyright © 2023. All rights reserved.