Package | Description |
---|---|
org.apache.directory.api.ldap.model.schema |
Contains interfaces and base classes for representing the LDAP schema domain
model.
|
org.apache.directory.api.ldap.model.schema.comparators | |
org.apache.directory.api.ldap.model.schema.registries | |
org.apache.directory.api.ldap.schema.loader | |
org.apache.directory.api.ldap.schema.manager.impl |
Modifier and Type | Method and Description |
---|---|
LdapComparator<? super Object> |
MatchingRule.getLdapComparator()
Gets the LdapComparator enabling the use of this MatchingRule for ORDERING
and sorted indexing.
|
LdapComparator<?> |
SchemaManager.lookupComparatorRegistry(String oid)
Lookup for a Comparator in the Comparator registry
|
Modifier and Type | Method and Description |
---|---|
Entry |
AttributesFactory.convert(String oid,
LdapComparator<? super Object> comparator,
Schema schema,
SchemaManager schemaManager)
Convert a LdapComparator instance into an Entry
|
static String |
DescriptionUtils.getDescription(LdapComparator<?> comparator)
Generates the ComparatorDescription for a LdapComparator.
|
void |
MutableMatchingRule.setLdapComparator(LdapComparator<?> ldapComparator)
Sets the LdapComparator
|
void |
MutableMatchingRule.updateLdapComparator(LdapComparator<?> ldapComparator)
Update the associated Comparator, even if the SchemaObject is readOnly
|
Modifier and Type | Class and Description |
---|---|
class |
BitStringComparator
A class for the bitStringMatch matchingRule (RFC 4517, par.
|
class |
BooleanComparator
A class for the BooleanComparator matchingRule (RFC 4517, par.
|
class |
ByteArrayComparator
A comparator for byte[]s.
|
class |
CertificateComparator
A Comparator for Certificates
|
class |
ComparableComparator<T>
Compares two objects taking into account that one might be a Comparable.
|
class |
CsnComparator
A comparator for CSN.
|
class |
CsnSidComparator
A comparator for CSN SID.
|
class |
DeepTrimCachingNormalizingComparator
A comparator that compare two Strings after having trimmed them on left and right,
and replaced any contiguous spaces in the middle by 1 single space.
|
class |
DeepTrimToLowerCachingNormalizingComparator
A comparator that compare two Strings after having trimmed them on left and right,
and replaced any contiguous spaces in the middle by 1 single space.
|
class |
DnComparator
Compare two DNs
|
class |
GeneralizedTimeComparator
A class for the generalizedTimeOrderingMatch matchingRule (RFC 4517, par.
|
class |
IntegerComparator
A class for the integerOrderingMatch matchingRule (RFC 4517, par.
|
class |
LongComparator
Compares Long keys and values within a table.
|
class |
NormalizingComparator
A comparator which normalizes a value first before using a subordinate
comparator to compare them.
|
class |
NumericStringComparator
A class for the numericStringOrderingMatch matchingRule (RFC 4517, par.
|
class |
ObjectClassTypeComparator<T>
A comparator that compares the objectClass type with values: AUXILIARY,
ABSTRACT, and STRUCTURAL.
|
class |
ObjectIdentifierComparator
A comparator for the objectIdentifierMatch matchingRule.
|
class |
ObjectIdentifierFirstComponentComparator
A comparator for Comparators.
|
class |
SerializableComparator<E>
A serializable wrapper around a Comparator which uses delayed initialization
of the underlying wrapped comparator which is JIT resolved from a static
global registry.
|
class |
StringComparator
A comparator for Strings.
|
class |
TelephoneNumberComparator
A comparator for TelephoneNumber.
|
class |
UniqueMemberComparator
A comparator that sorts OIDs based on their numeric id value.
|
class |
UuidComparator
A comparator for UUID.
|
class |
WordComparator
A comparator for Words/KeyWords.
|
Constructor and Description |
---|
NormalizingComparator(String oid,
Normalizer normalizer,
LdapComparator<String> comparator)
A comparator which normalizes a value first before comparing them.
|
Modifier and Type | Method and Description |
---|---|
LdapComparator<?> |
ImmutableComparatorRegistry.get(String oid)
Gets the SchemaObject associated with a given OID.
|
LdapComparator<?> |
ImmutableComparatorRegistry.lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.
|
LdapComparator<?> |
ImmutableComparatorRegistry.unregister(LdapComparator<?> schemaObject)
Removes the SchemaObject registered with this registry.
|
LdapComparator<?> |
ImmutableComparatorRegistry.unregister(String numericOid)
Removes the LdapComparator registered with this registry, using its
numeric OID.
|
LdapComparator<?> |
ComparatorRegistry.unregister(String numericOid)
Removes the LdapComparator registered with this registry, using its
numeric OID.
|
Modifier and Type | Method and Description |
---|---|
Iterator<LdapComparator<?>> |
ImmutableComparatorRegistry.iterator()
Gets an iterator over the registered schema objects in the registry.
|
Modifier and Type | Method and Description |
---|---|
void |
ImmutableComparatorRegistry.register(LdapComparator<?> comparator)
Registers a new LdapComparator with this registry.
|
void |
ComparatorRegistry.register(LdapComparator<?> comparator)
Registers a new LdapComparator with this registry.
|
LdapComparator<?> |
ImmutableComparatorRegistry.unregister(LdapComparator<?> schemaObject)
Removes the SchemaObject registered with this registry.
|
Modifier and Type | Method and Description |
---|---|
LdapComparator<?> |
SchemaEntityFactory.getLdapComparator(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
String schemaName)
Retrieve and load a Comparator class from the DIT.
|
LdapComparator<?> |
EntityFactory.getLdapComparator(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
String schemaName)
Retrieve and load a Comparator class from the DIT.
|
LdapComparator<?> |
SchemaEntityFactory.getLdapComparator(SchemaManager schemaManager,
LdapComparatorDescription comparatorDescription,
Registries targetRegistries,
String schemaName)
Construct a LdapComparator from a description of a comparator.
|
LdapComparator<?> |
EntityFactory.getLdapComparator(SchemaManager schemaManager,
LdapComparatorDescription comparatorDescription,
Registries targetRegistries,
String schemaName)
Construct a LdapComparator from a description of a comparator.
|
Modifier and Type | Method and Description |
---|---|
LdapComparator<?> |
DefaultSchemaManager.lookupComparatorRegistry(String oid)
Lookup for a Comparator in the Comparator registry
|
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.