Documentation
¶
Index ¶
- Variables
- func BlockDataRead(ctx context.Context, info *objectio.BlockInfo, ds engine.DataSource, ...) error
- func BlockDataReadBackup(ctx context.Context, info *objectio.BlockInfo, ds engine.DataSource, ...) (loaded *batch.Batch, sortKey uint16, err error)
- func BlockDataReadInner(ctx context.Context, info *objectio.BlockInfo, ds engine.DataSource, ...) (err error)
- func BlockDataReadNoCopy(ctx context.Context, info *objectio.BlockInfo, ds engine.DataSource, ...) (*batch.Batch, *nulls.Bitmap, func(), error)
- func CopyBlockData(ctx context.Context, location objectio.Location, deletes []int64, ...) (err error)
- func HandleOrderByLimitOnIVFFlatIndex(ctx context.Context, selectRows []int64, vecCol *vector.Vector, ...) ([]int64, []float64, error)
- func ReadDataByFilter(ctx context.Context, tableName string, info *objectio.BlockInfo, ...) (sels []int64, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var EncodeLocation = objectio.BuildLocation
View Source
var EncodeLocationFromString = objectio.StringToLocation
Functions ¶
func BlockDataRead ¶
func BlockDataRead( ctx context.Context, info *objectio.BlockInfo, ds engine.DataSource, columns []uint16, colTypes []types.Type, phyAddrColumnPos int, ts timestamp.Timestamp, filterSeqnums []uint16, filterColTypes []types.Type, filter objectio.BlockReadFilter, orderByLimit *objectio.IndexReaderTopOp, policy fileservice.Policy, tableName string, bat *batch.Batch, cacheVectors containers.Vectors, mp *mpool.MPool, fs fileservice.FileService, ) error
BlockDataRead only read block data from storage, don't apply deletes.
func BlockDataReadBackup ¶
func BlockDataReadBackup( ctx context.Context, info *objectio.BlockInfo, ds engine.DataSource, idxes []uint16, ts types.TS, fs fileservice.FileService, ) (loaded *batch.Batch, sortKey uint16, err error)
func BlockDataReadInner ¶
func BlockDataReadInner( ctx context.Context, info *objectio.BlockInfo, ds engine.DataSource, columns []uint16, colTypes []types.Type, phyAddrColumnPos int, ts types.TS, selectRows []int64, orderByLimit *objectio.IndexReaderTopOp, policy fileservice.Policy, outputBat *batch.Batch, cacheVectors containers.Vectors, mp *mpool.MPool, fs fileservice.FileService, ) (err error)
BlockDataReadInner only read data,don't apply deletes.
func BlockDataReadNoCopy ¶
func BlockDataReadNoCopy( ctx context.Context, info *objectio.BlockInfo, ds engine.DataSource, columns []uint16, colTypes []types.Type, ts types.TS, policy fileservice.Policy, mp *mpool.MPool, fs fileservice.FileService, ) (*batch.Batch, *nulls.Bitmap, func(), error)
BlockDataReadNoCopy only read block data from storage, don't apply deletes.
func CopyBlockData ¶
func ReadDataByFilter ¶
func ReadDataByFilter( ctx context.Context, tableName string, info *objectio.BlockInfo, ds engine.DataSource, columns []uint16, colTypes []types.Type, ts types.TS, searchFunc objectio.ReadFilterSearchFuncType, cacheVectors containers.Vectors, mp *mpool.MPool, fs fileservice.FileService, ) (sels []int64, err error)
ReadDataByFilter only read block data from storage by filter, don't apply deletes. Right now, it cannot support filter by physical address column. len(columns) == len(colTypes) >= 1 (supports multiple columns for optimization)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.