mutex

package
v0.22.14 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 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, value 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, value uint64) error) error

func Rows

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

Types

type Blob added in v0.22.10

type Blob struct {
	Field string
	Op    OP
	Value []byte
}

func (*Blob) Apply added in v0.22.10

func (b *Blob) Apply(txn *tx.Tx, columns *rows.Row) (r *rows.Row, err error)

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 MatchString

type MatchString struct {
	Field string
	Op    OP
	Value string
}

func (*MatchString) Apply

func (m *MatchString) Apply(txn *tx.Tx, columns *rows.Row) (r *rows.Row, err error)

type OP

type OP uint
const (
	EQ OP = iota
	NEQ
	RE
	NRE
)

Jump to

Keyboard shortcuts

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