query

package
v0.22.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type And

type And []Filter

func (And) Apply

func (a And) Apply(tx *tx.Tx, columns *rows.Row) (*rows.Row, error)

type Filter

type Filter interface {
	Apply(tx *tx.Tx, columns *rows.Row) (*rows.Row, error)
}

Filter selects rows to read in a shard/view context.

type IDs

type IDs []uint64

IDs is a query return type for just uint64 row ids. It should only be used internally (since RowIdentifiers is the external return type), but it is exported because the proto package needs access to it.

func (IDs) Merge

func (r IDs) Merge(other IDs, limit int) IDs

type Noop

type Noop struct{}

func (Noop) Apply

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

type Or

type Or []Filter

func (Or) Apply

func (a Or) Apply(tx *tx.Tx, columns *rows.Row) (*rows.Row, error)

type RowIterator

type RowIterator interface {
	io.Seeker
	Next() (*rows.Row, uint64, *int64, bool, error)
}

Jump to

Keyboard shortcuts

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