## Uses of Interface
javax.jdo.query.Expression

- Packages that use Expression
  Package | Description
  --- | ---
  javax.jdo | This package contains the JDO specification interfaces and classes.
  javax.jdo.query | Package providing expressions for building a typed JDOQL query.

- - ### Uses of Expression in javax.jdo

    Methods in javax.jdo that return Expression
    Modifier and Type | Method and Description
    --- | ---
    `<P> Expression<P>` | JDOQLTypedQuery.`parameter(String name, Class<P> type)` Method to return a parameter for the query.
    `<P> Expression<P>` | JDOQLTypedQuery.`parameter(String name, Class<P> type)` Method to return a parameter for the query.
    `<V> Expression<V>` | JDOQLTypedQuery.`variable(String name, Class<V> type)` Method to return a variable for this query.
    `<V> Expression<V>` | JDOQLTypedQuery.`variable(String name, Class<V> type)` Method to return a variable for this query.

    Methods in javax.jdo with parameters of type Expression
    Modifier and Type | Method and Description
    --- | ---
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`groupBy(Expression<?>... exprs)` Method to set the grouping(s) for the query.
    `JDOQLTypedSubquery<T>` | JDOQLTypedSubquery.`groupBy(Expression<?>... exprs)` Method to set the grouping(s) for the query.
    `JDOQLTypedSubquery<T>` | JDOQLTypedSubquery.`groupBy(Expression<?>... exprs)` Method to set the grouping(s) for the query.
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`groupBy(Expression<?>... exprs)` Method to set the grouping(s) for the query.
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`having(Expression<?> expr)` Method to set the having clause of the query.
    `JDOQLTypedSubquery<T>` | JDOQLTypedSubquery.`having(Expression<?> expr)` Method to set the having clause of the query.
    `JDOQLTypedSubquery<T>` | JDOQLTypedSubquery.`having(Expression<?> expr)` Method to set the having clause of the query.
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`having(Expression<?> expr)` Method to set the having clause of the query.
    `<V> IfThenElseExpression<V>` | JDOQLTypedQuery.`ifThen(Class<V> type, BooleanExpression cond, Expression<V> thenValueExpr)` Method to return an "IF (...) ...
    `<V> IfThenElseExpression<V>` | JDOQLTypedQuery.`ifThen(Class<V> type, BooleanExpression cond, Expression<V> thenValueExpr)` Method to return an "IF (...) ...
    `<V> IfThenElseExpression<V>` | JDOQLTypedQuery.`ifThenElse(BooleanExpression cond, Expression<V> thenValueExpr, V elseValue)` Method to return an "IF (...) ...
    `<V> IfThenElseExpression<V>` | JDOQLTypedQuery.`ifThenElse(BooleanExpression cond, Expression<V> thenValueExpr, V elseValue)` Method to return an "IF (...) ...
    `<V> IfThenElseExpression<V>` | JDOQLTypedQuery.`ifThenElse(BooleanExpression cond, V thenValue, Expression<V> elseValueExpr)` Method to return an "IF (...) ...
    `<V> IfThenElseExpression<V>` | JDOQLTypedQuery.`ifThenElse(BooleanExpression cond, V thenValue, Expression<V> elseValueExpr)` Method to return an "IF (...) ...
    `<V> IfThenElseExpression<V>` | JDOQLTypedQuery.`ifThenElse(Class<V> type, BooleanExpression cond, Expression<V> thenValueExpr, Expression<V> elseValueExpr)` Method to return an "IF (...) ...
    `<V> IfThenElseExpression<V>` | JDOQLTypedQuery.`ifThenElse(Class<V> type, BooleanExpression cond, Expression<V> thenValueExpr, Expression<V> elseValueExpr)` Method to return an "IF (...) ...
    `<V> IfThenElseExpression<V>` | JDOQLTypedQuery.`ifThenElse(Class<V> type, BooleanExpression cond, Expression<V> thenValueExpr, Expression<V> elseValueExpr)` Method to return an "IF (...) ...
    `<V> IfThenElseExpression<V>` | JDOQLTypedQuery.`ifThenElse(Class<V> type, BooleanExpression cond, Expression<V> thenValueExpr, Expression<V> elseValueExpr)` Method to return an "IF (...) ...
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`range(Expression<?> paramLowerInclExpr, Expression<?> paramUpperExclExpr)` Method to set the range of any required results, using parameters (expressions).
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`range(Expression<?> paramLowerInclExpr, Expression<?> paramUpperExclExpr)` Method to set the range of any required results, using parameters (expressions).
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`range(Expression<?> paramLowerInclExpr, Expression<?> paramUpperExclExpr)` Method to set the range of any required results, using parameters (expressions).
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`range(Expression<?> paramLowerInclExpr, Expression<?> paramUpperExclExpr)` Method to set the range of any required results, using parameters (expressions).
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`result(boolean distinct, Expression<?>... exprs)` Method to set the result of the query.
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`result(boolean distinct, Expression<?>... exprs)` Method to set the result of the query.
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`setParameter(Expression<?> paramExpr, Object value)` Method to set a parameter value for the specified (parameter) expression when executing the query.
    `JDOQLTypedQuery<T>` | JDOQLTypedQuery.`setParameter(Expression<?> paramExpr, Object value)` Method to set a parameter value for the specified (parameter) expression when executing the query.

  - ### Uses of Expression in javax.jdo.query

    Subinterfaces of Expression in javax.jdo.query
    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` Representation of a date in a query.
    `interface` | `DateTimeExpression` Representation of a date-time type in a query.
    `interface` | `EnumExpression<T>` Representation of an Enum in a query.
    `interface` | `IfThenElseExpression<T>` Representation of an IF-THEN-ELSE expression.
    `interface` | `ListExpression<T extends List<E>,E>` Representation of a List in a query.
    `interface` | `LocalDateExpression` Representation of a java.time.LocalDate in a query.
    `interface` | `LocalDateTimeExpression` Representation of a java.time.LocalDateTime type in a query.
    `interface` | `LocalTimeExpression` Representation of a java.time.LocalTime 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` | `OptionalExpression<T>` Representation of an Optional type in a query.
    `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` | `TimeExpression` Representation of a time in a query.

    Methods in javax.jdo.query that return Expression
    Modifier and Type | Method and Description
    --- | ---
    `Expression` | Expression.`as(String alias)` Method to return an expression with the specified alias assigned to this expression.
    `Expression` | Expression.`as(String alias)` Method to return an expression with the specified alias assigned to this expression.
    `Expression` | Expression.`cast(Class cls)` Return an expression where this expression is cast to the specified type.
    `Expression` | Expression.`cast(Class cls)` Return an expression where this expression is cast to the specified type.
    `Expression<T>` | OptionalExpression.`get()` Accessor for the object within the Optional.
    `Expression<T>` | OptionalExpression.`get()` Accessor for the object within the Optional.
    `Expression<V>` | MapExpression.`get(Expression<K> key)` Method returning an expression for the value of the specified key in the map.
    `Expression<V>` | MapExpression.`get(Expression<K> key)` Method returning an expression for the value of the specified key in the map.
    `Expression<E>` | ListExpression.`get(int pos)` Method returning the element at this position in the List.
    `Expression<E>` | ListExpression.`get(int pos)` Method returning the element at this position in the List.
    `Expression<V>` | MapExpression.`get(K key)` Method returning an expression for the value of the specified key in the map.
    `Expression<V>` | MapExpression.`get(K key)` Method returning an expression for the value of the specified key in the map.
    `Expression<E>` | ListExpression.`get(NumericExpression<Integer> posExpr)` Method returning the element at this position in the List.
    `Expression<E>` | 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<T>` | OrderExpression.`getExpression()` Accessor for the expression being used for ordering.
    `Expression` | PersistableExpression.`jdoObjectId()` Method to return an expression for the (JDO) identity of this persistable object.
    `Expression` | PersistableExpression.`jdoObjectId()` Method to return an expression for the (JDO) identity of this persistable object.
    `Expression` | PersistableExpression.`jdoVersion()` Method to return an expression for the (JDO) version of this persistable object.
    `Expression` | PersistableExpression.`jdoVersion()` Method to return an expression for the (JDO) version of this persistable object.

    Methods in javax.jdo.query with parameters of type Expression
    Modifier and Type | Method and Description
    --- | ---
    `StringExpression` | StringExpression.`add(Expression expr)` Method to return an expression for this expression added to the passed expression (String concatenation).
    `StringExpression` | StringExpression.`add(Expression expr)` Method to return an expression for this expression added to the passed expression (String concatenation).
    `NumericExpression<T>` | NumericExpression.`add(Expression<T> expr)` Method to return an expression for this expression added to the passed expression.
    `NumericExpression<T>` | NumericExpression.`add(Expression<T> expr)` Method to return an expression for this expression added to the passed expression.
    `BooleanExpression` | CollectionExpression.`contains(Expression<E> expr)` Method returning whether the specified element expression is contained in this collection.
    `BooleanExpression` | CollectionExpression.`contains(Expression<E> expr)` Method returning whether the specified element expression is contained in this collection.
    `BooleanExpression` | MapExpression.`containsEntry(Expression<Map.Entry<K,V>> expr)` Method returning whether the specified entry expression is contained in this map.
    `BooleanExpression` | MapExpression.`containsEntry(Expression<Map.Entry<K,V>> expr)` Method returning whether the specified entry expression is contained in this map.
    `BooleanExpression` | MapExpression.`containsKey(Expression<K> expr)` Method returning whether the specified key expression is contained in this map.
    `BooleanExpression` | MapExpression.`containsKey(Expression<K> expr)` Method returning whether the specified key expression is contained in this map.
    `BooleanExpression` | MapExpression.`containsValue(Expression<V> expr)` Method returning whether the specified value expression is contained in this map.
    `BooleanExpression` | MapExpression.`containsValue(Expression<V> expr)` Method returning whether the specified value expression is contained in this map.
    `NumericExpression<T>` | NumericExpression.`div(Expression<T> expr)` Method to return an expression for this expression divided by the passed expression.
    `NumericExpression<T>` | NumericExpression.`div(Expression<T> expr)` Method to return an expression for this expression divided by the passed expression.
    `IfThenElseExpression<T>` | IfThenElseExpression.`elseEnd(Expression<T> elseValueExpr)` Method to add the "ELSE ..." clause.
    `IfThenElseExpression<T>` | IfThenElseExpression.`elseEnd(Expression<T> elseValueExpr)` Method to add the "ELSE ..." clause.
    `BooleanExpression` | Expression.`eq(Expression expr)` Method returning whether this expression equals the other expression.
    `BooleanExpression` | Expression.`eq(Expression expr)` Method returning whether this expression equals the other expression.
    `Expression<V>` | MapExpression.`get(Expression<K> key)` Method returning an expression for the value of the specified key in the map.
    `Expression<V>` | MapExpression.`get(Expression<K> key)` Method returning an expression for the value of the specified key in the map.
    `IfThenElseExpression<T>` | IfThenElseExpression.`ifThen(BooleanExpression cond, Expression<T> thenValueExpr)` Method to add an "IF (...) ..." clause.
    `IfThenElseExpression<T>` | IfThenElseExpression.`ifThen(BooleanExpression cond, Expression<T> thenValueExpr)` Method to add an "IF (...) ..." clause.
    `NumericExpression<T>` | NumericExpression.`mod(Expression<T> expr)` Method to return an expression for this expression modulus the passed expression (
    `NumericExpression<T>` | NumericExpression.`mod(Expression<T> expr)` Method to return an expression for this expression modulus the passed expression (
    `NumericExpression<T>` | NumericExpression.`mul(Expression<T> expr)` Method to return an expression for this expression multiplied by the passed expression.
    `NumericExpression<T>` | NumericExpression.`mul(Expression<T> 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.
    `BooleanExpression` | Expression.`ne(Expression expr)` Method returning whether this expression doesn't equal the other expression.
    `NumericExpression<T>` | NumericExpression.`sub(Expression<T> expr)` Method to return an expression for this expression subtracting the passed expression.
    `NumericExpression<T>` | NumericExpression.`sub(Expression<T> expr)` Method to return an expression for this expression subtracting the passed expression.

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.