Documentation
¶
Index ¶
- type Config
- type MemTable
- func (t *MemTable) AddMemSize(size int64)
- func (t *MemTable) ApplyConcurrency(f func(msName string, sids []uint64))
- func (t *MemTable) Close() error
- func (t *MemTable) FlushChunks(dataPath, msName string, tbStore immutable.TablesStore, sids []uint64, ...)
- func (t *MemTable) GetConf() *Config
- func (t *MemTable) GetMaxTimeBySidNoLock(msName string, sid uint64) int64
- func (t *MemTable) GetMemSize() int64
- func (t *MemTable) GetSids(msName string, sids []uint64) []uint64
- func (t *MemTable) NeedFlush() bool
- func (t *MemTable) PutMemTable()
- func (t *MemTable) Ref()
- func (t *MemTable) Reset()
- func (t *MemTable) SetIdx(idx *ski.ShardKeyIndex)
- func (t *MemTable) SortAndDedup(msName string, sids []uint64)
- func (t *MemTable) UnRef()
- func (t *MemTable) Values(msName string, id uint64, tr record.TimeRange, schema record.Schemas, ...) *record.Record
- func (t *MemTable) WriteRows(rowsD *dictpool.Dict, getLastFlushTime func(msName string, sid uint64) int64, ...) error
- type MsInfo
- type SortAuxPool
- type WriteChunk
- type WriteRec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) GetShardMutableSizeLimit ¶
func (*Config) SetShardMutableSizeLimit ¶
type MemTable ¶
type MemTable struct {
// contains filtered or unexported fields
}
func GetMemTable ¶
func NewMemTable ¶
func (*MemTable) ApplyConcurrency ¶
func (*MemTable) FlushChunks ¶
func (t *MemTable) FlushChunks(dataPath, msName string, tbStore immutable.TablesStore, sids []uint64, f func(dataPath, msName string, totalChunks int, tbStore immutable.TablesStore, chunk *WriteChunk, orderMs, unOrderMs *immutable.MsBuilder, finish bool) (*immutable.MsBuilder, *immutable.MsBuilder))
func (*MemTable) GetMaxTimeBySidNoLock ¶
func (*MemTable) GetMemSize ¶
func (*MemTable) PutMemTable ¶
func (t *MemTable) PutMemTable()
func (*MemTable) SetIdx ¶
func (t *MemTable) SetIdx(idx *ski.ShardKeyIndex)
func (*MemTable) SortAndDedup ¶
type SortAuxPool ¶
type SortAuxPool struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.