dataindex

package
v0.0.0-...-b38e3c6 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Partition

type Partition struct {
	Name  []byte
	Crc64 uint64
}

type Partitioner

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

func (*Partitioner) Insert

func (p *Partitioner) Insert(name []byte)

func (*Partitioner) Remove

func (p *Partitioner) Remove(name []byte)

func (*Partitioner) RingRange

func (p *Partitioner) RingRange(id []byte) [][]byte

func (*Partitioner) RingRanges

func (p *Partitioner) RingRanges(scs []SplitCollumn, sizePerRange int)

type SplitCollumn

type SplitCollumn struct {
	Value  []byte
	Spaces [][]byte
	Alloc  *[]byte
}

func SplittenMessage

func SplittenMessage(msg []byte) []SplitCollumn

func (SplitCollumn) String

func (s SplitCollumn) String() string

Jump to

Keyboard shortcuts

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