Enum TypeKind
Enumeration of types supported.
Namespace: Mangrove.MetricSetSyntaxTree.ExpressionNodes
Assembly: MetricSetSyntaxTree.dll
Syntax
public enum TypeKind
Remarks
Since some compute fabrics (e.g., Kusto) do not have a notion of non-nullable types, the default is for types in Mangrove to be nullable.
Note: Additions to this enum must go at the end, to make changes backwards-compatible.
Fields
Name | Description |
---|---|
Boolean | Corresponds to the .NET System.Boolean (bool?) type. |
Byte | Corresponds to the .NET nullable System.Byte (byte?) type. |
Char | Corresponds to the .NET nullable System.Char (char?) type. |
DateTime | Corresponds to the .NET System.DateTime? type. |
Decimal | Corresponds to the .NET System.Decimal? (decimal?) type. |
Double | Corresponds to the .NET System.Double? (double?) type. |
Histogram | Corresponds to the .NET System.Collections.Generic.Dictionary<T,long?> type. |
HistogramOfLong | Histogram for data type long. It is needed as a separate data type for vectorized emitters (e.g. MetricsVectorization). Indeed, since Histogram with different underlying data types should belong to different Bags, we need to distinguish them as types. |
HistogramOfString | Histogram for data type string. It is needed as a separate data type for vectorized emitters (e.g. MetricsVectorization). Indeed, since Histogram with different underlying data types should belong to different Bags, we need to distinguish them as types. |
Int | Corresponds to the .NET nullable System.Int32 (int?) type. |
Long | Corresponds to the .NET nullable System.Int64 (long?) type. |
None | |
NonNullableBoolean | Corresponds to the .NET non nullable bool type. |
NonNullableByte | Corresponds to the .NET non nullable byte type. |
NonNullableChar | Corresponds to the .NET non nullable char type. |
NonNullableDateTime | Corresponds to the .NET non nullable System.DateTime type. |
NonNullableDecimal | Corresponds to the .NET non nullable decimal type. |
NonNullableDouble | Corresponds to the .NET non nullable double type. |
NonNullableInt | Corresponds to the .NET non nullable int type. |
NonNullableLong | Corresponds to the .NET non nullable long type. |
NonNullableTimeSpan | Corresponds to the .NET non nullable System.TimeSpan type. |
NonNullableUnsignedLong | Corresponds to the .NET non nullable ulong type. |
String | Corresponds to the .NET System.String (string) type. |
TimeSpan | Corresponds to the .NET System.TimeSpan? type. |
Unknown | A type that is not primitive. |
UnsignedLong | Corresponds to the .NET nullable System.UInt64 (ulong?) type. |