sets

package
v0.22.17 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(m *roaring.Bitmap, id uint64, values []uint64)

func Distinct

func Distinct(c *rbf.Cursor, o *roaring64.Bitmap, filters *rows.Row) error

func Extract

func Extract(c *rbf.Cursor, shard uint64, columns *rows.Row, f func(column uint64, value []uint64) error) error

func Rows

func Rows(txn *tx.Tx, field string, start uint64, o *roaring64.Bitmap, filters ...roaring.BitmapFilter) error

Types

type Match

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

func Filter

func Filter(field string, value uint64) *Match

func (*Match) Apply

func (m *Match) Apply(tx *tx.Tx, columns *rows.Row) (*rows.Row, error)

type RowIterator

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

func NewRowIterator

func NewRowIterator(c *rbf.Cursor, shard uint64, wrap bool, filters ...roaring.BitmapFilter) (*RowIterator, error)

func (*RowIterator) Next

func (it *RowIterator) Next() (r *rows.Row, rowID uint64, _ *int64, wrapped bool, err error)

func (*RowIterator) Seek

func (it *RowIterator) Seek(offset int64, whence int) (int64, error)

Jump to

Keyboard shortcuts

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