Documentation ¶
Index ¶
- func AppendRow(frame *data.Frame, columns []chainbase.DataWarehouseDataMeta, ...) error
- func ExpandMacros(query backend.DataQuery, statement string) string
- func NewDatasource(_ context.Context, settings backend.DataSourceInstanceSettings) (instancemgmt.Instance, error)
- type Datasource
- type InvalidValueError
- type Options
- type Query
- type UnsupportedTypeError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatasource ¶
func NewDatasource(_ context.Context, settings backend.DataSourceInstanceSettings) (instancemgmt.Instance, error)
Types ¶
type Datasource ¶
type Datasource struct {
// contains filtered or unexported fields
}
func (*Datasource) CheckHealth ¶
func (d *Datasource) CheckHealth(ctx context.Context, _ *backend.CheckHealthRequest) (*backend.CheckHealthResult, error)
func (*Datasource) Dispose ¶
func (d *Datasource) Dispose()
func (*Datasource) QueryData ¶
func (d *Datasource) QueryData(ctx context.Context, request *backend.QueryDataRequest) (*backend.QueryDataResponse, error)
type InvalidValueError ¶
func NewInvalidValueError ¶
func NewInvalidValueError(columnName string, columnValue any) InvalidValueError
func (InvalidValueError) Error ¶
func (i InvalidValueError) Error() string
type UnsupportedTypeError ¶
func NewUnsupportedTypeError ¶
func NewUnsupportedTypeError(columnName, columnType string) UnsupportedTypeError
func (UnsupportedTypeError) Error ¶
func (u UnsupportedTypeError) Error() string
Click to show internal directories.
Click to hide internal directories.