Help us shape the future of Go! Take the 2026 Go Developer Survey

druidsqldriver

package
v0.78.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithQueryConfig added in v0.55.3

func WithQueryConfig(ctx context.Context, cfg *QueryConfig) context.Context

Types

type DruidParameter

type DruidParameter struct {
	Type  string `json:"type"`
	Value any    `json:"value"`
}

type DruidQueryContext

type DruidQueryContext struct {
	SQLQueryID                 string `json:"sqlQueryId"`
	EnableTimeBoundaryPlanning bool   `json:"enableTimeBoundaryPlanning"`
	UseCache                   *bool  `json:"useCache,omitempty"`
	PopulateCache              *bool  `json:"populateCache,omitempty"`
	Priority                   int    `json:"priority,omitempty"`
}

type DruidRequest

type DruidRequest struct {
	Query          string            `json:"query"`
	Header         bool              `json:"header"`
	SQLTypesHeader bool              `json:"sqlTypesHeader"`
	ResultFormat   string            `json:"resultFormat"`
	Parameters     []DruidParameter  `json:"parameters"`
	Context        DruidQueryContext `json:"context"`
}

type QueryConfig added in v0.55.3

type QueryConfig struct {
	UseCache      *bool
	PopulateCache *bool
	Priority      int
}

Jump to

Keyboard shortcuts

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