Package javax.jdo.query
Interface MapExpression<T extends Map<K,V>,K,V>
-
- Type Parameters:
T
- Java type being represented hereK
- Key type of the map being represented hereV
- Value type of the map being represented here
- All Superinterfaces:
Expression<T>
public interface MapExpression<T extends Map<K,V>,K,V> extends Expression<T>
Representation of a map in a query.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleanExpression
containsEntry(Map.Entry<K,V> entry)
Method returning whether the specified entry is contained in this map.BooleanExpression
containsEntry(Expression<Map.Entry<K,V>> expr)
Method returning whether the specified entry expression is contained in this map.BooleanExpression
containsKey(Expression<K> expr)
Method returning whether the specified key expression is contained in this map.BooleanExpression
containsKey(K key)
Method returning whether the specified key is contained in this map.BooleanExpression
containsValue(Expression<V> expr)
Method returning whether the specified value expression is contained in this map.BooleanExpression
containsValue(V value)
Method returning whether the specified value is contained in this map.Expression<V>
get(Expression<K> expr)
Method returning the value expression for a specified key expression.Expression<V>
get(K key)
Method returning the value expression for a specified key.BooleanExpression
isEmpty()
Method returning whether the map is empty.NumericExpression<Integer>
size()
Method returning an expression for the size of the map-
Methods inherited from interface javax.jdo.query.Expression
as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne
-
-
-
-
Method Detail
-
get
Expression<V> get(Expression<K> expr)
Method returning the value expression for a specified key expression.- Parameters:
expr
- Key expression- Returns:
- The value expression
-
get
Expression<V> get(K key)
Method returning the value expression for a specified key.- Parameters:
key
- Key- Returns:
- The value expression
-
containsKey
BooleanExpression containsKey(Expression<K> expr)
Method returning whether the specified key expression is contained in this map.- Parameters:
expr
- The key expression- Returns:
- Whether it is contained here
-
containsKey
BooleanExpression containsKey(K key)
Method returning whether the specified key is contained in this map.- Parameters:
key
- The key- Returns:
- Whether it is contained here
-
containsValue
BooleanExpression containsValue(Expression<V> expr)
Method returning whether the specified value expression is contained in this map.- Parameters:
expr
- The value expression- Returns:
- Whether it is contained here
-
containsValue
BooleanExpression containsValue(V value)
Method returning whether the specified value is contained in this map.- Parameters:
value
- The value- Returns:
- Whether it is contained here
-
containsEntry
BooleanExpression containsEntry(Expression<Map.Entry<K,V>> expr)
Method returning whether the specified entry expression is contained in this map.- Parameters:
expr
- The entry expression- Returns:
- Whether it is contained here
-
containsEntry
BooleanExpression containsEntry(Map.Entry<K,V> entry)
Method returning whether the specified entry is contained in this map.- Parameters:
entry
- The entry expression- Returns:
- Whether it is contained here
-
isEmpty
BooleanExpression isEmpty()
Method returning whether the map is empty.- Returns:
- Whether it is empty
-
size
NumericExpression<Integer> size()
Method returning an expression for the size of the map- Returns:
- The size
-
-