public interface BackendIndexCfgClient extends ConfigurationClient
Backend Indexes are used to store information that makes it possible to locate entries very quickly when processing search operations.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends BackendIndexCfgClient,? extends BackendIndexCfg> |
definition()
Get the configuration definition associated with this Backend Index.
|
AttributeType |
getAttribute()
Gets the "attribute" property.
|
Integer |
getIndexEntryLimit()
Gets the "index-entry-limit" property.
|
SortedSet<String> |
getIndexExtensibleMatchingRule()
Gets the "index-extensible-matching-rule" property.
|
SortedSet<BackendIndexCfgDefn.IndexType> |
getIndexType()
Gets the "index-type" property.
|
int |
getSubstringLength()
Gets the "substring-length" property.
|
void |
setAttribute(AttributeType value)
Sets the "attribute" property.
|
void |
setIndexEntryLimit(Integer value)
Sets the "index-entry-limit" property.
|
void |
setIndexExtensibleMatchingRule(Collection<String> values)
Sets the "index-extensible-matching-rule" property.
|
void |
setIndexType(Collection<BackendIndexCfgDefn.IndexType> values)
Sets the "index-type" property.
|
void |
setSubstringLength(Integer value)
Sets the "substring-length" property.
|
commit, properties
ManagedObjectDefinition<? extends BackendIndexCfgClient,? extends BackendIndexCfg> definition()
definition
in interface ConfigurationClient
AttributeType getAttribute()
Specifies the name of the attribute for which the index is to be maintained.
void setAttribute(AttributeType value) throws PropertyException, PropertyException
Specifies the name of the attribute for which the index is to be maintained.
This property is read-only and can only be modified during creation of a Backend Index.
value
- The value of the "attribute" property.PropertyException
- If the new value is invalid.PropertyException
- If this Backend Index is not being initialized.Integer getIndexEntryLimit()
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.
void setIndexEntryLimit(Integer value) throws PropertyException
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.
value
- The value of the "index-entry-limit" property.PropertyException
- If the new value is invalid.SortedSet<String> getIndexExtensibleMatchingRule()
The extensible matching rule in an extensible index.
An extensible matching rule must be specified using either LOCALE or OID of the matching rule.
void setIndexExtensibleMatchingRule(Collection<String> values) throws PropertyException
The extensible matching rule in an extensible index.
An extensible matching rule must be specified using either LOCALE or OID of the matching rule.
values
- The values of the "index-extensible-matching-rule" property.PropertyException
- If one or more of the new values are invalid.SortedSet<BackendIndexCfgDefn.IndexType> getIndexType()
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.
void setIndexType(Collection<BackendIndexCfgDefn.IndexType> values) throws PropertyException
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.
values
- The values of the "index-type" property.PropertyException
- If one or more of the new values are invalid.int getSubstringLength()
The length of substrings in a substring index.
void setSubstringLength(Integer value) throws PropertyException
The length of substrings in a substring index.
value
- The value of the "substring-length" property.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.