Documentation ¶
Index ¶
- type BitmapIndex
- func (i *BitmapIndex[T]) AddValue(id string, value interface{}) bool
- func (i *BitmapIndex[T]) Deserialize(data []byte) error
- func (i *BitmapIndex[T]) GetColumnName() string
- func (i *BitmapIndex[T]) GetIndexType() indexer.IndexType
- func (i *BitmapIndex[T]) MarshalJSON() ([]byte, error)
- func (i *BitmapIndex[T]) Search(value interface{}) []uint32
- func (i *BitmapIndex[T]) SearchRange(min, max interface{}) []uint32
- type BitmapIndexJSON
- type BitmapMapIdsJSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitmapIndex ¶
type BitmapIndex[T indexer.ValidType] struct { Metadata indexer.IndexMetadata[T] `json:"metadata"` Index map[T]*bitmap.Bitmap `json:"index"` }
func (*BitmapIndex[T]) AddValue ¶
func (i *BitmapIndex[T]) AddValue(id string, value interface{}) bool
func (*BitmapIndex[T]) Deserialize ¶
func (i *BitmapIndex[T]) Deserialize(data []byte) error
func (*BitmapIndex[T]) GetColumnName ¶
func (i *BitmapIndex[T]) GetColumnName() string
func (*BitmapIndex[T]) GetIndexType ¶
func (i *BitmapIndex[T]) GetIndexType() indexer.IndexType
func (*BitmapIndex[T]) MarshalJSON ¶
func (i *BitmapIndex[T]) MarshalJSON() ([]byte, error)
func (*BitmapIndex[T]) Search ¶
func (i *BitmapIndex[T]) Search(value interface{}) []uint32
func (*BitmapIndex[T]) SearchRange ¶
func (i *BitmapIndex[T]) SearchRange(min, max interface{}) []uint32
type BitmapIndexJSON ¶
type BitmapIndexJSON[T indexer.ValidType] struct { Metadata indexer.IndexMetadata[T] `json:"metadata"` Indexes []BitmapMapIdsJSON[T] `json:"index"` }
type BitmapMapIdsJSON ¶
Click to show internal directories.
Click to hide internal directories.