Documentation
¶
Index ¶
- type Config
- type Connector
- func (c *Connector) Discovery(ctx context.Context) ([]model.Table, error)
- func (c *Connector) GuessColumnType(sqlType string) model.ColumnType
- func (c *Connector) InferQuery(ctx context.Context, query string) ([]model.ColumnSchema, error)
- func (c *Connector) InferResultColumns(ctx context.Context, query string) ([]model.ColumnSchema, error)
- func (c *Connector) Ping(ctx context.Context) error
- func (c *Connector) Query(ctx context.Context, endpoint model.Endpoint, params map[string]any) ([]map[string]any, error)
- func (c *Connector) Sample(ctx context.Context, table model.Table) ([]map[string]any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
func (*Connector) GuessColumnType ¶
func (c *Connector) GuessColumnType(sqlType string) model.ColumnType
func (*Connector) InferQuery ¶
func (*Connector) InferResultColumns ¶
Click to show internal directories.
Click to hide internal directories.
