Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Query will initiate a query using the given query string, parameters, and memory allocator // against the iox instance. It returns an array.RecordReader from the arrow flight api. Query(ctx context.Context, query string, params []interface{}, mem memory.Allocator) (array.RecordReader, error) // GetSchema will retrieve a schema for the given table if this client supports that capability. // If this Client doesn't support this capability, it should return a flux error with the code // codes.Unimplemented. GetSchema(ctx context.Context, table string) (map[string]influxdbiox.ColumnType, error) }
Client provides a way to query an iox instance.
type Dependency ¶
type Dependency struct {
Provider Provider
}
Dependency holds the iox.Dependency to be injected.
type ErrorProvider ¶
type ErrorProvider struct{}
ErrorProvider is an implementation of the Provider that returns an error.
Click to show internal directories.
Click to hide internal directories.