kusto

package
v0.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataFormat

type DataFormat uint8

DataFormat is an enum for Azure Data Explorer (Kusto) data injestion formats.

The possible formats are found in the Azure documentation. See [ https://docs.microsoft.com/en-us/azure/kusto/management/data-ingestion/#supported-data-formats ]

const (
	// CSVFormat defines the csv data format.
	CSVFormat DataFormat = iota
	// JSONFormat defines the json data format.
	JSONFormat
	// AVROFormat defines the avro data format.
	AVROFormat
	// NoFormat defines an absent format.
	NoFormat
)

func ParseDataFormat

func ParseDataFormat(formatStr string) (DataFormat, error)

ParseDataFormat converts a Kusto Data Format string into a kusto.DataFormat value. returns an error if the input string does not match known values.

func (DataFormat) String

func (km DataFormat) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL