Click or drag to resize

AggregateBucketAutoGranularity Structure

Represents the granularity value for a $bucketAuto stage.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public struct AggregateBucketAutoGranularity

The AggregateBucketAutoGranularity type exposes the following members.

Constructors
  NameDescription
Public methodAggregateBucketAutoGranularity
Initializes a new instance of the AggregateBucketAutoGranularity struct.
Top
Properties
  NameDescription
Public propertyStatic memberE12
Gets the E12 granularity.
Public propertyStatic memberE192
Gets the E192 granularity.
Public propertyStatic memberE24
Gets the E24 granularity.
Public propertyStatic memberE48
Gets the E48 granularity.
Public propertyStatic memberE6
Gets the E6 granularity.
Public propertyStatic memberE96
Gets the E96 granularity.
Public propertyStatic memberPowersOf2
Gets the POWERSOF2 granularity.
Public propertyStatic memberR10
Gets the R10 granularity.
Public propertyStatic memberR20
Gets the R20 granularity.
Public propertyStatic memberR40
Gets the R40 granularity.
Public propertyStatic memberR5
Gets the R5 granularity.
Public propertyStatic memberR80
Gets the R80 granularity.
Public propertyStatic memberS1_2_5
Gets the 1-2-5 granularity.
Public propertyValue
Gets the value.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also