Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBufferSize = 1024 * 1024
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobsRestorer ¶
type BlobsRestorer struct { Entry *toc.Entry St storages.Storager // contains filtered or unexported fields }
func NewBlobsRestorer ¶
func (*BlobsRestorer) DebugInfo ¶
func (td *BlobsRestorer) DebugInfo() string
func (*BlobsRestorer) Execute ¶
func (td *BlobsRestorer) Execute(ctx context.Context, conn *pgx.Conn) error
func (*BlobsRestorer) GetEntry ¶ added in v0.2.0
func (td *BlobsRestorer) GetEntry() *toc.Entry
type RestoreTask ¶
type SequenceRestorer ¶
func NewSequenceRestorer ¶
func NewSequenceRestorer(entry *toc.Entry) *SequenceRestorer
func (*SequenceRestorer) DebugInfo ¶
func (td *SequenceRestorer) DebugInfo() string
func (*SequenceRestorer) Execute ¶
func (td *SequenceRestorer) Execute(ctx context.Context, conn *pgx.Conn) error
func (*SequenceRestorer) GetEntry ¶ added in v0.2.0
func (td *SequenceRestorer) GetEntry() *toc.Entry
type TableRestorer ¶
type TableRestorer struct { Entry *toc.Entry St storages.Storager // contains filtered or unexported fields }
func NewTableRestorer ¶
func (*TableRestorer) DebugInfo ¶
func (td *TableRestorer) DebugInfo() string
func (*TableRestorer) Execute ¶
func (td *TableRestorer) Execute(ctx context.Context, conn *pgx.Conn) error
func (*TableRestorer) GetEntry ¶ added in v0.2.0
func (td *TableRestorer) GetEntry() *toc.Entry
type TableRestorerInsertFormat ¶ added in v0.2.0
type TableRestorerInsertFormat struct { Entry *toc.Entry Table *toolkit.Table St storages.Storager // contains filtered or unexported fields }
func NewTableRestorerInsertFormat ¶ added in v0.2.0
func (*TableRestorerInsertFormat) DebugInfo ¶ added in v0.2.0
func (td *TableRestorerInsertFormat) DebugInfo() string
func (*TableRestorerInsertFormat) Execute ¶ added in v0.2.0
func (td *TableRestorerInsertFormat) Execute(ctx context.Context, conn *pgx.Conn) error
func (*TableRestorerInsertFormat) GetEntry ¶ added in v0.2.0
func (td *TableRestorerInsertFormat) GetEntry() *toc.Entry
Click to show internal directories.
Click to hide internal directories.