Click or drag to resize

ViewConsolidationPolicy Class

The consolidation policy to apply for selecting which segments should be merged. Read more about this in the documentation.
Inheritance Hierarchy
SystemObject
  ArangoDBNetStandard.ViewApi.ModelsViewConsolidationPolicy

Namespace:  ArangoDBNetStandard.ViewApi.Models
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public class ViewConsolidationPolicy

The ViewConsolidationPolicy type exposes the following members.

Constructors
  NameDescription
Public methodViewConsolidationPolicy
Initializes a new instance of the ViewConsolidationPolicy class
Top
Properties
  NameDescription
Public propertyMinScore
Specified if Type is TierType.
Public propertySegmentsBytesFloor
The value (in bytes) to treat all smaller segments as equal for consolidation selection (default: 2097152)
Public propertySegmentsBytesMax
Maximum allowed size of all consolidated segments in bytes (default: 5368709120)
Public propertySegmentsMax
The maximum number of segments that will be evaluated as candidates for consolidation (default: 10)
Public propertySegmentsMin
The minimum number of segments that will be evaluated as candidates for consolidation (default: 1)
Public propertyThreshold
Value in the range [0.0, 1.0]
Public propertyType
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.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberBytesAccumulationType
Possible value for Type
Public fieldStatic memberTierType
Possible value for Type
Top
See Also