Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImportOpt ¶
type ImportOpt struct { Revision *types.Revision Entity *types.Entity ExportStream <-chan types.ExportRecord ExportError <-chan error Features types.FeatureList }
type MultiGetOpt ¶
type PrepareStreamTableOpt ¶ added in v0.0.4
type Store ¶
type Store interface { Get(ctx context.Context, opt GetOpt) (dbutil.RowMap, error) MultiGet(ctx context.Context, opt MultiGetOpt) (map[string]dbutil.RowMap, error) Purge(ctx context.Context, revisionID int) error // Batch import batch feature to online store Import(ctx context.Context, opt ImportOpt) error // Push streaming feature to online store // Note: Make sure that the table corresponding to the stream feature already exists before executing this method Push(ctx context.Context, opt PushOpt) error PrepareStreamTable(ctx context.Context, opt PrepareStreamTableOpt) error Ping(ctx context.Context) error io.Closer }
Click to show internal directories.
Click to hide internal directories.