Modifier and Type | Class and Description |
---|---|
static class | KeyValueQueryPart.ComparisonOperator Specifies how two key-value pairs should be compared to each other |
Constructor and Description |
---|
KeyValueQueryPart(java.lang.String key, java.lang.String value, KeyValueQueryPart.ComparisonOperator comparator) Creates a new query part |
Modifier and Type | Method and Description |
---|---|
KeyValueQueryPart.ComparisonOperator | getComparisonOperator() Get the comparison operator |
java.lang.String | getKey() Get the key of the property to compare to |
java.lang.String | getValue() Get the value to compare to |
public KeyValueQueryPart(java.lang.String key, java.lang.String value, KeyValueQueryPart.ComparisonOperator comparator)
key
- the key of the property to compare tovalue
- the value to compare tocomparator
- the used comparatorpublic java.lang.String getKey()
public java.lang.String getValue()
public KeyValueQueryPart.ComparisonOperator getComparisonOperator()