Package org.opends.server.backends
Record Class RebuildConfig
java.lang.Object
java.lang.Record
org.opends.server.backends.RebuildConfig
- Record Components:
baseDn
- the local backend's base DN for which to rebuild indexesrebuildIndexSelection
- how to select indexes to rebuildrebuildList
- the user-provided list of indexes to rebuild. Only significant when rebuildIndexSelection isRebuildConfig.RebuildIndexSelection.USER_DEFINED
tmpDirectory
- the temporary directory for rebuild-indexsetUntrusted
- whether indexes should be forcefully marked as untrusted
public record RebuildConfig(Dn baseDn, RebuildConfig.RebuildIndexSelection rebuildIndexSelection, Collection<String> rebuildList, String tmpDirectory, boolean setUntrusted)
extends Record
Configuration for the indexType rebuild process.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Identifies which indexes will be selected for rebuild. -
Constructor Summary
ConstructorsConstructorDescriptionRebuildConfig
(Dn baseDn, RebuildConfig.RebuildIndexSelection rebuildIndexSelection, Collection<String> rebuildList, String tmpDirectory, boolean setUntrusted) Builds a new rebuild config object. -
Method Summary
Modifier and TypeMethodDescriptionbaseDn()
Returns the value of thebaseDn
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
Test if this rebuild config includes any system indexes to rebuild.Returns the value of therebuildIndexSelection
record component.Returns the value of therebuildList
record component.boolean
Returns the value of thesetUntrusted
record component.Returns the value of thetmpDirectory
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
RebuildConfig
public RebuildConfig(Dn baseDn, RebuildConfig.RebuildIndexSelection rebuildIndexSelection, Collection<String> rebuildList, String tmpDirectory, boolean setUntrusted) Builds a new rebuild config object.
-
-
Method Details
-
includesSystemIndex
public boolean includesSystemIndex()Test if this rebuild config includes any system indexes to rebuild.- Returns:
- True if rebuilding of system indexes are included. False otherwise.
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
baseDn
Returns the value of thebaseDn
record component.- Returns:
- the value of the
baseDn
record component
-
rebuildIndexSelection
Returns the value of therebuildIndexSelection
record component.- Returns:
- the value of the
rebuildIndexSelection
record component
-
rebuildList
Returns the value of therebuildList
record component.- Returns:
- the value of the
rebuildList
record component
-
tmpDirectory
Returns the value of thetmpDirectory
record component.- Returns:
- the value of the
tmpDirectory
record component
-
setUntrusted
public boolean setUntrusted()Returns the value of thesetUntrusted
record component.- Returns:
- the value of the
setUntrusted
record component
-