Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbnormalFloat ¶
Types ¶
type DeleteLog ¶
type DeleteLog struct { Pk common.PrimaryKey `json:"pk"` Ts uint64 `json:"ts"` PkType int64 `json:"pkType"` }
func (*DeleteLog) UnmarshalJSON ¶
type DeltalogFilter ¶
type DeltalogFilter struct {
// contains filtered or unexported fields
}
func NewDeltalogFilter ¶
func NewDeltalogFilter(entries map[any]uint64) *DeltalogFilter
func (*DeltalogFilter) Match ¶
func (f *DeltalogFilter) Match(pk common.PrimaryKey, ts int64, values map[int64]any) (bool, error)
type DeltalogReader ¶
type DeltalogReader struct {
// contains filtered or unexported fields
}
func NewDeltalogReader ¶
func NewDeltalogReader(f common.ReadSeeker) (*DeltalogReader, error)
func (*DeltalogReader) NextEventReader ¶
func (dr *DeltalogReader) NextEventReader(dataType schemapb.DataType) (*DeltaData, error)
type EntryFilter ¶
type ExprFilter ¶
type ExprFilter struct {
// contains filtered or unexported fields
}
func NewExprFilter ¶
func NewExprFilter(id2Schema map[int64]*schemapb.FieldSchema, iexpr string) (*ExprFilter, error)
func (*ExprFilter) Match ¶
func (f *ExprFilter) Match(pk common.PrimaryKey, ts int64, values map[int64]any) (bool, error)
type SegmentBinlogRecordReader ¶
type SegmentBinlogRecordReader struct { common.LogBatchIterator // contains filtered or unexported fields }
func NewSegmentReader ¶
func NewSegmentReader(segment *models.Segment, selectedFields []int64, translator func(binlog string) (common.ReadSeeker, error)) (*SegmentBinlogRecordReader, error)
func (*SegmentBinlogRecordReader) Close ¶
func (crr *SegmentBinlogRecordReader) Close() error
func (*SegmentBinlogRecordReader) Next ¶
func (crr *SegmentBinlogRecordReader) Next(ctx context.Context) (common.RecordBatch, *common.BatchInfo, error)
type SegmentIterator ¶
type SegmentIterator struct {
// contains filtered or unexported fields
}
func NewSegmentIterator ¶
func NewSegmentIterator(segment *models.Segment, schema *schemapb.CollectionSchema, filters []EntryFilter, id2Schema map[int64]*schemapb.FieldSchema, translator func(binlog string) (common.ReadSeeker, error), scanTask tasks.ScanTask, ) *SegmentIterator
Source Files
¶
Click to show internal directories.
Click to hide internal directories.