Documentation ¶
Index ¶
- func IndexTable(db objects.Store, tblSum []byte, tbl *objects.Table, logger logr.Logger) error
- func IngestTable(db objects.Store, sorter *sorter.Sorter, f io.ReadCloser, pk []string, ...) ([]byte, error)
- func IngestTableFromBlocks(db objects.Store, sorter *sorter.Sorter, columns []string, pk []uint32, ...) ([]byte, error)
- func ProfileTable(db objects.Store, sum []byte, tbl *objects.Table) error
- func ReingestTable(db objects.Store, s *sorter.Sorter, tbl *objects.Table, useBlockIndex bool, ...) (newTableSum []byte, err error)
- type Error
- type Inserter
- type InserterOption
- type ProgressBar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexTable ¶
func IngestTable ¶
func IngestTableFromBlocks ¶
func ProfileTable ¶ added in v0.8.0
func ReingestTable ¶ added in v0.12.1
func ReingestTable(db objects.Store, s *sorter.Sorter, tbl *objects.Table, useBlockIndex bool, logger logr.Logger, opts ...InserterOption) (newTableSum []byte, err error)
ReingestTable searchs for duplicated rows in a table. If duplicated rows are detected, it re-ingests the table and return the new table sum
Types ¶
type Inserter ¶
type Inserter struct {
// contains filtered or unexported fields
}
func NewInserter ¶ added in v0.7.0
type InserterOption ¶
type InserterOption func(*Inserter)
func WithNumWorkers ¶
func WithNumWorkers(n int) InserterOption
func WithProgressBar ¶
func WithProgressBar(pt pbar.Bar) InserterOption
type ProgressBar ¶
Click to show internal directories.
Click to hide internal directories.