org.datanucleus.query.typesafe
Interface MapExpression<T extends java.util.Map<K,V>,K,V>

Type Parameters:
T - Java type being represented here
K - Key type of the map being represented here
V - Value type of the map being represented here
All Superinterfaces:
Expression<T>
All Known Implementing Classes:
MapExpressionImpl

public interface MapExpression<T extends java.util.Map<K,V>,K,V>
extends Expression<T>

Representation of a map in a query.


Method Summary
 BooleanExpression containsEntry(Expression expr)
          Method returning whether the specified entry expression is contained in this map.
 BooleanExpression containsEntry(java.util.Map.Entry<K,V> entry)
          Method returning whether the specified entry is contained in this map.
 BooleanExpression containsKey(Expression 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 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.
 BooleanExpression isEmpty()
          Method returning whether the map is empty.
 NumericExpression<java.lang.Integer> size()
          Method returning an expression for the size of the map
 
Methods inherited from interface org.datanucleus.query.typesafe.Expression
cast, count, countDistinct, eq, eq, instanceOf, ne, ne
 

Method Detail

containsKey

BooleanExpression containsKey(Expression 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 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 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(java.util.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<java.lang.Integer> size()
Method returning an expression for the size of the map

Returns:
The size


Copyright © 2011. All Rights Reserved.