public abstract class AbstractCollectionDistinctExpressionEvaluator<T extends ItemModel> extends AbstractCollectionExpressionEvaluator
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
PARAM_LEFT |
protected static java.lang.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(java.util.Map<java.lang.String,java.util.Set<java.lang.Class>> operatorMap) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIfContainsAll(java.lang.Object rightOperand,
java.util.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(java.lang.Object rightOperand,
java.util.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(java.lang.Object rightOperand,
java.util.Collection operand) |
protected FlexibleSearchService |
getFlexibleSearchService() |
protected abstract java.lang.String |
getNumberOfDistinctItemsQuery() |
protected abstract java.lang.String |
getNumberOfMatchedDistinctItemsQuery() |
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
checkIfEmpty, checkIfNotContainsAny, evaluateTermaddSupportedOperator, addSupportedOperator, addSupportedOperator, evaluate, getLeftType, getSupportedOperators, getSupportedRightTypes, isSupported, isSupportedprotected static final java.lang.String PARAM_LEFT
protected static final java.lang.String PARAM_RIGHT
public AbstractCollectionDistinctExpressionEvaluator()
public AbstractCollectionDistinctExpressionEvaluator(java.util.Map<java.lang.String,java.util.Set<java.lang.Class>> operatorMap)
protected boolean checkIfContainsAny(java.lang.Object rightOperand,
java.util.Collection operand)
AbstractCollectionExpressionEvaluatorcheckIfContainsAny in class AbstractCollectionExpressionEvaluatorprotected boolean checkIfContainsAll(java.lang.Object rightOperand,
java.util.Collection operand)
AbstractCollectionExpressionEvaluatorcheckIfContainsAll in class AbstractCollectionExpressionEvaluatorprotected boolean checkIfSize(java.lang.Object rightOperand,
java.util.Collection operand)
checkIfSize in class AbstractCollectionExpressionEvaluatorprotected abstract java.lang.String getNumberOfMatchedDistinctItemsQuery()
protected abstract java.lang.String getNumberOfDistinctItemsQuery()
protected FlexibleSearchService getFlexibleSearchService()
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
flexibleSearchService - the flexibleSearchService to setCopyright © 2018 SAP SE. All Rights Reserved.