Documentation ¶
Index ¶
- func LoadPersistedColumnData(ctx context.Context, rt *dbutils.Runtime, id *common.ID, def *catalog.ColDef, ...) (vec containers.Vector, err error)
- func LoadPersistedColumnDatas(ctx context.Context, schema *catalog.Schema, rt *dbutils.Runtime, ...) ([]containers.Vector, error)
- func LoadPersistedDeletes(ctx context.Context, pkName string, fs *objectio.ObjectFS, ...) (bat *containers.Batch, isPersistedByCN bool, err error)
- func MakeImmuIndex(ctx context.Context, meta *catalog.BlockEntry, bf objectio.BloomFilter, ...) (idx indexwrapper.ImmutIndex, err error)
- func ReadPersistedBlockRow(location objectio.Location) int
- type BlockT
- type DataFactory
- type Node
- type NodeT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPersistedColumnData ¶ added in v0.7.0
func LoadPersistedColumnDatas ¶ added in v0.8.0
func LoadPersistedDeletes ¶ added in v0.7.0
func MakeImmuIndex ¶ added in v0.8.0
func MakeImmuIndex( ctx context.Context, meta *catalog.BlockEntry, bf objectio.BloomFilter, rt *dbutils.Runtime, ) (idx indexwrapper.ImmutIndex, err error)
func ReadPersistedBlockRow ¶ added in v0.7.0
Types ¶
type DataFactory ¶
type DataFactory struct {
// contains filtered or unexported fields
}
func NewDataFactory ¶
func NewDataFactory( rt *dbutils.Runtime, dir string, ) *DataFactory
func (*DataFactory) MakeBlockFactory ¶
func (factory *DataFactory) MakeBlockFactory() catalog.BlockDataFactory
func (*DataFactory) MakeSegmentFactory ¶
func (factory *DataFactory) MakeSegmentFactory() catalog.SegmentDataFactory
func (*DataFactory) MakeTableFactory ¶
func (factory *DataFactory) MakeTableFactory() catalog.TableDataFactory
type NodeT ¶ added in v0.7.0
type NodeT interface { common.IRef IsPersisted() bool PrepareAppend(rows uint32) (n uint32, err error) ApplyAppend( bat *containers.Batch, txn txnif.AsyncTxn, ) (from int, err error) GetDataWindow( readSchema *catalog.Schema, colIdxes []int, from, to uint32, ) (bat *containers.Batch, err error) GetColumnDataWindow( readSchema *catalog.Schema, from uint32, to uint32, col int, ) (vec containers.Vector, err error) GetValueByRow(readSchema *catalog.Schema, row, col int) (v any, isNull bool) GetRowsByKey(key any) (rows []uint32, err error) BatchDedup( ctx context.Context, txn txnif.TxnReader, isCommitting bool, keys containers.Vector, keysZM index.ZM, rowmask *roaring.Bitmap, bf objectio.BloomFilter, ) (err error) ContainsKey(ctx context.Context, key any) (ok bool, err error) Rows() uint32 GetRowByFilter(ctx context.Context, txn txnif.TxnReader, filter *handle.Filter) (row uint32, err error) CollectAppendInRange( start, end types.TS, withAborted bool, ) (batWithVer *containers.BatchWithVersion, err error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.