Documentation ¶
Index ¶
- type Bitmap
- func (n *Bitmap) Add(row uint64)
- func (n *Bitmap) AddMany(rows []uint64)
- func (n *Bitmap) AddRange(start, end uint64)
- func (n *Bitmap) And(m *Bitmap)
- func (n *Bitmap) C_And(m *Bitmap)
- func (n *Bitmap) C_Count() uint64
- func (n *Bitmap) C_IsEmpty() bool
- func (n *Bitmap) C_Or(m *Bitmap)
- func (n *Bitmap) Clone() *Bitmap
- func (n *Bitmap) Contains(row uint64) bool
- func (n *Bitmap) Count() int
- func (n *Bitmap) EmptyByFlag() bool
- func (n *Bitmap) Filter(sels []int64) *Bitmap
- func (n *Bitmap) InitWith(other *Bitmap)
- func (n *Bitmap) InitWithSize(len int64)
- func (n *Bitmap) IsEmpty() bool
- func (n *Bitmap) IsSame(m *Bitmap) bool
- func (n *Bitmap) Iterator() Iterator
- func (n *Bitmap) Len() int64
- func (n *Bitmap) Marshal() []byte
- func (n *Bitmap) MarshalBinary() ([]byte, error)
- func (n *Bitmap) Negate()
- func (n *Bitmap) Or(m *Bitmap)
- func (n *Bitmap) Ptr() *uint64
- func (n *Bitmap) Remove(row uint64)
- func (n *Bitmap) RemoveRange(start, end uint64)
- func (n *Bitmap) Reset()
- func (n *Bitmap) Size() int
- func (n *Bitmap) String() string
- func (n *Bitmap) ToArray() []uint64
- func (n *Bitmap) ToI64Arrary() []int64
- func (n *Bitmap) TryExpand(m *Bitmap)
- func (n *Bitmap) TryExpandWithSize(size int)
- func (n *Bitmap) Unmarshal(data []byte)
- func (n *Bitmap) UnmarshalBinary(data []byte) error
- func (n *Bitmap) UnmarshalNoCopy(data []byte)
- 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 {
// contains filtered or unexported fields
}
Bitmap represents line numbers of tuple's is null
func (*Bitmap) EmptyByFlag ¶ added in v0.8.0
EmptyByFlag is a quick and dirty way to check if the bitmap is empty. If it retruns true, the bitmap is empty. Otherwise, it may or may not be empty.
func (*Bitmap) InitWithSize ¶ added in v0.8.0
func (*Bitmap) IsEmpty ¶
IsEmpty returns true if no bit in the Bitmap is set, otherwise it will return false.
func (*Bitmap) MarshalBinary ¶ added in v0.6.0
func (*Bitmap) RemoveRange ¶
func (*Bitmap) Size ¶
Size return number of bytes in n.data XXX WTF Note that this size is not the same as InitWithSize.
func (*Bitmap) ToI64Arrary ¶ added in v0.8.0
func (*Bitmap) TryExpandWithSize ¶
func (*Bitmap) UnmarshalBinary ¶ added in v0.6.0
func (*Bitmap) UnmarshalNoCopy ¶ added in v0.8.0
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.