public class KeyFieldValueRangeList extends java.lang.Object
Constructor and Description |
---|
KeyFieldValueRangeList()
Creates a KeyFieldValueRangeList instance.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String fieldName,
java.lang.Object value,
KeyComparisonOperator comparisonOperator)
Adds a field that is part of a range query.
|
void |
clear()
Removes all fields from the list.
|
public KeyFieldValueRangeList()
public void add(java.lang.String fieldName, java.lang.Object value, KeyComparisonOperator comparisonOperator) throws KeyNullValueError
fieldName
- The field name.value
- The value to use.comparisonOperator
- The comparison operator to use.KeyNullValueError
- The given value is null.
When executed, this forms one element of a range query. Multiple add() calls are and'd together to compose a complete query.
public void clear()