Class OpenSearchIndexWriter.IndexSetting
- java.lang.Object
-
- com.atlassian.confluence.plugins.opensearch.OpenSearchIndexWriter.IndexSetting
-
- Enclosing class:
- OpenSearchIndexWriter
protected static class OpenSearchIndexWriter.IndexSetting extends Object
-
-
Field Summary
Fields Modifier and Type Field Description @NonNull Function<org.opensearch.client.opensearch.indices.IndexSettings,Object>
getter
@NonNull Object
optimalValue
@Nullable Object
originalValue
@NonNull BiConsumer<org.opensearch.client.opensearch.indices.IndexSettings.Builder,Object>
setter
-
Constructor Summary
Constructors Constructor Description IndexSetting(@NonNull Function<org.opensearch.client.opensearch.indices.IndexSettings,Object> getter, @NonNull BiConsumer<org.opensearch.client.opensearch.indices.IndexSettings.Builder,Object> setter, @NonNull Object optimalValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
from(org.opensearch.client.opensearch.indices.IndexState state)
static OpenSearchIndexWriter.IndexSetting
of(@NonNull Function<org.opensearch.client.opensearch.indices.IndexSettings,Object> getter, @NonNull BiConsumer<org.opensearch.client.opensearch.indices.IndexSettings.Builder,Object> setter, @NonNull Object optimalValue)
void
optimise(org.opensearch.client.opensearch.indices.IndexSettings.Builder settings)
void
restore(org.opensearch.client.opensearch.indices.IndexSettings.Builder settings)
-
-
-
Field Detail
-
getter
public @NonNull Function<org.opensearch.client.opensearch.indices.IndexSettings,Object> getter
-
setter
public @NonNull BiConsumer<org.opensearch.client.opensearch.indices.IndexSettings.Builder,Object> setter
-
originalValue
public @Nullable Object originalValue
-
optimalValue
public @NonNull Object optimalValue
-
-
Constructor Detail
-
IndexSetting
public IndexSetting(@NonNull Function<org.opensearch.client.opensearch.indices.IndexSettings,Object> getter, @NonNull BiConsumer<org.opensearch.client.opensearch.indices.IndexSettings.Builder,Object> setter, @NonNull Object optimalValue)
-
-
Method Detail
-
of
public static OpenSearchIndexWriter.IndexSetting of(@NonNull Function<org.opensearch.client.opensearch.indices.IndexSettings,Object> getter, @NonNull BiConsumer<org.opensearch.client.opensearch.indices.IndexSettings.Builder,Object> setter, @NonNull Object optimalValue)
-
from
public void from(org.opensearch.client.opensearch.indices.IndexState state)
-
restore
public void restore(org.opensearch.client.opensearch.indices.IndexSettings.Builder settings)
-
optimise
public void optimise(org.opensearch.client.opensearch.indices.IndexSettings.Builder settings)
-
-