Module org.elasticsearch.server
Class RolloverConfiguration.ValueParser
java.lang.Object
org.elasticsearch.action.admin.indices.rollover.RolloverConfiguration.ValueParser
- Enclosing class:
- RolloverConfiguration
Parses and keeps track of the condition values during parsing
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddMaxIndexAgeCondition
(String value, String setting) Parses and adds max index age condition (can be automatic)addMaxIndexDocsCondition
(Long maxDocs) Adds max index docs conditionaddMaxIndexDocsCondition
(String value, String setting) Parses and adds max index docs conditionaddMaxIndexSizeCondition
(String value, String setting) Parses and adds max index sizeaddMaxPrimaryShardDocsCondition
(Long maxDocs) Adds max primary shard doc countaddMaxPrimaryShardDocsCondition
(String value, String setting) Parses and adds max primary shard doc countaddMaxPrimaryShardSizeCondition
(String value, String setting) Parses and adds max index primary shard sizeaddMinIndexAgeCondition
(String value, String setting) Parses and adds min index age conditionaddMinIndexDocsCondition
(Long minDocs) Adds the min index docs count conditionaddMinIndexDocsCondition
(String value, String setting) Parses and adds the min index docs count conditionaddMinIndexSizeCondition
(String value, String setting) Parses and adds min index sizeaddMinPrimaryShardDocsCondition
(Long minDocs) Adds the max primary shard doc countaddMinPrimaryShardDocsCondition
(String value, String setting) Parses and adds the max primary shard doc countaddMinPrimaryShardSizeCondition
(String value, String setting) Parses and adds min index primary shard sizevoid
checkForDuplicatesAndAdd
(String condition, Runnable parseAndAdd)
-
Constructor Details
-
ValueParser
public ValueParser()
-
-
Method Details
-
addMaxIndexAgeCondition
Parses and adds max index age condition (can be automatic) -
addMaxIndexDocsCondition
Parses and adds max index docs condition -
addMaxIndexDocsCondition
Adds max index docs condition -
addMaxIndexSizeCondition
Parses and adds max index size -
addMaxPrimaryShardSizeCondition
public RolloverConfiguration.ValueParser addMaxPrimaryShardSizeCondition(String value, String setting) Parses and adds max index primary shard size -
addMaxPrimaryShardDocsCondition
public RolloverConfiguration.ValueParser addMaxPrimaryShardDocsCondition(String value, String setting) Parses and adds max primary shard doc count -
addMaxPrimaryShardDocsCondition
Adds max primary shard doc count -
addMinIndexAgeCondition
Parses and adds min index age condition -
addMinIndexDocsCondition
Parses and adds the min index docs count condition -
addMinIndexDocsCondition
Adds the min index docs count condition -
addMinIndexSizeCondition
Parses and adds min index size -
addMinPrimaryShardSizeCondition
public RolloverConfiguration.ValueParser addMinPrimaryShardSizeCondition(String value, String setting) Parses and adds min index primary shard size -
addMinPrimaryShardDocsCondition
public RolloverConfiguration.ValueParser addMinPrimaryShardDocsCondition(String value, String setting) Parses and adds the max primary shard doc count -
addMinPrimaryShardDocsCondition
Adds the max primary shard doc count -
checkForDuplicatesAndAdd
-