Class BackendIndexCfgDefn
Backend Indexes are used to store information that makes it possible to locate entries very quickly when processing search operations.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Defines the set of permissible values for the "index-type" property. -
Method Summary
Modifier and TypeMethodDescriptioncreateClientConfiguration
(ManagedObject<? extends BackendIndexCfgClient> impl) Creates a client configuration view of the provided managed object.createServerConfiguration
(ServerManagedObject<? extends BackendIndexCfg> impl) Creates a server configuration view of the provided server managed object.Get the "attribute" property definition.Get the "big-index-extensible-matching-rule" property definition.Get the "big-index-included-attribute-value" property definition.Get the "confidentiality-enabled" property definition.Get the "index-entry-limit" property definition.Get the "index-extensible-matching-rule" property definition.Get the "index-type" property definition.static BackendIndexCfgDefn
Get the Backend Index configuration definition singleton.Gets the server configuration class instance associated with this managed object definition.Get the "substring-length" property definition.Get the "ttl-age" property definition.Get the "ttl-enabled" property definition.Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDeprecated, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerDeprecated, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
Method Details
-
getInstance
Get the Backend Index configuration definition singleton.- Returns:
- Returns the Backend Index configuration definition singleton.
-
createClientConfiguration
public BackendIndexCfgClient createClientConfiguration(ManagedObject<? extends BackendIndexCfgClient> impl) Description copied from class:ManagedObjectDefinition
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfiguration
in classManagedObjectDefinition<BackendIndexCfgClient,
BackendIndexCfg> - Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public BackendIndexCfg createServerConfiguration(ServerManagedObject<? extends BackendIndexCfg> impl) Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<BackendIndexCfgClient,
BackendIndexCfg> - Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<BackendIndexCfgClient,
BackendIndexCfg> - Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getAttributePropertyDefinition
Get the "attribute" property definition.Specifies the name of the attribute for which the index is to be maintained.
- Returns:
- Returns the "attribute" property definition.
-
getBigIndexExtensibleMatchingRulePropertyDefinition
Get the "big-index-extensible-matching-rule" property definition.The extensible matching rule in a big index.
An extensible matching rule must be specified using either LOCALE or OID of the matching rule.
- Returns:
- Returns the "big-index-extensible-matching-rule" property definition.
-
getBigIndexIncludedAttributeValuePropertyDefinition
Get the "big-index-included-attribute-value" property definition.An attribute value which should be indexed in any big indexes.
Restricts the set of attribute values indexed by big indexes. All attribute values will be indexed by default.
- Returns:
- Returns the "big-index-included-attribute-value" property definition.
-
getConfidentialityEnabledPropertyDefinition
Get the "confidentiality-enabled" property definition.Specifies whether contents of the index should be confidential.
Setting the flag to true will hash keys for equality type indexes using SHA-1 and encrypt the list of entries matching a substring key for substring indexes.
- Returns:
- Returns the "confidentiality-enabled" property definition.
-
getIndexEntryLimitPropertyDefinition
Get the "index-entry-limit" property definition.Specifies the maximum number of entries that are allowed to match a given index key before that particular index key is no longer maintained.
This is analogous to the ALL IDs threshold in the Sun Java System Directory Server. If this is specified, its value overrides the JE backend-wide configuration. For no limit, use 0 for the value. Changing the index entry limit significantly can result in serious performance degradation. Please read the documentation before changing this setting.
- Returns:
- Returns the "index-entry-limit" property definition.
-
getIndexExtensibleMatchingRulePropertyDefinition
Get the "index-extensible-matching-rule" property definition.The extensible matching rule in an extensible index.
An extensible matching rule must be specified using either LOCALE or OID of the matching rule.
- Returns:
- Returns the "index-extensible-matching-rule" property definition.
-
getIndexTypePropertyDefinition
Get the "index-type" property definition.Specifies the type(s) of indexing that should be performed for the associated attribute.
For equality, presence, and substring index types, the associated attribute type must have a corresponding matching rule.
- Returns:
- Returns the "index-type" property definition.
-
getSubstringLengthPropertyDefinition
Get the "substring-length" property definition.The length of substrings in a substring index.
- Returns:
- Returns the "substring-length" property definition.
-
getTtlAgePropertyDefinition
Get the "ttl-age" property definition.The age when timestamps are considered to have expired.
- Returns:
- Returns the "ttl-age" property definition.
-
getTtlEnabledPropertyDefinition
Get the "ttl-enabled" property definition.Enable TTL for this generalized time index.
- Returns:
- Returns the "ttl-enabled" property definition.
-