Documentation ¶
Index ¶
- Constants
- Variables
- func NewSimpleARTMap(typ types.Type) *simpleARTMap
- type BatchResp
- type IndexMVCCChain
- type KeysCtx
- 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) FastContainsAny(keys containers.Vector) (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) String() string
- func (zm *ZoneMap) Unmarshal(buf []byte) error
- func (zm *ZoneMap) Update(v any) (err error)
Constants ¶
View Source
const FuseFilterError = "too many iterations, you probably have duplicate keys"
Variables ¶
View Source
var ( ErrNotFound = moerr.NewInternalErrorNoCtx("tae index: key not found") ErrDuplicate = moerr.NewInternalErrorNoCtx("tae index: key duplicate") ErrWrongType = moerr.NewInternalErrorNoCtx("tae index: wrong type") )
Functions ¶
func NewSimpleARTMap ¶
Types ¶
type IndexMVCCChain ¶ added in v0.6.0
type IndexMVCCChain struct {
MVCC []uint32
}
func NewIndexMVCCChain ¶ added in v0.6.0
func NewIndexMVCCChain() *IndexMVCCChain
func (*IndexMVCCChain) GetRows ¶ added in v0.6.0
func (chain *IndexMVCCChain) GetRows() []uint32
func (*IndexMVCCChain) Insert ¶ added in v0.6.0
func (chain *IndexMVCCChain) Insert(node uint32)
type KeysCtx ¶
type SecondaryIndex ¶
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 NewZoneMap ¶
func (*ZoneMap) BatchUpdate ¶
func (*ZoneMap) ContainsAny ¶
func (*ZoneMap) FastContainsAny ¶ added in v0.7.0
func (zm *ZoneMap) FastContainsAny(keys containers.Vector) (ok bool)
func (*ZoneMap) GetMemoryUsage ¶
Click to show internal directories.
Click to hide internal directories.