Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
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)
}
func NewWrapCursor ¶
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 SourceIterator ¶
type SourceIterator struct {
KeyCursor
// contains filtered or unexported fields
}
func NewSourceIterator ¶
func NewSourceIterator(itrs []record.Iterator, opt hybridqp.Options) *SourceIterator
func (*SourceIterator) Close ¶
func (s *SourceIterator) Close() error
func (*SourceIterator) NextAggData ¶
func (s *SourceIterator) NextAggData() (*record.Record, *FileInfo, error)
type TSIndexInfo ¶ added in v1.4.0
type TSIndexInfo interface {
// SetCursors used to set the created groupCursor
SetCursors([]KeyCursor)
// GetCursors used to get the created groupCursor
GetCursors() []KeyCursor
// IsEmpty used to check whether is empty based on groupCursor.
IsEmpty() bool
// Ref used to add reference counting to the file of the immTables, memTables and TagSetInfos.
Ref()
// Unref used to release reference counting to the file of the immTables, memTables and TagSetInfos.
Unref()
}
TSIndexInfo indicates the index scan result of the tsstore,
type TimeCutKeyCursor ¶ added in v1.3.0
type WrapCursor ¶
type WrapCursor struct {
KeyCursor
// contains filtered or unexported fields
}
func (*WrapCursor) Close ¶
func (w *WrapCursor) Close() error
func (*WrapCursor) Next ¶
func (w *WrapCursor) Next() (*record.Record, SeriesInfoIntf, error)
type WrapIterator ¶
func (*WrapIterator) Next ¶
func (w *WrapIterator) Next() (*record.ConsumeRecord, error)
func (*WrapIterator) Release ¶
func (w *WrapIterator) Release()
func (*WrapIterator) SidCnt ¶
func (w *WrapIterator) SidCnt() int
Click to show internal directories.
Click to hide internal directories.