Documentation
¶
Index ¶
- func CurrentQuery(ctx *execctx.ExecutionContext) exec.PullExecutor
- type Engine
- func (p *Engine) BuildPullQuery(execCtx *execctx.ExecutionContext, query string, argTypes []common.ColumnType, ...) (exec.PullExecutor, error)
- func (p *Engine) ExecuteQuery(schemaName string, query string) (rows *common.Rows, err error)
- func (p *Engine) ExecuteRemotePullQuery(queryInfo *cluster.QueryExecutionInfo) (*common.Rows, error)
- func (p *Engine) NodeJoined(nodeID int)
- func (p *Engine) NodeLeft(nodeID int)
- func (p *Engine) NumCachedExecCtxs() (int, error)
- func (p *Engine) SetAvailable() error
- func (p *Engine) Start() error
- func (p *Engine) Stop() error
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 (*Engine) BuildPullQuery ¶
func (p *Engine) BuildPullQuery(execCtx *execctx.ExecutionContext, query string, argTypes []common.ColumnType, args []interface{}) (exec.PullExecutor, error)
func (*Engine) ExecuteQuery ¶
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 (*Engine) NumCachedExecCtxs ¶
func (*Engine) SetAvailable ¶
Click to show internal directories.
Click to hide internal directories.