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>
Representation of a map in a query.
-
Method Summary
Modifier and TypeMethodDescriptioncontainsEntry
(Map.Entry<K, V> entry) Method returning whether the specified entry is contained in this map.containsEntry
(Expression<Map.Entry<K, V>> expr) Method returning whether the specified entry expression is contained in this map.containsKey
(Expression<K> expr) Method returning whether the specified key expression is contained in this map.containsKey
(K key) Method returning whether the specified key is contained in this map.containsValue
(Expression<V> expr) Method returning whether the specified value expression is contained in this map.containsValue
(V value) Method returning whether the specified value is contained in this map.get
(Expression<K> expr) Method returning the value expression for a specified key expression.Method returning the value expression for a specified key.isEmpty()
Method returning whether the map is empty.size()
Method returning an expression for the size of the mapMethods inherited from interface javax.jdo.query.Expression
as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne
-
Method Details
-
get
Method returning the value expression for a specified key expression.- Parameters:
expr
- Key expression- Returns:
- The value expression
-
get
Method returning the value expression for a specified key.- Parameters:
key
- Key- Returns:
- The value expression
-
containsKey
Method returning whether the specified key expression is contained in this map.- Parameters:
expr
- The key expression- Returns:
- Whether it is contained here
-
containsKey
Method returning whether the specified key is contained in this map.- Parameters:
key
- The key- Returns:
- Whether it is contained here
-
containsValue
Method returning whether the specified value expression is contained in this map.- Parameters:
expr
- The value expression- Returns:
- Whether it is contained here
-
containsValue
Method returning whether the specified value is contained in this map.- Parameters:
value
- The value- Returns:
- Whether it is contained here
-
containsEntry
Method returning whether the specified entry expression is contained in this map.- Parameters:
expr
- The entry expression- Returns:
- Whether it is contained here
-
containsEntry
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
-