Module org.elasticsearch.server
Class RolloverConditions.Builder
java.lang.Object
org.elasticsearch.action.admin.indices.rollover.RolloverConditions.Builder
- Enclosing class:
- RolloverConditions
Helps to build or create a mutation of rollover conditions
-
Method Summary
Modifier and TypeMethodDescriptionAdds condition to check if the index is at leastage
oldaddMaxIndexDocsCondition
(Long numDocs) Adds condition to check if the index has at leastnumDocs
Adds a size-based condition to check if the index size is at leastsize
.addMaxPrimaryShardDocsCondition
(Long numDocs) Adds a size-based condition to check if the docs of the largest primary shard has at leastnumDocs
Adds a size-based condition to check if the size of the largest primary shard is at leastsize
.Adds required condition to check if the index is at leastage
oldaddMinIndexDocsCondition
(Long numDocs) Adds required condition to check if the index has at leastnumDocs
Adds a size-based required condition to check if the index size is at leastsize
.addMinPrimaryShardDocsCondition
(Long numDocs) Adds a size-based required condition to check if the docs of the largest primary shard has at leastnumDocs
Adds a size-based required condition to check if the size of the largest primary shard is at leastsize
.build()
-
Method Details
-
addMaxIndexAgeCondition
Adds condition to check if the index is at leastage
old -
addMaxIndexDocsCondition
Adds condition to check if the index has at leastnumDocs
-
addMaxIndexSizeCondition
Adds a size-based condition to check if the index size is at leastsize
. -
addMaxPrimaryShardSizeCondition
Adds a size-based condition to check if the size of the largest primary shard is at leastsize
. -
addMaxPrimaryShardDocsCondition
Adds a size-based condition to check if the docs of the largest primary shard has at leastnumDocs
-
addMinIndexAgeCondition
Adds required condition to check if the index is at leastage
old -
addMinIndexDocsCondition
Adds required condition to check if the index has at leastnumDocs
-
addMinIndexSizeCondition
Adds a size-based required condition to check if the index size is at leastsize
. -
addMinPrimaryShardSizeCondition
Adds a size-based required condition to check if the size of the largest primary shard is at leastsize
. -
addMinPrimaryShardDocsCondition
Adds a size-based required condition to check if the docs of the largest primary shard has at leastnumDocs
-
build
-