public class ValueBetweenOperator<T extends QueryComponent> extends CompareOperator<T>
LessThanOperator and GreaterThanOperator to test more efficiently| Constructor and Description |
|---|
ValueBetweenOperator(T parent) |
| Modifier and Type | Method and Description |
|---|---|
ValueBetweenOperator<T> |
setField(String field) |
ValueBetweenOperator<T> |
setStart(int startVal)
Sets the start value.
|
ValueBetweenOperator<T> |
setStartInclusive(boolean startInclusive)
Sets the start value to be in/excluded
|
String |
toJson() |
closepublic ValueBetweenOperator(T parent)
public ValueBetweenOperator<T> setStart(int startVal)
startVal - the start valuepublic ValueBetweenOperator<T> setField(String field)
public ValueBetweenOperator<T> setStartInclusive(boolean startInclusive)
startInclusive - include start valuepublic String toJson()
Copyright © 2020. All rights reserved.