feat: add query_file (support multi queries execution)
This commit is contained in:
@ -3,9 +3,11 @@ package interfaces
|
||||
import "context"
|
||||
|
||||
type DumpIO interface {
|
||||
ReadData(context.Context, int) ([]*ESSource, error)
|
||||
ReadData(context.Context, int, map[string]any) ([]*ESSource, error)
|
||||
WriteData(ctx context.Context, docs []*ESSource) (int, error)
|
||||
|
||||
ResetOffset()
|
||||
|
||||
ReadMapping(context.Context) (map[string]any, error)
|
||||
WriteMapping(context.Context, map[string]any) error
|
||||
|
||||
|
Reference in New Issue
Block a user