splitter

package
v0.0.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SplittedTableMetadata

type SplittedTableMetadata struct {
	DataSizeInBytes uint64
	DataSizeInRows  uint64
	PartsCount      uint64
}

type Splitter

type Splitter interface {
	Split(ctx context.Context, table abstract.TableDescription) (*SplittedTableMetadata, error)
}

func BuildSplitter

func BuildSplitter(ctx context.Context, storage postgresStorage, desiredTableSize uint64, snapshotDegreeOfParallelism int, isView, hasDataFiltration bool) Splitter

type TableFull

type TableFull struct {
	// contains filtered or unexported fields
}

func NewTableFull

func NewTableFull(storage postgresStorage, desiredTableSize uint64, snapshotDegreeOfParallelism int) *TableFull

func (*TableFull) Split

type TableIncrement

type TableIncrement struct {
	// contains filtered or unexported fields
}

func NewTableIncrement

func NewTableIncrement(storage postgresStorage, desiredTableSize uint64, snapshotDegreeOfParallelism int) *TableIncrement

func (*TableIncrement) Split

type View

type View struct {
	// contains filtered or unexported fields
}

func NewView

func NewView(storage postgresStorage, snapshotDegreeOfParallelism int) *View

func (*View) Split

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL