Documentation
¶
Index ¶
- type ApproxCountDistinctRing
- func (r *ApproxCountDistinctRing) Add(a interface{}, x, y int64)
- func (r *ApproxCountDistinctRing) BatchAdd(a interface{}, start int64, os []uint8, vps []uint64)
- func (r *ApproxCountDistinctRing) BatchFill(start int64, os []uint8, vps []uint64, zs []int64, vec *vector.Vector)
- func (r *ApproxCountDistinctRing) BulkFill(i int64, zs []int64, vec *vector.Vector)
- func (r *ApproxCountDistinctRing) Count() int
- func (r *ApproxCountDistinctRing) Dup() ring.Ring
- func (r *ApproxCountDistinctRing) Eval(_ []int64) *vector.Vector
- func (r *ApproxCountDistinctRing) Fill(i int64, sel, z int64, vec *vector.Vector)
- func (r *ApproxCountDistinctRing) Free(m *mheap.Mheap)
- func (r *ApproxCountDistinctRing) Grow(m *mheap.Mheap) error
- func (r *ApproxCountDistinctRing) Grows(size int, m *mheap.Mheap) error
- func (r *ApproxCountDistinctRing) Marshal(w io.Writer) error
- func (r *ApproxCountDistinctRing) Mul(a interface{}, x, y, z int64)
- func (r *ApproxCountDistinctRing) SetLength(n int)
- func (r *ApproxCountDistinctRing) Shrink(sels []int64)
- func (r *ApproxCountDistinctRing) Shuffle(_ []int64, _ *mheap.Mheap) error
- func (r *ApproxCountDistinctRing) Size() int
- func (r *ApproxCountDistinctRing) String() string
- func (r *ApproxCountDistinctRing) Type() types.Type
- func (r *ApproxCountDistinctRing) Unmarshal(data []byte) (left []byte, err error)
- func (r *ApproxCountDistinctRing) UnmarshalWithProc(data []byte, proc *process.Process) (left []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApproxCountDistinctRing ¶
func NewApproxCountDistinct ¶
func NewApproxCountDistinct(typ types.Type) *ApproxCountDistinctRing
func (*ApproxCountDistinctRing) Add ¶
func (r *ApproxCountDistinctRing) Add(a interface{}, x, y int64)
func (*ApproxCountDistinctRing) BatchAdd ¶
func (r *ApproxCountDistinctRing) BatchAdd(a interface{}, start int64, os []uint8, vps []uint64)
func (*ApproxCountDistinctRing) BulkFill ¶
func (r *ApproxCountDistinctRing) BulkFill(i int64, zs []int64, vec *vector.Vector)
func (*ApproxCountDistinctRing) Count ¶
func (r *ApproxCountDistinctRing) Count() int
func (*ApproxCountDistinctRing) Dup ¶
func (r *ApproxCountDistinctRing) Dup() ring.Ring
Create a ring with same type using interface
func (*ApproxCountDistinctRing) Eval ¶
func (r *ApproxCountDistinctRing) Eval(_ []int64) *vector.Vector
func (*ApproxCountDistinctRing) Fill ¶
func (r *ApproxCountDistinctRing) Fill(i int64, sel, z int64, vec *vector.Vector)
func (*ApproxCountDistinctRing) Free ¶
func (r *ApproxCountDistinctRing) Free(m *mheap.Mheap)
func (*ApproxCountDistinctRing) Grows ¶
func (r *ApproxCountDistinctRing) Grows(size int, m *mheap.Mheap) error
func (*ApproxCountDistinctRing) Marshal ¶
func (r *ApproxCountDistinctRing) Marshal(w io.Writer) error
func (*ApproxCountDistinctRing) Mul ¶
func (r *ApproxCountDistinctRing) Mul(a interface{}, x, y, z int64)
func (*ApproxCountDistinctRing) SetLength ¶
func (r *ApproxCountDistinctRing) SetLength(n int)
func (*ApproxCountDistinctRing) Shrink ¶
func (r *ApproxCountDistinctRing) Shrink(sels []int64)
func (*ApproxCountDistinctRing) Shuffle ¶
func (r *ApproxCountDistinctRing) Shuffle(_ []int64, _ *mheap.Mheap) error
func (*ApproxCountDistinctRing) Size ¶
func (r *ApproxCountDistinctRing) Size() int
func (*ApproxCountDistinctRing) String ¶
func (r *ApproxCountDistinctRing) String() string
func (*ApproxCountDistinctRing) Type ¶
func (r *ApproxCountDistinctRing) Type() types.Type
func (*ApproxCountDistinctRing) Unmarshal ¶
func (r *ApproxCountDistinctRing) Unmarshal(data []byte) (left []byte, err error)
Unmarshal builds ApproxCountDistinctRing from `data` and bytes in `data` is allowed to be reused directly
func (*ApproxCountDistinctRing) UnmarshalWithProc ¶
func (r *ApproxCountDistinctRing) UnmarshalWithProc(data []byte, proc *process.Process) (left []byte, err error)
UnmarshalWithProc builds ApproxCountDistinctRing from `data` and bytes in `data` is *not* allowed to be reused directly, new memory should be allocated in process instead.
Click to show internal directories.
Click to hide internal directories.