public abstract class AbstractCollectionDistinctExpressionEvaluator<T extends ItemModel> extends AbstractCollectionExpressionEvaluator
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PARAM_LEFT |
protected static String |
PARAM_RIGHT |
CONTAINS_ALL, CONTAINS_ANY, IS_EMPTY, NOT_CONTAINS, SIZEallowLeftNull, LEFT_OP_MISSING, LEFT_OP_NOT_SUPPORTED, OPERATOR_MISSING, OPERATOR_NOT_SUPPORTED, RIGHT_OP_MISSING, RIGHT_OP_NOT_ALLOWED, RIGHT_OP_NOT_SUPPORTED| Constructor and Description |
|---|
AbstractCollectionDistinctExpressionEvaluator() |
AbstractCollectionDistinctExpressionEvaluator(Map<String,Set<Class>> operatorMap) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIfContainsAll(Object rightOperand,
Collection operand)
Returns true if left operand Collection contains the right operand, or all of right operand elements if the right
operand is a collection.
|
protected boolean |
checkIfContainsAny(Object rightOperand,
Collection operand)
Returns true left operand Collection contains the right operand or any of right operand elements, if the right
operand is a collection.
|
protected boolean |
checkIfSize(Object rightOperand,
Collection operand) |
protected FlexibleSearchService |
getFlexibleSearchService() |
protected abstract String |
getNumberOfDistinctItemsQuery() |
protected abstract String |
getNumberOfMatchedDistinctItemsQuery() |
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
checkIfEmpty, checkIfNotContainsAny, evaluateTermaddSupportedOperator, addSupportedOperator, addSupportedOperator, evaluate, getLeftType, getSupportedOperators, getSupportedRightTypes, isSupported, isSupportedprotected static final String PARAM_LEFT
protected static final String PARAM_RIGHT
public AbstractCollectionDistinctExpressionEvaluator()
protected boolean checkIfContainsAny(Object rightOperand, Collection operand)
AbstractCollectionExpressionEvaluatorcheckIfContainsAny in class AbstractCollectionExpressionEvaluatorprotected boolean checkIfContainsAll(Object rightOperand, Collection operand)
AbstractCollectionExpressionEvaluatorcheckIfContainsAll in class AbstractCollectionExpressionEvaluatorprotected boolean checkIfSize(Object rightOperand, Collection operand)
checkIfSize in class AbstractCollectionExpressionEvaluatorprotected abstract String getNumberOfMatchedDistinctItemsQuery()
protected abstract String getNumberOfDistinctItemsQuery()
protected FlexibleSearchService getFlexibleSearchService()
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
flexibleSearchService - the flexibleSearchService to setCopyright © 2017 SAP SE. All Rights Reserved.