Documentation ¶
Index ¶
- func BuildParams(config *data.StreamConfig) []interface{}
- type Batch
- type Column
- type DataStream
- type MSDataReader
- type PGDataReader
- type SnowflakeDataReader
- func (sf *SnowflakeDataReader) Close() error
- func (sf *SnowflakeDataReader) CreateDataStream(ctx context.Context, connUrl *url.URL, config *data.StreamConfig) (ds *DataStream, err error)
- func (sf *SnowflakeDataReader) ExecuteDataStream(ctx context.Context, ds *DataStream, config *data.StreamConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildParams ¶ added in v0.8.0
func BuildParams(config *data.StreamConfig) []interface{}
Types ¶
type Column ¶
func MapToMvrColumns ¶ added in v0.1.0
func MapToMvrColumns(columns []*sql.ColumnType) []Column
type DataStream ¶
type DataStream = data.DataStream
type MSDataReader ¶ added in v0.5.0
func NewMSDataReader ¶ added in v0.5.0
func NewMSDataReader(connUrl *url.URL) (*MSDataReader, error)
func (*MSDataReader) Close ¶ added in v0.5.0
func (reader *MSDataReader) Close() error
func (*MSDataReader) CreateDataStream ¶ added in v0.5.0
func (reader *MSDataReader) CreateDataStream(ctx context.Context, connUrl *url.URL, config *data.StreamConfig) (*DataStream, error)
func (*MSDataReader) ExecuteDataStream ¶ added in v0.5.0
func (reader *MSDataReader) ExecuteDataStream(ctx context.Context, ds *DataStream, config *data.StreamConfig) error
type PGDataReader ¶ added in v0.1.0
func NewPGDataReader ¶ added in v0.1.0
func NewPGDataReader(connUrl *url.URL) (*PGDataReader, error)
func (*PGDataReader) Close ¶ added in v0.1.0
func (pool *PGDataReader) Close() error
func (*PGDataReader) CreateDataStream ¶ added in v0.1.0
func (pool *PGDataReader) CreateDataStream(ctx context.Context, connUrl *url.URL, config *data.StreamConfig) (ds *DataStream, err error)
func (*PGDataReader) ExecuteDataStream ¶ added in v0.1.0
func (pool *PGDataReader) ExecuteDataStream(ctx context.Context, ds *DataStream, config *data.StreamConfig) error
type SnowflakeDataReader ¶ added in v0.1.0
func NewSnowflakeDataReader ¶ added in v0.1.0
func NewSnowflakeDataReader(connUrl *url.URL) (*SnowflakeDataReader, error)
func (*SnowflakeDataReader) Close ¶ added in v0.1.0
func (sf *SnowflakeDataReader) Close() error
func (*SnowflakeDataReader) CreateDataStream ¶ added in v0.1.0
func (sf *SnowflakeDataReader) CreateDataStream(ctx context.Context, connUrl *url.URL, config *data.StreamConfig) (ds *DataStream, err error)
func (*SnowflakeDataReader) ExecuteDataStream ¶ added in v0.1.0
func (sf *SnowflakeDataReader) ExecuteDataStream(ctx context.Context, ds *DataStream, config *data.StreamConfig) error
Click to show internal directories.
Click to hide internal directories.