| |
|
| java.lang.Object org.jpox.store.expression.ScalarExpression org.jpox.store.expression.MapLiteral
MapLiteral | public class MapLiteral extends ScalarExpression (Code) | | An SQL expression that will test if a column of a table falls within the
given Map. This is used for Querys where a Map is passed in as a parameter.
version: $Revision: 1.6 $ |
MapLiteral | public MapLiteral(QueryExpression qs, JavaTypeMapping mapping, Map map)(Code) | | Constructor.
Parameters: qs - The QueryStatement the MapLiteral will be used in. Parameters: mapping - The mapping to the Map Parameters: map - The Map that is the value. |
containsEntryMethod | public BooleanExpression containsEntryMethod(ScalarExpression expr)(Code) | | Method to check the containing of an entry in the Map.
Return the BooleanExpression that results from
MapValueLiteral.contains(SQLExpression) and MapKeyLiteral.contains(SQLExpression).
Parameters: expr - The SQLExpression that is checked for membership in the Map. The BooleanExpression that results from MapValueLiteral.contains(SQLExpression) and MapKeyLiteral.contains(SQLExpression). |
containsKeyMethod | public BooleanExpression containsKeyMethod(ScalarExpression expr)(Code) | | Method to check the containing of a key in the Map.
Return the BooleanExpression that results from
MapKeyLiteral.contains(SQLExpression).
Parameters: expr - The SQLExpression that is checked for membership in the Map. The BooleanExpression that results from MapKeyLiteral.contains(SQLExpression). |
containsMethod | public BooleanExpression containsMethod(ScalarExpression expr)(Code) | | Method to check the containing of a value in the Map.
Return the BooleanExpression that results from
MapValueLiteral.contains(SQLExpression).
Parameters: expr - The SQLExpression that is checked for membership in the Map. The BooleanExpression that results from MapValueLiteral.contains(SQLExpression). |
containsValueMethod | public BooleanExpression containsValueMethod(ScalarExpression expr)(Code) | | Method to check the containing of a value in the Map.
Return the BooleanExpression that results from
MapValueLiteral.contains(SQLExpression).
Parameters: expr - The SQLExpression that is checked for membership in the Map. The BooleanExpression that results from MapValueLiteral.contains(SQLExpression). |
isEmptyMethod | public BooleanExpression isEmptyMethod()(Code) | | Method to check for emptiness of the collection.
The BooleanExpression. |
|
|
|