Documentation ¶
Index ¶
- type Merge
- type Merger
- func (m *Merger) Close() error
- func (m *Merger) Columns(removedCols map[int]struct{}) []string
- func (m *Merger) Error() error
- func (m *Merger) PK() []string
- func (m *Merger) SaveResolvedRow(pk []byte, row []string) error
- func (m *Merger) SortedBlocks(removedCols map[int]struct{}) (<-chan *sorter.Block, uint32, error)
- func (m *Merger) SortedRows(removedCols map[int]struct{}) (<-chan *sorter.Rows, uint32, error)
- func (m *Merger) Start() (ch <-chan *Merge, err error)
- type RowCollector
- func (c *RowCollector) Close() error
- func (c *RowCollector) CollectResolvedRow(errChan chan<- error, origChan <-chan *Merge) <-chan *Merge
- func (c *RowCollector) Columns(removedCols map[int]struct{}) []string
- func (c *RowCollector) PK() []string
- func (c *RowCollector) SaveResolvedRow(pk []byte, row []string) error
- func (c *RowCollector) SortedBlocks(removedCols map[int]struct{}, errChan chan<- error) (<-chan *sorter.Block, uint32, error)
- func (c *RowCollector) SortedRows(removedCols map[int]struct{}, errChan chan<- error) (<-chan *sorter.Rows, uint32, error)
- type RowResolver
- type Rows
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RowCollector ¶
type RowCollector struct {
// contains filtered or unexported fields
}
func CreateRowCollector ¶
func NewCollector ¶
func (*RowCollector) Close ¶
func (c *RowCollector) Close() error
func (*RowCollector) CollectResolvedRow ¶
func (c *RowCollector) CollectResolvedRow(errChan chan<- error, origChan <-chan *Merge) <-chan *Merge
func (*RowCollector) Columns ¶
func (c *RowCollector) Columns(removedCols map[int]struct{}) []string
func (*RowCollector) PK ¶
func (c *RowCollector) PK() []string
func (*RowCollector) SaveResolvedRow ¶
func (c *RowCollector) SaveResolvedRow(pk []byte, row []string) error
func (*RowCollector) SortedBlocks ¶
func (*RowCollector) SortedRows ¶
type RowResolver ¶
type RowResolver struct {
// contains filtered or unexported fields
}
func NewRowResolver ¶
func NewRowResolver(db objects.Store, cd *objects.ColDiff, buf *diff.BlockBuffer) *RowResolver
func (*RowResolver) Resolve ¶
func (r *RowResolver) Resolve(m *Merge) (err error)
Click to show internal directories.
Click to hide internal directories.