table

package
v0.0.0-...-d005cba Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmptyBitMap = roaring.New()

Functions

This section is empty.

Types

type Iterator

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

func (*Iterator) HasNext

func (i *Iterator) HasNext() bool

func (*Iterator) Next

func (i *Iterator) Next() (r []interface{}, e error)

type Reader

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

func NewReader

func NewReader(idx io.Reader, tab io.ReaderAt, tablen int64) (r *Reader, e error)

func (*Reader) Lookup

func (r *Reader) Lookup(parallelism, column int, v interface{}) *roaring.Bitmap

Performs a lookup and returns the resulting bitmap. The bitmap is potentially shared and must not be modified.

func (*Reader) ReadRecords

func (r *Reader) ReadRecords(rb *roaring.Bitmap) *Iterator

type Writer

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

func NewWriter

func NewWriter(idx, tab io.Writer, cols int) *Writer

func (*Writer) Close

func (w *Writer) Close() error

func (*Writer) WriteRecord

func (w *Writer) WriteRecord(record []interface{}) error

func (w *Writer)

Jump to

Keyboard shortcuts

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