split_data

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

type Maps

type Maps map[string]*Node

func BuildMaps

func BuildMaps(db *database.Database, mapList []keymap.KeyMap, groupKey *keymap.Key) (maps Maps, err error)

type Node

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

type Splitor

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

func Split

func Split(exec executor.Executor, db *database.Database, maps []keymap.KeyMap, groupKey *keymap.Key, slices int, useBitArray bool) (splitor *Splitor, err error)

func (*Splitor) DumpSchema

func (s *Splitor) DumpSchema(path string) error

func (*Splitor) Next

func (s *Splitor) Next(path string, batch uint) (id int, err error)

/ Dump data into path; return id of next slice

func (*Splitor) Slices

func (s *Splitor) Slices() int

Jump to

Keyboard shortcuts

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