ViewConsolidationPolicy Class |
Namespace: ArangoDBNetStandard.ViewApi.Models
The ViewConsolidationPolicy type exposes the following members.
Name | Description | |
---|---|---|
ViewConsolidationPolicy | Initializes a new instance of the ViewConsolidationPolicy class |
Name | Description | |
---|---|---|
MinScore | ||
SegmentsBytesFloor |
The value (in bytes) to treat all
smaller segments as equal for
consolidation selection (default: 2097152)
| |
SegmentsBytesMax |
Maximum allowed size of all consolidated
segments in bytes (default: 5368709120)
| |
SegmentsMax |
The maximum number of segments that
will be evaluated as candidates
for consolidation (default: 10)
| |
SegmentsMin |
The minimum number of segments that
will be evaluated as candidates
for consolidation (default: 1)
| |
Threshold |
Value in the range [0.0, 1.0]
| |
Type |
The type of consolidation policy.
1) TierType (default): consolidate
based on segment byte size and live
document count as dictated by the
customization attributes.
If this type is used, then below
SegmentsBytesFloor,
SegmentsBytesMax,
SegmentsMax,
SegmentsMin and
MinScore are specified.
2) BytesAccumulationType: consolidate only
if the sum of all candidate segment
byte size is less than the total
segment byte size multiplied by
the Threshold.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
BytesAccumulationType |
Possible value for Type | |
TierType |
Possible value for Type |