1
0
mirror of https://github.com/uptrace/go-clickhouse.git synced 2025-06-08 23:26:11 +02:00

24 lines
356 B
Go
Raw Permalink Normal View History

2022-01-23 09:36:24 +02:00
package chschema
import (
"context"
"reflect"
)
type Query interface {
QueryAppender
Operation() string
GetModel() Model
GetTableName() string
}
type Model interface {
ScanBlock(*Block) error
}
type AfterScanRowHook interface {
AfterScanRow(context.Context) error
}
var afterScanBlockHookType = reflect.TypeOf((*AfterScanRowHook)(nil)).Elem()