pull

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentQuery

func CurrentQuery(ctx *execctx.ExecutionContext) exec.PullExecutor

Types

type Engine

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

func NewPullEngine

func NewPullEngine(cluster cluster.Cluster, metaController *meta.Controller, shrder *sharder.Sharder) *Engine

func (*Engine) BuildPullQuery

func (p *Engine) BuildPullQuery(execCtx *execctx.ExecutionContext, query string, argTypes []common.ColumnType,
	args []interface{}) (exec.PullExecutor, error)

func (*Engine) ExecuteQuery

func (p *Engine) ExecuteQuery(schemaName string, query string) (rows *common.Rows, err error)

ExecuteQuery - Lightweight query interface - used internally for loading a moderate amount of rows

func (*Engine) ExecuteRemotePullQuery

func (p *Engine) ExecuteRemotePullQuery(queryInfo *cluster.QueryExecutionInfo) (*common.Rows, error)

ExecuteRemotePullQuery - executes a pull query received from another node

func (*Engine) NodeJoined

func (p *Engine) NodeJoined(nodeID int)

func (*Engine) NodeLeft

func (p *Engine) NodeLeft(nodeID int)

func (*Engine) NumCachedExecCtxs

func (p *Engine) NumCachedExecCtxs() (int, error)

func (*Engine) SetAvailable

func (p *Engine) SetAvailable() error

func (*Engine) Start

func (p *Engine) Start() error

func (*Engine) Stop

func (p *Engine) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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