package
1.5.0
Repository: https://github.com/m3db/m3.git
Documentation: pkg.go.dev

# Functions

CompressTypes compresses a list of aggregation types to an ID.
EmptyTransform transforms the input byte slice to an empty byte slice.
MustCompressTypes compresses a list of aggregation types to an ID, it panics if an error was encountered.
NewIDCompressor returns a new IDCompressor.
NewIDDecompressor returns a new IDDecompressor.
NewIDFromProto creates an ID from proto.
NewPooledIDDecompressor returns a new pooled TypeDecompressor.
NewTypeFromProto creates an aggregation type from a proto.
NewTypesFromProto creates a list of aggregation types from a proto.
NewTypesOptions returns a default TypesOptions.
NewTypesPool creates a new pool for aggregation types.
NoOpTransform returns the input byte slice as is.
ParseType parses an aggregation type.
ParseTypes parses a list of aggregation types in the form of type1,type2,type3.
SuffixTransform transforms the input byte slice to a suffix by prepending a dot at the beginning.

# Constants

Supported aggregation types.
IDLen is the length of the ID.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.
Supported aggregation types.

# Variables

DefaultID is a default ID.
DefaultTypes is a default list of aggregation types.
EmptyTransformType is the type for an empty transform function.
NoopTransformType is the type for noop transform function.
SuffixTransformType is the type for suffix transform function.
ValidTypes is the list of all the valid aggregation types.

# Structs

TypesConfiguration contains configuration for aggregation types.

# Interfaces

IDCompressor can compress Types into an ID.
IDDecompressor can decompress ID.
TypesOptions provides a set of options for aggregation types.
TypesPool provides a pool of aggregation types.

# Type aliases

ID represents a compressed view of Types.
QuantileTypeStringFn returns the type string for a quantile value.
TransformFnType specifies the type of the aggregation transform function.
Type defines an aggregation function.
Types is a list of Types.
TypesAlloc allocates new aggregation types.
TypeStringTransformFn transforms the type string.