public class MapExpressionImpl<T extends Map<K,V>,K,V> extends ExpressionImpl<T> implements MapExpression<T,K,V>
Constructor and Description |
---|
MapExpressionImpl(Class<T> cls,
String name,
ExpressionType type) |
MapExpressionImpl(PersistableExpression parent,
String name) |
Modifier and Type | Method and Description |
---|---|
BooleanExpression |
containsEntry(Expression<Map.Entry<K,V>> expr)
Method returning whether the specified entry expression is contained in this map.
|
BooleanExpression |
containsEntry(Map.Entry<K,V> entry)
Method returning whether the specified entry 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.
|
BooleanExpression |
isEmpty()
Method returning whether the map is empty.
|
NumericExpression<Integer> |
size()
Method returning an expression for the size of the map
|
cast, count, countDistinct, eq, eq, getQueryExpression, instanceOf, isParameter, isVariable, ne, ne
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cast, count, countDistinct, eq, eq, instanceOf, ne, ne
public MapExpressionImpl(PersistableExpression parent, String name)
public MapExpressionImpl(Class<T> cls, String name, ExpressionType type)
public BooleanExpression containsEntry(Map.Entry<K,V> entry)
MapExpression
containsEntry
in interface MapExpression<T extends Map<K,V>,K,V>
entry
- The entry expressionpublic BooleanExpression containsEntry(Expression<Map.Entry<K,V>> expr)
MapExpression
containsEntry
in interface MapExpression<T extends Map<K,V>,K,V>
expr
- The entry expressionpublic BooleanExpression containsKey(Expression<K> expr)
MapExpression
containsKey
in interface MapExpression<T extends Map<K,V>,K,V>
expr
- The key expressionpublic BooleanExpression containsKey(K key)
MapExpression
containsKey
in interface MapExpression<T extends Map<K,V>,K,V>
key
- The keypublic BooleanExpression containsValue(Expression<V> expr)
MapExpression
containsValue
in interface MapExpression<T extends Map<K,V>,K,V>
expr
- The value expressionpublic BooleanExpression containsValue(V value)
MapExpression
containsValue
in interface MapExpression<T extends Map<K,V>,K,V>
value
- The valuepublic BooleanExpression isEmpty()
MapExpression
public NumericExpression<Integer> size()
MapExpression
Copyright © 2017. All rights reserved.