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
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract R
apply
(AttributeComparisonExpression expression, AttributeContainer attributeContainer) protected abstract R
apply
(AttributePresentExpression expression, AttributeContainer attributeContainer) apply
(FilterExpression expression, AttributeContainer attributeContainer) protected R
apply
(GroupExpression expression, AttributeContainer attributeContainer) protected R
apply
(LogicalExpression expression, AttributeContainer attributeContainer) protected abstract R
apply
(LogicalOperator op, R left, R right) protected abstract R
apply
(ValuePathExpression expression, AttributeContainer attributeContainer) protected static Schema.Attribute
attribute
(AttributeContainer attributeContainer, AttributeReference attributeReference) protected static boolean
isStringExpression
(Schema.Attribute attribute, Object compareValue) protected abstract R
protected R
unhandledExpression
(FilterExpression expression, AttributeContainer attributeContainer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
BaseFilterExpressionMapper
public BaseFilterExpressionMapper()
-
-
Method Details
-
apply
- Specified by:
apply
in 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
-