Documentation
¶
Index ¶
- Variables
- func NewMultiplRowsART(typ types.Type) *mvART
- func NewSimpleARTMap(typ types.Type) *simpleARTMap
- type BatchResp
- type KeysCtx
- type MutipleRowsIndex
- type RowsNode
- type SecondaryIndex
- type StaticFilter
- type ZoneMap
- func (zm *ZoneMap) BatchUpdate(KeysCtx *KeysCtx) error
- func (zm *ZoneMap) Contains(key any) (ok bool)
- func (zm *ZoneMap) ContainsAny(keys containers.Vector) (visibility *roaring.Bitmap, ok bool)
- func (zm *ZoneMap) GetMax() any
- func (zm *ZoneMap) GetMemoryUsage() uint64
- func (zm *ZoneMap) GetMin() any
- func (zm *ZoneMap) GetType() types.Type
- func (zm *ZoneMap) Marshal() (buf []byte, err error)
- func (zm *ZoneMap) SetMax(v any)
- func (zm *ZoneMap) SetMin(v any)
- func (zm *ZoneMap) Unmarshal(buf []byte) error
- func (zm *ZoneMap) Update(v any) (err error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewMultiplRowsART ¶
func NewSimpleARTMap ¶
Types ¶
type KeysCtx ¶
type MutipleRowsIndex ¶
type RowsNode ¶
type RowsNode struct {
Ids []uint32
}
func NewRowsNode ¶
func NewRowsNode() *RowsNode
type SecondaryIndex ¶
type SecondaryIndex interface {
Insert(key any, row uint32) error
BatchInsert(keys *KeysCtx, startRow uint32, upsert bool) (resp *BatchResp, err error)
Update(key any, row uint32) error
BatchUpdate(keys containers.Vector, offsets []uint32, start uint32) error
Delete(key any) (old uint32, err error)
Search(key any) (uint32, error)
Contains(key any) bool
ContainsAny(keysCtx *KeysCtx, rowmask *roaring.Bitmap) bool
String() string
Size() int
}
type StaticFilter ¶
type StaticFilter interface {
MayContainsKey(key any) (bool, error)
MayContainsAnyKeys(keys containers.Vector, visibility *roaring.Bitmap) (bool, *roaring.Bitmap, error)
Marshal() ([]byte, error)
Unmarshal(buf []byte) error
GetMemoryUsage() uint32
Print() string
}
func NewBinaryFuseFilter ¶
func NewBinaryFuseFilter(data containers.Vector) (StaticFilter, error)
func NewBinaryFuseFilterFromSource ¶
func NewBinaryFuseFilterFromSource(data []byte) (StaticFilter, error)
type ZoneMap ¶
type ZoneMap struct {
// contains filtered or unexported fields
}
func LoadZoneMapFrom ¶
func NewZoneMap ¶
func (*ZoneMap) BatchUpdate ¶
func (*ZoneMap) ContainsAny ¶
func (*ZoneMap) GetMemoryUsage ¶
Click to show internal directories.
Click to hide internal directories.