public interface MatchingRuleImpl
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.
|
ByteString |
normalizeAttributeValue(Schema schema,
ByteSequence value)
Retrieves the normalized form of the provided attribute value, which is
best suited for efficiently performing matching operations on that value.
|
Assertion getAssertion(Schema schema, ByteSequence assertionValue) throws DecodeException
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.Assertion getSubstringAssertion(Schema schema, ByteSequence subInitial, List<? extends ByteSequence> subAnyElements, ByteSequence subFinal) throws DecodeException
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.Assertion getGreaterOrEqualAssertion(Schema schema, ByteSequence value) throws DecodeException
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.Assertion getLessOrEqualAssertion(Schema schema, ByteSequence value) throws DecodeException
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.ByteString normalizeAttributeValue(Schema schema, ByteSequence value) throws DecodeException
ByteSequence.equals(Object)
and
ByteSequence.compareTo(ByteSequence)
.schema
- The schema in which this matching rule is defined.value
- The attribute value to be normalized.DecodeException
- If an syntax error occurred while parsing the value.Collection<? extends Indexer> createIndexers(IndexingOptions options)
options
- The indexing optionsCopyright 2010-2022 ForgeRock AS.