public abstract class OperatorBase extends java.lang.Object implements CanParseCriterion, Operator
Modifier and Type | Method and Description |
---|---|
abstract java.util.Map | convertToMap(Criterion criterion) Convert criterion to map representation. |
abstract boolean | isRequiresCriteria() Does operator need criteria list parameter. |
abstract boolean | isRequiresFieldName() Does operator need fieldName parameter. |
abstract boolean | isRequiresValue() Does operator need value parameter. |
abstract Criterion | parseCriterion(java.lang.String fieldName, java.lang.Object value, java.util.List criteria) Logic for parsing criterion. |
parseCriterion
public abstract boolean isRequiresFieldName()
public abstract boolean isRequiresValue()
public abstract boolean isRequiresCriteria()
public abstract Criterion parseCriterion(java.lang.String fieldName, java.lang.Object value, java.util.List criteria)
fieldName
- - value of fieldName parameter.value
- - value of value parameter.criteria
- - list of criteriapublic abstract java.util.Map convertToMap(Criterion criterion)
criterion
- - criterion to convert.