comm

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallOption

type CallOption struct {
	Call *influxql.Call
	Ref  *influxql.VarRef
}

type Cursor

type Cursor interface {
	SetOps(ops []*CallOption)
	Next() (*record.Record, error)
	Close() error
	StartSpan(span *tracing.Span)
	EndSpan()
}

type Cursors

type Cursors []Cursor

func (Cursors) Close

func (cursors Cursors) Close() error

type ExprOptions

type ExprOptions struct {
	Expr influxql.Expr
	Ref  influxql.VarRef
}

type FileInfo

type FileInfo struct {
	MinTime    int64
	MaxTime    int64
	SeriesInfo SeriesInfoIntf
}

type KeyCursor

type KeyCursor interface {
	SetOps(ops []*CallOption)
	SinkPlan(plan hybridqp.QueryNode)
	Next() (*record.Record, SeriesInfoIntf, error)
	Name() string
	Close() error
	GetSchema() record.Schemas
	StartSpan(span *tracing.Span)
	EndSpan()
	NextAggData() (*record.Record, *FileInfo, error)
}

type KeyCursors

type KeyCursors []KeyCursor

func (KeyCursors) Close

func (cursors KeyCursors) Close() error

Close we must continue to close all cursors even if some cursors close failed to avoid resource leak

func (KeyCursors) SetOps

func (cursors KeyCursors) SetOps(ops []*CallOption)

func (KeyCursors) SinkPlan

func (cursors KeyCursors) SinkPlan(plan hybridqp.QueryNode)

type SeriesInfoIntf

type SeriesInfoIntf interface {
	GetSeriesKey() []byte
	GetSeriesTags() *influx.PointTags
	GetSid() uint64
}

Jump to

Keyboard shortcuts

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