public abstract class AbstractEqualityMatchingRuleImpl extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractEqualityMatchingRuleImpl(String indexID)
Creates an instance of the equality matching rule.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends Indexer> |
createIndexers(IndexingOptions options)
Returns the indexers for this matching rule.
|
Assertion |
getAssertion(Schema schema,
ByteSequence assertionValue)
Retrieves the normalized form of the provided assertion value, which is
best suited for efficiently performing less than matching operations on
that value.
|
Assertion |
getGreaterOrEqualAssertion(Schema schema,
ByteSequence value)
Retrieves the normalized form of the provided assertion value, which is
best suited for efficiently performing greater than or equal matching
operations on that value.
|
Assertion |
getLessOrEqualAssertion(Schema schema,
ByteSequence value)
Retrieves the normalized form of the provided assertion value, which is
best suited for efficiently performing less than or equal matching
operations on that value.
|
Assertion |
getSubstringAssertion(Schema schema,
ByteSequence subInitial,
List<? extends ByteSequence> subAnyElements,
ByteSequence subFinal)
Retrieves the normalized form of the provided assertion substring values,
which is best suited for efficiently performing matching operations on
that value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
normalizeAttributeValue
protected AbstractEqualityMatchingRuleImpl(String indexID)
indexID
- the identifier of the DB indexpublic Assertion getAssertion(Schema schema, ByteSequence assertionValue) throws DecodeException
MatchingRuleImpl
getAssertion
in interface MatchingRuleImpl
schema
- The schema in which this matching rule is defined.assertionValue
- The syntax checked assertion value to be normalized.DecodeException
- if an syntax error occurred while parsing the value.public Collection<? extends Indexer> createIndexers(IndexingOptions options)
MatchingRuleImpl
options
- The indexing optionspublic Assertion getSubstringAssertion(Schema schema, ByteSequence subInitial, List<? extends ByteSequence> subAnyElements, ByteSequence subFinal) throws DecodeException
MatchingRuleImpl
getSubstringAssertion
in interface MatchingRuleImpl
schema
- The schema in which this matching rule is defined.subInitial
- The normalized substring value fragment that should appear at
the beginning of the target value.subAnyElements
- The normalized substring value fragments that should appear in
the middle of the target value.subFinal
- The normalized substring value fragment that should appear at
the end of the target value.DecodeException
- if an syntax error occurred while parsing the value.public Assertion getGreaterOrEqualAssertion(Schema schema, ByteSequence value) throws DecodeException
MatchingRuleImpl
getGreaterOrEqualAssertion
in interface MatchingRuleImpl
schema
- The schema in which this matching rule is defined.value
- The syntax checked assertion value to be normalized.DecodeException
- if an syntax error occurred while parsing the value.public Assertion getLessOrEqualAssertion(Schema schema, ByteSequence value) throws DecodeException
MatchingRuleImpl
getLessOrEqualAssertion
in interface MatchingRuleImpl
schema
- The schema in which this matching rule is defined.value
- The syntax checked assertion value to be normalized.DecodeException
- if an syntax error occurred while parsing the value.Copyright © 2010-2018, ForgeRock All Rights Reserved.