Documentation
¶
Index ¶
- type Bitmap
- func (n *Bitmap) Add(row uint64)
- func (n *Bitmap) AddMany(rows []uint64)
- func (n *Bitmap) Clear()
- func (n *Bitmap) Contains(row uint64) bool
- func (n *Bitmap) Expand(size int)
- func (n *Bitmap) Filter(sels []int64) *Bitmap
- func (n *Bitmap) IsEmpty() bool
- func (n *Bitmap) Iterator() Iterator
- func (n *Bitmap) Numbers() int
- func (n *Bitmap) Or(m *Bitmap)
- func (n *Bitmap) Read(data []byte) error
- func (n *Bitmap) Remove(row uint64)
- func (n *Bitmap) RemoveRange(start, end uint64)
- func (n *Bitmap) Show() []byte
- func (n *Bitmap) Size() int
- func (n *Bitmap) String() string
- func (n *Bitmap) ToArray() []uint64
- func (n *Bitmap) TryExpand(m *Bitmap)
- func (n *Bitmap) TryExpandWithSize(size int)
- type BitmapIterator
- type Iterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bitmap ¶
type Bitmap struct { // Len represent the size of bitmap Len int // Any representat whether or not the vector has any null values set Any bool Data []byte }
Nulls represent line numbers of tuple's is null
func (*Bitmap) IsEmpty ¶
IsEmpty returns true if no bit in the Bitmap is set, otherwise it will return false.
func (*Bitmap) RemoveRange ¶
func (*Bitmap) TryExpandWithSize ¶
type BitmapIterator ¶
type BitmapIterator struct {
// contains filtered or unexported fields
}
func (*BitmapIterator) HasNext ¶
func (itr *BitmapIterator) HasNext() bool
func (*BitmapIterator) Next ¶
func (itr *BitmapIterator) Next() uint64
func (*BitmapIterator) PeekNext ¶
func (itr *BitmapIterator) PeekNext() uint64
Click to show internal directories.
Click to hide internal directories.