Documentation ¶
Overview ¶
Package types holds Kusto data type representations. All types provide a Value that stores the native value and Valid which indicates if the value was set or was null. TODO: This package is missing the Decimal an Timespan types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct { // Value holds the value of the type. Value bool // Valid indicates if this value was set. Valid bool }
Bool represents a Kusto boolean type. Bool implements KustoValue.
type DateTime ¶
type DateTime struct { // Value holds the value of the type. Value time.Time // Valid indicates if this value was set. Valid bool }
DateTime represents a Kusto datetime type. DateTime implements KustoValue.
type Dynamic ¶
type Dynamic struct { // Value holds the value of the type. Value string // Valid indicates if this value was set. Valid bool }
Dynamic represents a Kusto dynamic type. Dynamic implements KustoValue.
type GUID ¶
type GUID struct { // Value holds the value of the type. Value uuid.UUID // Valid indicates if this value was set. Valid bool }
GUID represents a Kusto GUID type. GUID implements KustoValue.
type Int ¶
type Int struct { // Value holds the value of the type. Value int32 // Valid indicates if this value was set. Valid bool }
Int represents a Kuston int type. Kusto int type's are int32 values. Int implements KustoValue.
type KustoValue ¶
type KustoValue interface {
// contains filtered or unexported methods
}
KustoValue represents a Kusto value.
type KustoValues ¶
type KustoValues []KustoValue
KustoValues is a list of KustoValue, usually an ordered row.
type Long ¶
type Long struct { // Value holds the value of the type. Value int64 // Valid indicates if this value was set. Valid bool }
Long represents a Kuston long type, which is an int64. Long implements KustoValue.
type Real ¶
type Real struct { // Value holds the value of the type. Value float64 // Valid indicates if this value was set. Valid bool }
Real represents a Kusto real type. Real implements KustoValue.