Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DescribeResult ¶ added in v1.13.0
type DescribeResult struct {
ParameterTypes map[string]string `json:"parameter_types"`
ResultColumns []struct {
Name string `json:"name"`
Type string `json:"type"`
} `json:"result_columns"`
}
DescribeResult represents the structure of a describe query result
type ErrorDetails ¶
type FireboltSettings ¶
type JSONLinesRecord ¶
type JSONLinesRecord struct {
MessageType RecordMessageType `json:"message_type"`
ResultColumns *[]Column `json:"result_columns,omitempty"`
QueryID *string `json:"query_id,omitempty"`
QueryLabel *string `json:"query_label,omitempty"`
RequestID *string `json:"request_id,omitempty"`
Data *[][]interface{} `json:"data,omitempty"`
Errors *[]ErrorDetails `json:"errors,omitempty"`
Statistics *interface{} `json:"statistics,omitempty"`
}
JSONLinesRecord is a struct that represents any of the possible JSONLines records
type QueryResponse ¶
type QueryResponse struct {
Query interface{} `json:"query"`
Meta []Column `json:"meta"`
Data [][]interface{} `json:"data"`
Rows int `json:"rows"`
Errors []ErrorDetails `json:"errors"`
Statistics interface{} `json:"statistics"`
}
type RecordMessageType ¶
type RecordMessageType string
const ( MessageTypeStart RecordMessageType = "START" MessageTypeData RecordMessageType = "DATA" MessageTypeSuccess RecordMessageType = "FINISH_SUCCESSFULLY" MessageTypeError RecordMessageType = "FINISH_WITH_ERRORS" )
Click to show internal directories.
Click to hide internal directories.