Documentation
¶
Index ¶
Constants ¶
View Source
const Version = 0
Variables ¶
Functions ¶
func Count ¶
func Count(ri RunIterator) (uint64, error)
func EncodeRuns ¶
func EncodeRuns(rit RunIterator, buf []byte) ([]byte, error)
func SliceFromRuns ¶
func SliceFromRuns(source RunIterator) ([]uint64, error)
Types ¶
type BitIterator ¶
func BitsFromRuns ¶
func BitsFromRuns(source RunIterator) (BitIterator, error)
func BitsFromSlice ¶
func BitsFromSlice(slice []uint64) BitIterator
type RLE ¶
type RLE struct {
// contains filtered or unexported fields
}
func (*RLE) RunIterator ¶
func (rle *RLE) RunIterator() (RunIterator, error)
type RunIterable ¶
type RunIterable interface {
RunIterator() (RunIterator, error)
}
type RunIterator ¶
func DecodeRLE ¶
func DecodeRLE(buf []byte) (RunIterator, error)
func RunsFromBits ¶
func RunsFromBits(source BitIterator) (RunIterator, error)
func RunsFromSlice ¶
func RunsFromSlice(slice []uint64) (RunIterator, error)
func Sum ¶
func Sum(a, b RunIterator) (RunIterator, error)
Click to show internal directories.
Click to hide internal directories.