Documentation
¶
Index ¶
- func NewCache() *unpackCache
- type BlockMIDs
- type BlockParams
- type BlockRIDs
- type Loader
- type Provider
- func (p *Provider) DocPos(lid seq.LID) (seq.DocPos, error)
- func (p *Provider) MID(lid seq.LID) (seq.MID, error)
- func (p *Provider) MIDs(lids []node.LID, out []seq.MID) ([]seq.MID, error)
- func (p *Provider) RID(lid seq.LID) (seq.RID, error)
- func (p *Provider) RIDs(lids []node.LID, out []seq.RID) ([]seq.RID, error)
- func (p *Provider) Release()
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockParams ¶
type BlockParams struct {
Values []uint64
}
func (BlockParams) Pack ¶
func (b BlockParams) Pack(dst []byte) []byte
func (*BlockParams) Unpack ¶
func (b *BlockParams) Unpack(data []byte) error
type BlockRIDs ¶
type BlockRIDs struct {
Values []uint64
// contains filtered or unexported fields
}
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
func (*Loader) GetMIDsBlock ¶
func (*Loader) GetParamsBlock ¶
func (l *Loader) GetParamsBlock(index uint32) (BlockParams, error)
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider( indexReader *storage.IndexReader, cacheMIDs *cache.Cache[[]byte], cacheRIDs *cache.Cache[BlockRIDs], cacheParams *cache.Cache[BlockParams], table *Table, fracVersion config.BinaryDataVersion, ) *Provider
Click to show internal directories.
Click to hide internal directories.