public class ConsolidationPolicy extends Object
Modifier and Type | Method and Description |
---|---|
Long |
getSegmentThreshold() |
Double |
getThreshold() |
ConsolidationType |
getType() |
static ConsolidationPolicy |
of(ConsolidationType type) |
ConsolidationPolicy |
segmentThreshold(Long segmentThreshold) |
ConsolidationPolicy |
threshold(Double threshold) |
public static ConsolidationPolicy of(ConsolidationType type)
public ConsolidationPolicy threshold(Double threshold)
threshold
- Select a given segment for "consolidation" if and only if the formula based on type (as defined above)
evaluates to true, valid value range [0.0, 1.0] (default: 0.85)public ConsolidationPolicy segmentThreshold(Long segmentThreshold)
segmentThreshold
- Apply the "consolidation" operation if and only if (default: 300): {segmentThreshold} <
number_of_segmentspublic ConsolidationType getType()
public Double getThreshold()
public Long getSegmentThreshold()
Copyright © 2016–2019 ArangoDB GmbH. All rights reserved.