public class Restriction extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
OPERATOR_BIGGER |
static int |
OPERATOR_EQUATION |
static int |
OPERATOR_EQUATION_OR_BIGGER |
static int |
OPERATOR_EQUATION_OR_LESS |
static int |
OPERATOR_LESS |
static int |
OPERATOR_LIKE |
Constructor and Description |
---|
Restriction(String key,
Object value,
int operator_)
Constructor.
|
public static final int OPERATOR_EQUATION
public static final int OPERATOR_LESS
public static final int OPERATOR_BIGGER
public static final int OPERATOR_EQUATION_OR_BIGGER
public static final int OPERATOR_EQUATION_OR_LESS
public static final int OPERATOR_LIKE
public Restriction(String key, Object value, int operator_)
key
- string value of a feature key in document.value
- value of a feature with this keyoperator_
- type of operator for comparison in querypublic String getStringValue()
public int getOperator()