inmemindexqpu

package
v0.0.0-...-726f7ef Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InMemIndex

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

InMemIndex represents a generic B-Tree index. It can be used for indexing different types of attributes by using different implementation of the indexImplementation interface.

type IndexQPU

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

IndexQPU ...

func InitClass

func InitClass(qpu *libqpu.QPU, catchUpDoneCh chan int) (*IndexQPU, error)

InitClass ...

func (*IndexQPU) ClientQuery

func (q *IndexQPU) ClientQuery(query libqpu.ASTQuery, queryStr string, parentSpan opentracing.Span) (*qpuextapi.QueryResp, error)

ClientQuery ...

func (*IndexQPU) GetConfig

func (q *IndexQPU) GetConfig() *qpuapi.ConfigResponse

GetConfig ...

func (*IndexQPU) ProcessQuerySnapshot

func (q *IndexQPU) ProcessQuerySnapshot(query libqpu.ASTQuery, md map[string]string, sync bool, parentSpan opentracing.Span) (<-chan libqpu.LogOperation, <-chan error)

ProcessQuerySnapshot ...

func (*IndexQPU) ProcessQuerySubscribe

func (q *IndexQPU) ProcessQuerySubscribe(query libqpu.ASTQuery, md map[string]string, sync bool) (int, <-chan libqpu.LogOperation, <-chan error)

ProcessQuerySubscribe ...

func (*IndexQPU) QuerySubscribe

func (q *IndexQPU) QuerySubscribe(query libqpu.ASTQuery, req *qpuextapi.QueryReq) (chan libqpu.LogOperation, chan bool, chan error)

QuerySubscribe ...

func (*IndexQPU) RemovePersistentQuery

func (q *IndexQPU) RemovePersistentQuery(table string, queryID int)

RemovePersistentQuery ...

type Posting

type Posting struct {
	DataItems map[string]*qpuextapi.QueryRespRecord
}

Posting ...

Jump to

Keyboard shortcuts

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