Class BaseFilterExpressionMapper<R>
java.lang.Object
org.apache.directory.scim.spec.filter.BaseFilterExpressionMapper<R>
- Type Parameters:
R-
- All Implemented Interfaces:
BiFunction<FilterExpression,AttributeContainer, R>
public abstract class BaseFilterExpressionMapper<R>
extends Object
implements BiFunction<FilterExpression,AttributeContainer,R>
The
BaseFilterExpressionMapper is a utility class to aid in conversion of a FilterExpression into a
class that can be used to look up or search for SCIM Resources. For example, convert a
FilterExpression into a SQL query.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Rapply(AttributeComparisonExpression expression, AttributeContainer attributeContainer) protected abstract Rapply(AttributePresentExpression expression, AttributeContainer attributeContainer) apply(FilterExpression expression, AttributeContainer attributeContainer) protected Rapply(GroupExpression expression, AttributeContainer attributeContainer) protected Rapply(LogicalExpression expression, AttributeContainer attributeContainer) protected abstract Rapply(LogicalOperator op, R left, R right) protected abstract Rapply(ValuePathExpression expression, AttributeContainer attributeContainer) protected static Schema.Attributeattribute(AttributeContainer attributeContainer, AttributeReference attributeReference) protected static booleanisStringExpression(Schema.Attribute attribute, Object compareValue) protected abstract Rprotected RunhandledExpression(FilterExpression expression, AttributeContainer attributeContainer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
BaseFilterExpressionMapper
public BaseFilterExpressionMapper()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<FilterExpression,AttributeContainer, R>
-
apply
protected abstract R apply(AttributeComparisonExpression expression, AttributeContainer attributeContainer) -
apply
-
apply
-
apply
-
negate
-
apply
protected abstract R apply(AttributePresentExpression expression, AttributeContainer attributeContainer) -
apply
-
unhandledExpression
-
attribute
protected static Schema.Attribute attribute(AttributeContainer attributeContainer, AttributeReference attributeReference) -
isStringExpression
-