Documentation ¶
Index ¶
- Constants
- Variables
- func AnyValueReturnType(typs []types.Type) types.Type
- func ApproxCountReturnType(_ []types.Type) types.Type
- func AvgReturnType(typs []types.Type) types.Type
- func BitAndReturnType(typs []types.Type) types.Type
- func BitOrReturnType(typs []types.Type) types.Type
- func BitXorReturnType(typs []types.Type) types.Type
- func CountReturnType(_ []types.Type) types.Type
- func DenseRankReturnType() types.Type
- func GetFunctionIsWinOrderFunBySpecialId(id int) bool
- func GroupConcatReturnType(parameters []types.Type) types.Type
- func MaxReturnType(typs []types.Type) types.Type
- func MedianReturnType(typs []types.Type) types.Type
- func MinReturnType(typs []types.Type) types.Type
- func RankReturnType() types.Type
- func ReturnType(op int, typ types.Type) (types.Type, error)
- func RowNumberReturnType() types.Type
- func StdDevPopReturnType(typs []types.Type) types.Type
- func SumReturnType(typs []types.Type) types.Type
- func VarianceReturnType(typs []types.Type) types.Type
- type Agg
- func New(op int, dist bool, typ types.Type) (Agg[any], error)
- func NewGroupConcat(typ types.Type, dist bool, config any) Agg[any]
- func NewUnaryAgg[T1, T2 any](op int, priv AggStruct, isCount bool, ityp, otyp types.Type, grows func(int), ...) Agg[*UnaryAgg[T1, T2]]
- func NewUnaryDistAgg[T1, T2 any](op int, priv AggStruct, isCount bool, ityp, otyp types.Type, grows func(int), ...) Agg[*UnaryDistAgg[T1, T2]]
- func NewWithConfig(op int, dist bool, typ types.Type, config any) (Agg[any], error)
- type AggStruct
- type Aggregate
- type Anyvalue
- func (a *Anyvalue[T]) Eval(vs []T, err error) ([]T, error)
- func (a *Anyvalue[T]) Fill(i int64, value T, ov T, z int64, isEmpty bool, isNull bool) (T, bool, error)
- func (a *Anyvalue[T]) Grows(size int)
- func (a *Anyvalue[T]) MarshalBinary() ([]byte, error)
- func (a *Anyvalue[T]) Merge(xIndex int64, yIndex int64, x T, y T, xEmpty bool, yEmpty bool, yAnyValue any) (T, bool, error)
- func (a *Anyvalue[T]) UnmarshalBinary(data []byte) error
- type ApproxCountDistic
- func (a *ApproxCountDistic[T]) Eval(vs []uint64, err error) ([]uint64, error)
- func (a *ApproxCountDistic[T]) Fill(n int64, v1 T, v2 uint64, _ int64, isEmpty bool, isNull bool) (uint64, bool, error)
- func (a *ApproxCountDistic[T]) Grows(n int)
- func (a *ApproxCountDistic[T]) MarshalBinary() ([]byte, error)
- func (a *ApproxCountDistic[T]) Merge(xIndex int64, yIndex int64, x uint64, _ uint64, xEmpty bool, yEmpty bool, ...) (uint64, bool, error)
- func (a *ApproxCountDistic[T]) UnmarshalBinary(data []byte) error
- type Avg
- func (a *Avg[T]) Eval(vs []float64, err error) ([]float64, error)
- func (a *Avg[T]) Fill(i int64, value T, ov float64, z int64, isEmpty bool, isNull bool) (float64, bool, error)
- func (a *Avg[T]) Grows(cnt int)
- func (a *Avg[T]) MarshalBinary() ([]byte, error)
- func (a *Avg[T]) Merge(xIndex int64, yIndex int64, x float64, y float64, xEmpty bool, yEmpty bool, ...) (float64, bool, error)
- func (a *Avg[T]) UnmarshalBinary(data []byte) error
- type BitAnd
- func (ba *BitAnd[T1]) Eval(vs []uint64, err error) ([]uint64, error)
- func (ba *BitAnd[T1]) Fill(groupIndex int64, v1 T1, v2 uint64, z int64, isEmpty bool, hasNull bool) (uint64, bool, error)
- func (ba *BitAnd[T1]) Grows(_ int)
- func (ba *BitAnd[T1]) MarshalBinary() ([]byte, error)
- func (ba *BitAnd[T1]) Merge(groupIndex1, groupIndex2 int64, x, y uint64, isEmpty1 bool, isEmpty2 bool, ...) (uint64, bool, error)
- func (ba *BitAnd[T1]) UnmarshalBinary(data []byte) error
- type BitAndBinary
- func (bab *BitAndBinary) Eval(vs [][]byte, err error) ([][]byte, error)
- func (bab *BitAndBinary) Fill(gNum int64, v1, v2 []byte, _ int64, isNew, isNull bool) ([]byte, bool, error)
- func (bab *BitAndBinary) Grows(_ int)
- func (bab *BitAndBinary) MarshalBinary() ([]byte, error)
- func (bab *BitAndBinary) Merge(gNum1, gNum2 int64, v1, v2 []byte, empty1, empty2 bool, _ any) ([]byte, bool, error)
- func (bab *BitAndBinary) UnmarshalBinary(data []byte) error
- type BitOr
- func (bo *BitOr[T1]) Eval(vs []uint64, err error) ([]uint64, error)
- func (bo *BitOr[T1]) Fill(_ int64, v1 T1, v2 uint64, _ int64, IsEmpty bool, hasNull bool) (uint64, bool, error)
- func (bo *BitOr[T1]) Grows(_ int)
- func (bo *BitOr[T1]) MarshalBinary() ([]byte, error)
- func (bo *BitOr[T1]) Merge(_, _ int64, x, y uint64, IsEmpty1 bool, IsEmpty2 bool, _ any) (uint64, bool, error)
- func (bo *BitOr[T1]) UnmarshalBinary(data []byte) error
- type BitOrBinary
- func (bab *BitOrBinary) Eval(vs [][]byte, err error) ([][]byte, error)
- func (bab *BitOrBinary) Fill(gNum int64, v1, v2 []byte, _ int64, isNew, isNull bool) ([]byte, bool, error)
- func (bab *BitOrBinary) Grows(_ int)
- func (bab *BitOrBinary) MarshalBinary() ([]byte, error)
- func (bab *BitOrBinary) Merge(gNum1, gNum2 int64, v1, v2 []byte, empty1, empty2 bool, _ any) ([]byte, bool, error)
- func (bab *BitOrBinary) UnmarshalBinary(data []byte) error
- type BitXor
- func (bx *BitXor[T1]) Eval(vs []uint64, err error) ([]uint64, error)
- func (bx *BitXor[T1]) Fill(_ int64, v1 T1, v2 uint64, z int64, IsEmpty bool, hasNull bool) (uint64, bool, error)
- func (bx *BitXor[T1]) Grows(_ int)
- func (bx *BitXor[T1]) MarshalBinary() ([]byte, error)
- func (bx *BitXor[T1]) Merge(_, _ int64, x, y uint64, IsEmpty1 bool, IsEmpty2 bool, _ any) (uint64, bool, error)
- func (bx *BitXor[T1]) UnmarshalBinary(data []byte) error
- type BitXorBinary
- func (bab *BitXorBinary) Eval(vs [][]byte, err error) ([][]byte, error)
- func (bab *BitXorBinary) Fill(gNum int64, v1, v2 []byte, _ int64, isNew, isNull bool) ([]byte, bool, error)
- func (bab *BitXorBinary) Grows(_ int)
- func (bab *BitXorBinary) MarshalBinary() ([]byte, error)
- func (bab *BitXorBinary) Merge(gNum1, gNum2 int64, v1, v2 []byte, empty1, empty2 bool, _ any) ([]byte, bool, error)
- func (bab *BitXorBinary) UnmarshalBinary(data []byte) error
- type BoolMax
- func (m *BoolMax) Eval(vs []bool, err error) ([]bool, error)
- func (m *BoolMax) Fill(_ int64, value bool, ov bool, _ int64, isEmpty bool, isNull bool) (bool, bool, error)
- func (m *BoolMax) Grows(_ int)
- func (m *BoolMax) MarshalBinary() ([]byte, error)
- func (m *BoolMax) Merge(_ int64, _ int64, x bool, y bool, xEmpty bool, yEmpty bool, _ any) (bool, bool, error)
- func (m *BoolMax) UnmarshalBinary(data []byte) error
- type BoolMin
- func (m *BoolMin) Eval(vs []bool, err error) ([]bool, error)
- func (m *BoolMin) Fill(_ int64, value bool, ov bool, _ int64, isEmpty bool, isNull bool) (bool, bool, error)
- func (m *BoolMin) Grows(_ int)
- func (m *BoolMin) MarshalBinary() ([]byte, error)
- func (m *BoolMin) Merge(_ int64, _ int64, x bool, y bool, xEmpty bool, yEmpty bool, _ any) (bool, bool, error)
- func (m *BoolMin) UnmarshalBinary(data []byte) error
- type Compare
- type Count
- func (c *Count[T1]) BatchFill(rs, _ any, start, count int64, vps []uint64, nsp *nulls.Nulls) error
- func (c *Count[T1]) Eval(vs []int64, err error) ([]int64, error)
- func (c *Count[T1]) Fill(_ int64, _ T1, v int64, z int64, _ bool, hasNull bool) (int64, bool, error)
- func (c *Count[T1]) Grows(_ int)
- func (c *Count[T1]) MarshalBinary() ([]byte, error)
- func (c *Count[T1]) Merge(_, _ int64, x, y int64, _ bool, _ bool, _ any) (int64, bool, error)
- func (c *Count[T1]) UnmarshalBinary(data []byte) error
- type Decimal128AndString
- type Decimal128Avg
- func (a *Decimal128Avg) BatchFill(rs, vs any, start, count int64, vps []uint64, nsp *nulls.Nulls) (err error)
- func (a *Decimal128Avg) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
- func (a *Decimal128Avg) Fill(i int64, value types.Decimal128, ov types.Decimal128, z int64, isEmpty bool, ...) (types.Decimal128, bool, error)
- func (a *Decimal128Avg) Grows(cnt int)
- func (a *Decimal128Avg) MarshalBinary() ([]byte, error)
- func (a *Decimal128Avg) Merge(xIndex int64, yIndex int64, x types.Decimal128, y types.Decimal128, ...) (types.Decimal128, bool, error)
- func (a *Decimal128Avg) UnmarshalBinary(data []byte) error
- type Decimal128Max
- func (m *Decimal128Max) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
- func (m *Decimal128Max) Fill(_ int64, value types.Decimal128, ov types.Decimal128, _ int64, isEmpty bool, ...) (types.Decimal128, bool, error)
- func (m *Decimal128Max) Grows(_ int)
- func (m *Decimal128Max) MarshalBinary() ([]byte, error)
- func (m *Decimal128Max) Merge(_ int64, _ int64, x types.Decimal128, y types.Decimal128, xEmpty bool, ...) (types.Decimal128, bool, error)
- func (m *Decimal128Max) UnmarshalBinary(data []byte) error
- type Decimal128Median
- func (*Decimal128Median) Descriptor() ([]byte, []int)
- func (m *Decimal128Median) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
- func (m *Decimal128Median) Fill(i int64, value types.Decimal128, _ types.Decimal128, z int64, isEmpty bool, ...) (types.Decimal128, bool, error)
- func (m *Decimal128Median) Grows(cnt int)
- func (m *Decimal128Median) Marshal() (dAtA []byte, err error)
- func (m *Decimal128Median) MarshalBinary() ([]byte, error)
- func (m *Decimal128Median) MarshalTo(dAtA []byte) (int, error)
- func (m *Decimal128Median) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Decimal128Median) Merge(xIndex int64, yIndex int64, _ types.Decimal128, _ types.Decimal128, ...) (types.Decimal128, bool, error)
- func (*Decimal128Median) ProtoMessage()
- func (m *Decimal128Median) ProtoSize() (n int)
- func (m *Decimal128Median) Reset()
- func (m *Decimal128Median) String() string
- func (m *Decimal128Median) Unmarshal(dAtA []byte) error
- func (m *Decimal128Median) UnmarshalBinary(dt []byte) error
- func (m *Decimal128Median) XXX_DiscardUnknown()
- func (m *Decimal128Median) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Decimal128Median) XXX_Merge(src proto.Message)
- func (m *Decimal128Median) XXX_Size() int
- func (m *Decimal128Median) XXX_Unmarshal(b []byte) error
- type Decimal128Min
- func (m *Decimal128Min) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
- func (m *Decimal128Min) Fill(_ int64, value types.Decimal128, ov types.Decimal128, _ int64, isEmpty bool, ...) (types.Decimal128, bool, error)
- func (m *Decimal128Min) Grows(_ int)
- func (m *Decimal128Min) MarshalBinary() ([]byte, error)
- func (m *Decimal128Min) Merge(_ int64, _ int64, x types.Decimal128, y types.Decimal128, xEmpty bool, ...) (types.Decimal128, bool, error)
- func (m *Decimal128Min) UnmarshalBinary(data []byte) error
- type Decimal128SlicePB
- func (*Decimal128SlicePB) Descriptor() ([]byte, []int)
- func (m *Decimal128SlicePB) Marshal() (dAtA []byte, err error)
- func (m *Decimal128SlicePB) MarshalTo(dAtA []byte) (int, error)
- func (m *Decimal128SlicePB) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Decimal128SlicePB) ProtoMessage()
- func (m *Decimal128SlicePB) ProtoSize() (n int)
- func (m *Decimal128SlicePB) Reset()
- func (m *Decimal128SlicePB) String() string
- func (m *Decimal128SlicePB) Unmarshal(dAtA []byte) error
- func (m *Decimal128SlicePB) XXX_DiscardUnknown()
- func (m *Decimal128SlicePB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Decimal128SlicePB) XXX_Merge(src proto.Message)
- func (m *Decimal128SlicePB) XXX_Size() int
- func (m *Decimal128SlicePB) XXX_Unmarshal(b []byte) error
- type Decimal128Sum
- func (s *Decimal128Sum) BatchFill(rs, vs any, start, count int64, vps []uint64, nsp *nulls.Nulls) (err error)
- func (s *Decimal128Sum) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
- func (s *Decimal128Sum) Fill(_ int64, value types.Decimal128, ov types.Decimal128, z int64, isEmpty bool, ...) (types.Decimal128, bool, error)
- func (s *Decimal128Sum) Grows(_ int)
- func (s *Decimal128Sum) MarshalBinary() ([]byte, error)
- func (s *Decimal128Sum) Merge(_ int64, _ int64, x types.Decimal128, y types.Decimal128, xEmpty bool, ...) (types.Decimal128, bool, error)
- func (s *Decimal128Sum) UnmarshalBinary(data []byte) error
- type Decimal64Avg
- func (a *Decimal64Avg) BatchFill(rs, vs any, start, count int64, vps []uint64, nsp *nulls.Nulls) (err error)
- func (a *Decimal64Avg) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
- func (a *Decimal64Avg) Fill(i int64, value types.Decimal64, ov types.Decimal128, z int64, isEmpty bool, ...) (types.Decimal128, bool, error)
- func (a *Decimal64Avg) Grows(cnt int)
- func (a *Decimal64Avg) MarshalBinary() ([]byte, error)
- func (a *Decimal64Avg) Merge(xIndex int64, yIndex int64, x types.Decimal128, y types.Decimal128, ...) (types.Decimal128, bool, error)
- func (a *Decimal64Avg) UnmarshalBinary(data []byte) error
- type Decimal64Max
- func (m *Decimal64Max) Eval(vs []types.Decimal64, err error) ([]types.Decimal64, error)
- func (m *Decimal64Max) Fill(_ int64, value types.Decimal64, ov types.Decimal64, _ int64, isEmpty bool, ...) (types.Decimal64, bool, error)
- func (m *Decimal64Max) Grows(_ int)
- func (m *Decimal64Max) MarshalBinary() ([]byte, error)
- func (m *Decimal64Max) Merge(_ int64, _ int64, x types.Decimal64, y types.Decimal64, xEmpty bool, ...) (types.Decimal64, bool, error)
- func (m *Decimal64Max) UnmarshalBinary(data []byte) error
- type Decimal64Median
- func (*Decimal64Median) Descriptor() ([]byte, []int)
- func (m *Decimal64Median) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
- func (m *Decimal64Median) Fill(i int64, value types.Decimal64, ov types.Decimal128, z int64, isEmpty bool, ...) (types.Decimal128, bool, error)
- func (m *Decimal64Median) Grows(cnt int)
- func (m *Decimal64Median) Marshal() (dAtA []byte, err error)
- func (m *Decimal64Median) MarshalBinary() ([]byte, error)
- func (m *Decimal64Median) MarshalTo(dAtA []byte) (int, error)
- func (m *Decimal64Median) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Decimal64Median) Merge(xIndex int64, yIndex int64, _ types.Decimal128, _ types.Decimal128, ...) (types.Decimal128, bool, error)
- func (*Decimal64Median) ProtoMessage()
- func (m *Decimal64Median) ProtoSize() (n int)
- func (m *Decimal64Median) Reset()
- func (m *Decimal64Median) String() string
- func (m *Decimal64Median) Unmarshal(dAtA []byte) error
- func (m *Decimal64Median) UnmarshalBinary(dt []byte) error
- func (m *Decimal64Median) XXX_DiscardUnknown()
- func (m *Decimal64Median) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Decimal64Median) XXX_Merge(src proto.Message)
- func (m *Decimal64Median) XXX_Size() int
- func (m *Decimal64Median) XXX_Unmarshal(b []byte) error
- type Decimal64Min
- func (m *Decimal64Min) Eval(vs []types.Decimal64, err error) ([]types.Decimal64, error)
- func (m *Decimal64Min) Fill(_ int64, value types.Decimal64, ov types.Decimal64, _ int64, isEmpty bool, ...) (types.Decimal64, bool, error)
- func (m *Decimal64Min) Grows(_ int)
- func (m *Decimal64Min) MarshalBinary() ([]byte, error)
- func (m *Decimal64Min) Merge(_ int64, _ int64, x types.Decimal64, y types.Decimal64, xEmpty bool, ...) (types.Decimal64, bool, error)
- func (m *Decimal64Min) UnmarshalBinary(data []byte) error
- type Decimal64SlicePB
- func (*Decimal64SlicePB) Descriptor() ([]byte, []int)
- func (m *Decimal64SlicePB) Marshal() (dAtA []byte, err error)
- func (m *Decimal64SlicePB) MarshalTo(dAtA []byte) (int, error)
- func (m *Decimal64SlicePB) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Decimal64SlicePB) ProtoMessage()
- func (m *Decimal64SlicePB) ProtoSize() (n int)
- func (m *Decimal64SlicePB) Reset()
- func (m *Decimal64SlicePB) String() string
- func (m *Decimal64SlicePB) Unmarshal(dAtA []byte) error
- func (m *Decimal64SlicePB) XXX_DiscardUnknown()
- func (m *Decimal64SlicePB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Decimal64SlicePB) XXX_Merge(src proto.Message)
- func (m *Decimal64SlicePB) XXX_Size() int
- func (m *Decimal64SlicePB) XXX_Unmarshal(b []byte) error
- type Decimal64Sum
- func (s *Decimal64Sum) BatchFill(rs, vs any, start, count int64, vps []uint64, nsp *nulls.Nulls) (err error)
- func (s *Decimal64Sum) Eval(vs []types.Decimal64, err error) ([]types.Decimal64, error)
- func (s *Decimal64Sum) Fill(_ int64, value types.Decimal64, ov types.Decimal64, z int64, isEmpty bool, ...) (types.Decimal64, bool, error)
- func (s *Decimal64Sum) Grows(_ int)
- func (s *Decimal64Sum) MarshalBinary() ([]byte, error)
- func (s *Decimal64Sum) Merge(_ int64, _ int64, x types.Decimal64, y types.Decimal64, xEmpty bool, ...) (types.Decimal64, bool, error)
- func (s *Decimal64Sum) UnmarshalBinary(data []byte) error
- type DenseRank
- func (r *DenseRank) BatchFill(rs, vs any, start, count int64, vps []uint64, zs []int64, nsp *nulls.Nulls) error
- func (r *DenseRank) Eval(vs []int64, err error) ([]int64, error)
- func (r *DenseRank) Fill(i int64, value int64, ov int64, z int64, isEmpty bool, isNull bool) (int64, bool, error)
- func (r *DenseRank) Grows(_ int)
- func (r *DenseRank) MarshalBinary() ([]byte, error)
- func (r *DenseRank) Merge(xIndex int64, yIndex int64, x int64, y int64, xEmpty bool, yEmpty bool, ...) (int64, bool, error)
- func (r *DenseRank) UnmarshalBinary(data []byte) error
- type EncodeAgg
- func (*EncodeAgg) Descriptor() ([]byte, []int)
- func (m *EncodeAgg) GetDa() []byte
- func (m *EncodeAgg) GetEs() []bool
- func (m *EncodeAgg) GetInputTypes() []byte
- func (m *EncodeAgg) GetIsCount() bool
- func (m *EncodeAgg) GetOp() int
- func (m *EncodeAgg) GetOutputType() []byte
- func (m *EncodeAgg) GetPrivate() []byte
- func (m *EncodeAgg) Marshal() (dAtA []byte, err error)
- func (m *EncodeAgg) MarshalTo(dAtA []byte) (int, error)
- func (m *EncodeAgg) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EncodeAgg) ProtoMessage()
- func (m *EncodeAgg) ProtoSize() (n int)
- func (m *EncodeAgg) Reset()
- func (m *EncodeAgg) String() string
- func (m *EncodeAgg) Unmarshal(dAtA []byte) error
- func (m *EncodeAgg) XXX_DiscardUnknown()
- func (m *EncodeAgg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncodeAgg) XXX_Merge(src proto.Message)
- func (m *EncodeAgg) XXX_Size() int
- func (m *EncodeAgg) XXX_Unmarshal(b []byte) error
- type EncodeAggDistinct
- type EncodeAggDistinctPB
- func (*EncodeAggDistinctPB) Descriptor() ([]byte, []int)
- func (m *EncodeAggDistinctPB) GetDa() []byte
- func (m *EncodeAggDistinctPB) GetEs() []bool
- func (m *EncodeAggDistinctPB) GetIsCount() bool
- func (m *EncodeAggDistinctPB) GetOp() int
- func (m *EncodeAggDistinctPB) GetPrivate() []byte
- func (m *EncodeAggDistinctPB) Marshal() (dAtA []byte, err error)
- func (m *EncodeAggDistinctPB) MarshalTo(dAtA []byte) (int, error)
- func (m *EncodeAggDistinctPB) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EncodeAggDistinctPB) ProtoMessage()
- func (m *EncodeAggDistinctPB) ProtoSize() (n int)
- func (m *EncodeAggDistinctPB) Reset()
- func (m *EncodeAggDistinctPB) String() string
- func (m *EncodeAggDistinctPB) Unmarshal(dAtA []byte) error
- func (m *EncodeAggDistinctPB) XXX_DiscardUnknown()
- func (m *EncodeAggDistinctPB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncodeAggDistinctPB) XXX_Merge(src proto.Message)
- func (m *EncodeAggDistinctPB) XXX_Size() int
- func (m *EncodeAggDistinctPB) XXX_Unmarshal(b []byte) error
- type EncodeDecimalV
- func (*EncodeDecimalV) Descriptor() ([]byte, []int)
- func (m *EncodeDecimalV) GetCounts() []int64
- func (m *EncodeDecimalV) Marshal() (dAtA []byte, err error)
- func (m *EncodeDecimalV) MarshalTo(dAtA []byte) (int, error)
- func (m *EncodeDecimalV) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EncodeDecimalV) ProtoMessage()
- func (m *EncodeDecimalV) ProtoSize() (n int)
- func (m *EncodeDecimalV) Reset()
- func (m *EncodeDecimalV) String() string
- func (m *EncodeDecimalV) Unmarshal(dAtA []byte) error
- func (m *EncodeDecimalV) XXX_DiscardUnknown()
- func (m *EncodeDecimalV) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncodeDecimalV) XXX_Merge(src proto.Message)
- func (m *EncodeDecimalV) XXX_Size() int
- func (m *EncodeDecimalV) XXX_Unmarshal(b []byte) error
- type EncodeVariance
- func (*EncodeVariance) Descriptor() ([]byte, []int)
- func (m *EncodeVariance) GetCounts() []float64
- func (m *EncodeVariance) GetSum() []float64
- func (m *EncodeVariance) Marshal() (dAtA []byte, err error)
- func (m *EncodeVariance) MarshalTo(dAtA []byte) (int, error)
- func (m *EncodeVariance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EncodeVariance) ProtoMessage()
- func (m *EncodeVariance) ProtoSize() (n int)
- func (m *EncodeVariance) Reset()
- func (m *EncodeVariance) String() string
- func (m *EncodeVariance) Unmarshal(dAtA []byte) error
- func (m *EncodeVariance) XXX_DiscardUnknown()
- func (m *EncodeVariance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncodeVariance) XXX_Merge(src proto.Message)
- func (m *EncodeVariance) XXX_Size() int
- func (m *EncodeVariance) XXX_Unmarshal(b []byte) error
- type GroupConcat
- func (g *GroupConcat) Eval(vs [][]byte, err error) ([][]byte, error)
- func (g *GroupConcat) Fill(groupIndex int64, input []byte, oldValue []byte, z int64, isEmpty bool, ...) ([]byte, bool, error)
- func (g *GroupConcat) Grows(cnt int)
- func (g *GroupConcat) MarshalBinary() ([]byte, error)
- func (g *GroupConcat) Merge(xIndex int64, yIndex int64, x []byte, y []byte, xIsEmpty bool, yIsEmpty bool, ...) ([]byte, bool, error)
- func (g *GroupConcat) UnmarshalBinary(odata []byte) error
- type Max
- func (m *Max[T]) Eval(vs []T, err error) ([]T, error)
- func (m *Max[T]) Fill(_ int64, value T, ov T, _ int64, isEmpty bool, isNull bool) (T, bool, error)
- func (m *Max[T]) Grows(_ int)
- func (m *Max[T]) MarshalBinary() ([]byte, error)
- func (m *Max[T]) Merge(_ int64, _ int64, x T, y T, xEmpty bool, yEmpty bool, _ any) (T, bool, error)
- func (m *Max[T]) UnmarshalBinary(data []byte) error
- type Median
- func (m *Median[T]) Eval(vs []float64, err error) ([]float64, error)
- func (m *Median[T]) Fill(i int64, value T, _ float64, z int64, isEmpty bool, isNull bool) (float64, bool, error)
- func (m *Median[T]) Grows(cnt int)
- func (m *Median[T]) MarshalBinary() ([]byte, error)
- func (m *Median[T]) Merge(xIndex int64, yIndex int64, _ float64, _ float64, xEmpty bool, yEmpty bool, ...) (float64, bool, error)
- func (m *Median[T]) UnmarshalBinary(data []byte) error
- type Min
- func (m *Min[T]) Eval(vs []T, err error) ([]T, error)
- func (m *Min[T]) Fill(_ int64, value T, ov T, _ int64, isEmpty bool, isNull bool) (T, bool, error)
- func (m *Min[T]) Grows(_ int)
- func (m *Min[T]) MarshalBinary() ([]byte, error)
- func (m *Min[T]) Merge(_ int64, _ int64, x T, y T, xEmpty bool, yEmpty bool, _ any) (T, bool, error)
- func (m *Min[T]) UnmarshalBinary(data []byte) error
- type Numeric
- type Rank
- func (r *Rank) BatchFill(rs, vs any, start, count int64, vps []uint64, zs []int64, nsp *nulls.Nulls) error
- func (r *Rank) Eval(vs []int64, err error) ([]int64, error)
- func (r *Rank) Fill(i int64, value int64, ov int64, z int64, isEmpty bool, isNull bool) (int64, bool, error)
- func (r *Rank) Grows(_ int)
- func (r *Rank) MarshalBinary() ([]byte, error)
- func (r *Rank) Merge(xIndex int64, yIndex int64, x int64, y int64, xEmpty bool, yEmpty bool, ...) (int64, bool, error)
- func (r *Rank) UnmarshalBinary(data []byte) error
- type ReturnTyp
- type RowNumber
- func (r *RowNumber) BatchFill(rs, vs any, start, count int64, vps []uint64, zs []int64, nsp *nulls.Nulls) error
- func (r *RowNumber) Eval(vs []int64, err error) ([]int64, error)
- func (r *RowNumber) Fill(i int64, value int64, ov int64, z int64, isEmpty bool, isNull bool) (int64, bool, error)
- func (r *RowNumber) Grows(_ int)
- func (r *RowNumber) MarshalBinary() ([]byte, error)
- func (r *RowNumber) Merge(xIndex int64, yIndex int64, x int64, y int64, xEmpty bool, yEmpty bool, ...) (int64, bool, error)
- func (r *RowNumber) UnmarshalBinary(data []byte) error
- type StdD128
- func (s *StdD128) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
- func (s *StdD128) Fill(groupIndex int64, v1 types.Decimal128, v2 types.Decimal128, z int64, ...) (types.Decimal128, bool, error)
- func (s *StdD128) Grows(size int)
- func (s *StdD128) MarshalBinary() ([]byte, error)
- func (s *StdD128) Merge(groupIndex1, groupIndex2 int64, x, y types.Decimal128, IsEmpty1 bool, ...) (types.Decimal128, bool, error)
- func (s *StdD128) UnmarshalBinary(data []byte) error
- type StdD64
- func (s *StdD64) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
- func (s *StdD64) Fill(groupIndex int64, v1 types.Decimal64, v2 types.Decimal128, z int64, ...) (types.Decimal128, bool, error)
- func (s *StdD64) Grows(size int)
- func (s *StdD64) MarshalBinary() ([]byte, error)
- func (s *StdD64) Merge(groupIndex1, groupIndex2 int64, x, y types.Decimal128, IsEmpty1 bool, ...) (types.Decimal128, bool, error)
- func (s *StdD64) UnmarshalBinary(data []byte) error
- type Stddevpop
- func (sdp *Stddevpop[T1]) Eval(vs []float64, err error) ([]float64, error)
- func (sdp *Stddevpop[T1]) Fill(groupIndex int64, v1 T1, v2 float64, z int64, IsEmpty bool, hasNull bool) (float64, bool, error)
- func (sdp *Stddevpop[T1]) Grows(sizes int)
- func (sdp *Stddevpop[T1]) MarshalBinary() ([]byte, error)
- func (sdp *Stddevpop[T1]) Merge(groupIndex1, groupIndex2 int64, x, y float64, IsEmpty1 bool, IsEmpty2 bool, ...) (float64, bool, error)
- func (sdp *Stddevpop[T1]) UnmarshalBinary(data []byte) error
- type StrAnyvalue
- func (a *StrAnyvalue) Eval(vs [][]byte, err error) ([][]byte, error)
- func (a *StrAnyvalue) Fill(i int64, value []byte, ov []byte, z int64, isEmpty bool, isNull bool) ([]byte, bool, error)
- func (a *StrAnyvalue) Grows(size int)
- func (a *StrAnyvalue) MarshalBinary() ([]byte, error)
- func (a *StrAnyvalue) Merge(xIndex int64, yIndex int64, x []byte, y []byte, xEmpty bool, yEmpty bool, ...) ([]byte, bool, error)
- func (a *StrAnyvalue) UnmarshalBinary(data []byte) error
- type StrMax
- func (m *StrMax) Eval(vs [][]byte, err error) ([][]byte, error)
- func (m *StrMax) Fill(_ int64, value []byte, ov []byte, _ int64, isEmpty bool, isNull bool) ([]byte, bool, error)
- func (m *StrMax) Grows(_ int)
- func (m *StrMax) MarshalBinary() ([]byte, error)
- func (m *StrMax) Merge(_ int64, _ int64, x []byte, y []byte, xEmpty bool, yEmpty bool, _ any) ([]byte, bool, error)
- func (m *StrMax) UnmarshalBinary(data []byte) error
- type StrMin
- func (m *StrMin) Eval(vs [][]byte, err error) ([][]byte, error)
- func (m *StrMin) Fill(_ int64, value []byte, ov []byte, _ int64, isEmpty bool, isNull bool) ([]byte, bool, error)
- func (m *StrMin) Grows(_ int)
- func (m *StrMin) MarshalBinary() ([]byte, error)
- func (m *StrMin) Merge(_ int64, _ int64, x []byte, y []byte, xEmpty bool, yEmpty bool, _ any) ([]byte, bool, error)
- func (m *StrMin) UnmarshalBinary(data []byte) error
- type Sum
- func (s *Sum[T1, T2]) Eval(vs []T2, err error) ([]T2, error)
- func (s *Sum[T1, T2]) Fill(_ int64, value T1, ov T2, z int64, isEmpty bool, isNull bool) (T2, bool, error)
- func (s *Sum[T1, T2]) Grows(_ int)
- func (s *Sum[T1, T2]) MarshalBinary() ([]byte, error)
- func (s *Sum[T1, T2]) Merge(_ int64, _ int64, x T2, y T2, xEmpty bool, yEmpty bool, _ any) (T2, bool, error)
- func (s *Sum[T1, T2]) UnmarshalBinary(data []byte) error
- type UnaryAgg
- func (a *UnaryAgg[T1, T2]) BatchFill(offset int64, groupStatus []uint8, groupOfRows []uint64, ...) (err error)
- func (a *UnaryAgg[T1, T2]) BatchMerge(b Agg[any], offset int64, groupStatus []uint8, groupIdxes []uint64) (err error)
- func (a *UnaryAgg[T1, T2]) BulkFill(groupIdx int64, vectors []*vector.Vector) (err error)
- func (a *UnaryAgg[T1, T2]) Eval(pool *mpool.MPool) (vec *vector.Vector, err error)
- func (a *UnaryAgg[T1, T2]) Fill(groupIdx int64, rowIndex int64, vectors []*vector.Vector) (err error)
- func (a *UnaryAgg[T1, T2]) Free(pool *mpool.MPool)
- func (a *UnaryAgg[T1, T2]) GetInputTypes() []types.Type
- func (a *UnaryAgg[T1, T2]) GetOperatorId() int
- func (a *UnaryAgg[T1, T2]) Grows(count int, pool *mpool.MPool) error
- func (a *UnaryAgg[T1, T2]) InputTypes() []types.Type
- func (a *UnaryAgg[T1, T2]) IsDistinct() bool
- func (a *UnaryAgg[T1, T2]) MarshalBinary() ([]byte, error)
- func (a *UnaryAgg[T1, T2]) Merge(b Agg[any], groupIdx1, groupIdx2 int64) (err error)
- func (a *UnaryAgg[T1, T2]) OutputType() types.Type
- func (a *UnaryAgg[T1, T2]) UnmarshalBinary(data []byte) error
- func (a *UnaryAgg[T1, T2]) WildAggReAlloc(m *mpool.MPool) error
- type UnaryDistAgg
- func (a *UnaryDistAgg[T1, T2]) BatchFill(offset int64, groupStatus []uint8, groupOfRows []uint64, ...) (err error)
- func (a *UnaryDistAgg[T1, T2]) BatchMerge(b Agg[any], offset int64, groupStatus []uint8, groupIdxes []uint64) (err error)
- func (a *UnaryDistAgg[T1, T2]) BulkFill(groupIdx int64, vectors []*vector.Vector) (err error)
- func (a *UnaryDistAgg[T1, T2]) Eval(pool *mpool.MPool) (vec *vector.Vector, err error)
- func (a *UnaryDistAgg[T1, T2]) Fill(groupIdx int64, rowIndex int64, vectors []*vector.Vector) (err error)
- func (a *UnaryDistAgg[T1, T2]) Free(pool *mpool.MPool)
- func (a *UnaryDistAgg[T1, T2]) GetInputTypes() []types.Type
- func (a *UnaryDistAgg[T1, T2]) GetOperatorId() int
- func (a *UnaryDistAgg[T1, T2]) Grows(count int, pool *mpool.MPool) (err error)
- func (a *UnaryDistAgg[T1, T2]) InputTypes() []types.Type
- func (a *UnaryDistAgg[T1, T2]) IsDistinct() bool
- func (a *UnaryDistAgg[T1, T2]) MarshalBinary() ([]byte, error)
- func (a *UnaryDistAgg[T1, T2]) Merge(b Agg[any], groupIdx1, groupIdx2 int64) (err error)
- func (a *UnaryDistAgg[T1, T2]) OutputType() types.Type
- func (a *UnaryDistAgg[T1, T2]) UnmarshalBinary(data []byte) error
- func (a *UnaryDistAgg[T1, T2]) WildAggReAlloc(m *mpool.MPool) error
- type UuidMax
- func (m *UuidMax) Eval(vs []types.Uuid, err error) ([]types.Uuid, error)
- func (m *UuidMax) Fill(_ int64, value types.Uuid, ov types.Uuid, _ int64, isEmpty bool, isNull bool) (types.Uuid, bool, error)
- func (m *UuidMax) Grows(_ int)
- func (m *UuidMax) MarshalBinary() ([]byte, error)
- func (m *UuidMax) Merge(_ int64, _ int64, x types.Uuid, y types.Uuid, xEmpty bool, yEmpty bool, _ any) (types.Uuid, bool, error)
- func (m *UuidMax) UnmarshalBinary(data []byte) error
- type UuidMin
- func (m *UuidMin) Eval(vs []types.Uuid, err error) ([]types.Uuid, error)
- func (m *UuidMin) Fill(_ int64, value types.Uuid, ov types.Uuid, _ int64, isEmpty bool, isNull bool) (types.Uuid, bool, error)
- func (m *UuidMin) Grows(_ int)
- func (m *UuidMin) MarshalBinary() ([]byte, error)
- func (m *UuidMin) Merge(_ int64, _ int64, x types.Uuid, y types.Uuid, xEmpty bool, yEmpty bool, _ any) (types.Uuid, bool, error)
- func (m *UuidMin) UnmarshalBinary(data []byte) error
- type VD128
- func (*VD128) Descriptor() ([]byte, []int)
- func (v *VD128) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
- func (v *VD128) Fill(i int64, v1 types.Decimal128, v2 types.Decimal128, z int64, isEmpty bool, ...) (types.Decimal128, bool, error)
- func (m *VD128) GetCounts() []int64
- func (m *VD128) GetScaleDiv() int32
- func (m *VD128) GetScaleDivMul() int32
- func (m *VD128) GetScaleMul() int32
- func (m *VD128) GetScaleMulDiv() int32
- func (v *VD128) Grows(cnt int)
- func (m *VD128) Marshal() (dAtA []byte, err error)
- func (v *VD128) MarshalBinary() ([]byte, error)
- func (m *VD128) MarshalTo(dAtA []byte) (int, error)
- func (m *VD128) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (v *VD128) Merge(xIndex, yIndex int64, x types.Decimal128, y types.Decimal128, xEmpty bool, ...) (types.Decimal128, bool, error)
- func (*VD128) ProtoMessage()
- func (m *VD128) ProtoSize() (n int)
- func (m *VD128) Reset()
- func (m *VD128) String() string
- func (m *VD128) Unmarshal(dAtA []byte) error
- func (v *VD128) UnmarshalBinary(data []byte) error
- func (m *VD128) XXX_DiscardUnknown()
- func (m *VD128) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VD128) XXX_Merge(src proto.Message)
- func (m *VD128) XXX_Size() int
- func (m *VD128) XXX_Unmarshal(b []byte) error
- type VD64
- func (*VD64) Descriptor() ([]byte, []int)
- func (v *VD64) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
- func (v *VD64) Fill(i int64, v1 types.Decimal64, v2 types.Decimal128, z int64, isEmpty bool, ...) (types.Decimal128, bool, error)
- func (m *VD64) GetCounts() []int64
- func (m *VD64) GetScaleDiv() int32
- func (m *VD64) GetScaleDivMul() int32
- func (m *VD64) GetScaleMul() int32
- func (m *VD64) GetScaleMulDiv() int32
- func (v *VD64) Grows(cnt int)
- func (m *VD64) Marshal() (dAtA []byte, err error)
- func (v *VD64) MarshalBinary() ([]byte, error)
- func (m *VD64) MarshalTo(dAtA []byte) (int, error)
- func (m *VD64) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (v *VD64) Merge(xIndex, yIndex int64, x types.Decimal128, y types.Decimal128, xEmpty bool, ...) (types.Decimal128, bool, error)
- func (*VD64) ProtoMessage()
- func (m *VD64) ProtoSize() (n int)
- func (m *VD64) Reset()
- func (m *VD64) String() string
- func (m *VD64) Unmarshal(dAtA []byte) error
- func (v *VD64) UnmarshalBinary(data []byte) error
- func (m *VD64) XXX_DiscardUnknown()
- func (m *VD64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VD64) XXX_Merge(src proto.Message)
- func (m *VD64) XXX_Size() int
- func (m *VD64) XXX_Unmarshal(b []byte) error
- type Variance
- func (variance *Variance[T1]) Eval(vs []float64, err error) ([]float64, error)
- func (variance *Variance[T1]) Fill(groupIndex int64, v1 T1, v2 float64, z int64, IsEmpty bool, hasNull bool) (float64, bool, error)
- func (variance *Variance[T1]) Grows(count int)
- func (variance *Variance[T1]) MarshalBinary() ([]byte, error)
- func (variance *Variance[T1]) Merge(groupIndex1, groupIndex2 int64, x, y float64, IsEmpty1 bool, IsEmpty2 bool, ...) (float64, bool, error)
- func (variance *Variance[T1]) UnmarshalBinary(data []byte) error
- type VariancePB
- func (*VariancePB) Descriptor() ([]byte, []int)
- func (m *VariancePB) GetCounts() []float64
- func (m *VariancePB) GetSum() []float64
- func (m *VariancePB) Marshal() (dAtA []byte, err error)
- func (m *VariancePB) MarshalTo(dAtA []byte) (int, error)
- func (m *VariancePB) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VariancePB) ProtoMessage()
- func (m *VariancePB) ProtoSize() (n int)
- func (m *VariancePB) Reset()
- func (m *VariancePB) String() string
- func (m *VariancePB) Unmarshal(dAtA []byte) error
- func (m *VariancePB) XXX_DiscardUnknown()
- func (m *VariancePB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VariancePB) XXX_Merge(src proto.Message)
- func (m *VariancePB) XXX_Size() int
- func (m *VariancePB) XXX_Unmarshal(b []byte) error
Constants ¶
const ( AggregateSum = iota AggregateAvg AggregateMax AggregateMin AggregateCount AggregateStarCount AggregateApproxCountDistinct AggregateVariance AggregateBitAnd AggregateBitXor AggregateBitOr AggregateStdDevPop AggregateAnyValue AggregateMedian AggregateGroupConcat WinRank WinRowNumber WinDenseRank )
Variables ¶
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var AnyValueSupported = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_date, types.T_datetime, types.T_timestamp, types.T_time, types.T_decimal64, types.T_decimal128, types.T_bool, types.T_varchar, types.T_char, types.T_blob, types.T_text, types.T_uuid, types.T_binary, types.T_varbinary, }
var AvgSupported = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_decimal64, types.T_decimal128, }
var BitAndSupported = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_decimal64, types.T_decimal128, types.T_binary, types.T_varbinary, }
var BitOrSupported = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_decimal64, types.T_decimal128, types.T_binary, types.T_varbinary, }
var BitXorSupported = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_decimal64, types.T_decimal128, types.T_binary, types.T_varbinary, }
var MaxSupported = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_date, types.T_datetime, types.T_timestamp, types.T_time, types.T_decimal64, types.T_decimal128, types.T_bool, types.T_varchar, types.T_char, types.T_blob, types.T_text, types.T_uuid, types.T_binary, types.T_varbinary, }
var MedianSupported = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_decimal64, types.T_decimal128, }
var MinSupported = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_date, types.T_datetime, types.T_timestamp, types.T_time, types.T_decimal64, types.T_decimal128, types.T_bool, types.T_varchar, types.T_char, types.T_blob, types.T_text, types.T_uuid, types.T_binary, types.T_varbinary, }
var Names = [...]string{ AggregateSum: "sum", AggregateAvg: "avg", AggregateMax: "max", AggregateMin: "min", AggregateCount: "count", AggregateStarCount: "starcount", AggregateApproxCountDistinct: "approx_count_distinct", AggregateVariance: "var", AggregateBitAnd: "bit_and", AggregateBitXor: "bit_xor", AggregateBitOr: "bit_or", AggregateStdDevPop: "stddev_pop", AggregateAnyValue: "any", AggregateMedian: "median", AggregateGroupConcat: "group_concat", WinRank: "rank", WinRowNumber: "row_number", WinDenseRank: "dense_rank", }
var StdDevPopSupported = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_decimal64, types.T_decimal128, }
Functions ¶
func DenseRankReturnType ¶ added in v0.8.0
func GetFunctionIsWinOrderFunBySpecialId ¶
TODO: It's a bad hack here, I will fix it later. remove the special id from agg framwork is a better way. just put these code here for now because I have no enough time to solve the import cycle problem.
func RankReturnType ¶ added in v0.8.0
func ReturnType ¶ added in v0.6.0
ReturnType get aggregate operator's return type according to its operator-id and input-types.
func RowNumberReturnType ¶ added in v0.8.0
Types ¶
type Agg ¶
type Agg[T any] interface { encoding.BinaryMarshaler encoding.BinaryUnmarshaler // OutputType return the result type of the agg. OutputType() types.Type // InputTypes return the input types of the agg. InputTypes() []types.Type // Free the agg. Free(pool *mpool.MPool) // Grows allocates n groups for the agg. Grows(n int, pool *mpool.MPool) error // Eval method calculates and returns the final result of the aggregate function. Eval(pool *mpool.MPool) (*vector.Vector, error) // Fill use the one row of vector to fill agg. Fill(groupIndex int64, rowIndex int64, vectors []*vector.Vector) error // BulkFill use whole vector to fill agg. BulkFill(groupIndex int64, vectors []*vector.Vector) error // BatchFill use part rows of the vector to fill agg. // the rows are start from offset and end at offset+len(groupStatus) // groupOfRows[i] is 1 means that the (i+offset)th row matched the first group and 0 means not matched. BatchFill(offset int64, groupStatus []uint8, groupOfRows []uint64, vectors []*vector.Vector) error // Merge will merge a couple of group between 2 aggregate function structures. // It merges the groupIndex1-group of agg1 and // groupIndex2-group of agg2 Merge(agg2 Agg[any], groupIndex1 int64, groupIndex2 int64) error // BatchMerge merges multi groups of agg1 and agg2 // groupIdxes[i] is 1 means that the (offset + i)th group of agg2 matched the first group and 0 means not matched. BatchMerge(agg2 Agg[any], offset int64, groupStatus []uint8, groupIdxes []uint64) error // GetInputTypes get types of aggregate's input arguments. GetInputTypes() []types.Type // GetOperatorId get types of aggregate's aggregate id. GetOperatorId() int IsDistinct() bool // WildAggReAlloc reallocate for agg structure from memory pool. WildAggReAlloc(m *mpool.MPool) error }
Agg agg interface
func NewUnaryAgg ¶
func NewUnaryAgg[T1, T2 any](op int, priv AggStruct, isCount bool, ityp, otyp types.Type, grows func(int), eval func([]T2, error) ([]T2, error), merge func(int64, int64, T2, T2, bool, bool, any) (T2, bool, error), fill func(int64, T1, T2, int64, bool, bool) (T2, bool, error), batchFill func(any, any, int64, int64, []uint64, *nulls.Nulls) error) Agg[*UnaryAgg[T1, T2]]
func NewUnaryDistAgg ¶
func NewUnaryDistAgg[T1, T2 any](op int, priv AggStruct, isCount bool, ityp, otyp types.Type, grows func(int), eval func([]T2, error) ([]T2, error), merge func(int64, int64, T2, T2, bool, bool, any) (T2, bool, error), fill func(int64, T1, T2, int64, bool, bool) (T2, bool, error)) Agg[*UnaryDistAgg[T1, T2]]
type AggStruct ¶ added in v0.6.0
type AggStruct interface { encoding.BinaryMarshaler encoding.BinaryUnmarshaler }
type Anyvalue ¶ added in v0.6.0
func NewAnyValue ¶ added in v0.6.0
func (*Anyvalue[T]) MarshalBinary ¶ added in v0.6.0
func (*Anyvalue[T]) UnmarshalBinary ¶ added in v0.6.0
type ApproxCountDistic ¶ added in v0.6.0
func NewApproxc ¶ added in v0.6.0
func NewApproxc[T any]() *ApproxCountDistic[T]
func (*ApproxCountDistic[T]) Eval ¶ added in v0.6.0
func (a *ApproxCountDistic[T]) Eval(vs []uint64, err error) ([]uint64, error)
func (*ApproxCountDistic[T]) Grows ¶ added in v0.6.0
func (a *ApproxCountDistic[T]) Grows(n int)
func (*ApproxCountDistic[T]) MarshalBinary ¶ added in v0.6.0
func (a *ApproxCountDistic[T]) MarshalBinary() ([]byte, error)
func (*ApproxCountDistic[T]) UnmarshalBinary ¶ added in v0.6.0
func (a *ApproxCountDistic[T]) UnmarshalBinary(data []byte) error
type Avg ¶ added in v0.6.0
func (*Avg[T]) MarshalBinary ¶ added in v0.6.0
func (*Avg[T]) UnmarshalBinary ¶ added in v0.6.0
type BitAnd ¶ added in v0.6.0
func (*BitAnd[T1]) MarshalBinary ¶ added in v0.6.0
func (*BitAnd[T1]) UnmarshalBinary ¶ added in v0.6.0
type BitAndBinary ¶ added in v0.8.0
type BitAndBinary struct { }
func NewBitAndBinary ¶ added in v0.8.0
func NewBitAndBinary() *BitAndBinary
func (*BitAndBinary) Eval ¶ added in v0.8.0
func (bab *BitAndBinary) Eval(vs [][]byte, err error) ([][]byte, error)
func (*BitAndBinary) Grows ¶ added in v0.8.0
func (bab *BitAndBinary) Grows(_ int)
func (*BitAndBinary) MarshalBinary ¶ added in v0.8.0
func (bab *BitAndBinary) MarshalBinary() ([]byte, error)
func (*BitAndBinary) UnmarshalBinary ¶ added in v0.8.0
func (bab *BitAndBinary) UnmarshalBinary(data []byte) error
type BitOr ¶ added in v0.6.0
func (*BitOr[T1]) MarshalBinary ¶ added in v0.6.0
func (*BitOr[T1]) UnmarshalBinary ¶ added in v0.6.0
type BitOrBinary ¶ added in v0.8.0
type BitOrBinary struct { }
func NewBitOrBinary ¶ added in v0.8.0
func NewBitOrBinary() *BitOrBinary
func (*BitOrBinary) Eval ¶ added in v0.8.0
func (bab *BitOrBinary) Eval(vs [][]byte, err error) ([][]byte, error)
func (*BitOrBinary) Grows ¶ added in v0.8.0
func (bab *BitOrBinary) Grows(_ int)
func (*BitOrBinary) MarshalBinary ¶ added in v0.8.0
func (bab *BitOrBinary) MarshalBinary() ([]byte, error)
func (*BitOrBinary) UnmarshalBinary ¶ added in v0.8.0
func (bab *BitOrBinary) UnmarshalBinary(data []byte) error
type BitXor ¶ added in v0.6.0
func (*BitXor[T1]) MarshalBinary ¶ added in v0.6.0
func (*BitXor[T1]) UnmarshalBinary ¶ added in v0.6.0
type BitXorBinary ¶ added in v0.8.0
type BitXorBinary struct { }
func NewBitXorBinary ¶ added in v0.8.0
func NewBitXorBinary() *BitXorBinary
func (*BitXorBinary) Eval ¶ added in v0.8.0
func (bab *BitXorBinary) Eval(vs [][]byte, err error) ([][]byte, error)
func (*BitXorBinary) Grows ¶ added in v0.8.0
func (bab *BitXorBinary) Grows(_ int)
func (*BitXorBinary) MarshalBinary ¶ added in v0.8.0
func (bab *BitXorBinary) MarshalBinary() ([]byte, error)
func (*BitXorBinary) UnmarshalBinary ¶ added in v0.8.0
func (bab *BitXorBinary) UnmarshalBinary(data []byte) error
type BoolMax ¶ added in v0.6.0
type BoolMax struct { }
func NewBoolMax ¶ added in v0.6.0
func NewBoolMax() *BoolMax
func (*BoolMax) MarshalBinary ¶ added in v0.6.0
func (*BoolMax) UnmarshalBinary ¶ added in v0.6.0
type BoolMin ¶ added in v0.6.0
type BoolMin struct { }
func NewBoolMin ¶ added in v0.6.0
func NewBoolMin() *BoolMin
func (*BoolMin) MarshalBinary ¶ added in v0.6.0
func (*BoolMin) UnmarshalBinary ¶ added in v0.6.0
type Compare ¶ added in v0.6.0
type Compare interface { constraints.Integer | constraints.Float | types.Date | types.Datetime | types.Timestamp }
type Count ¶ added in v0.6.0
type Count[T1 types.OrderedT | Decimal128AndString] struct { // IsStar is true: count(*) IsStar bool }
func NewCount ¶ added in v0.6.0
func NewCount[T1 types.OrderedT | Decimal128AndString](isStar bool) *Count[T1]
func (*Count[T1]) MarshalBinary ¶ added in v0.6.0
func (*Count[T1]) UnmarshalBinary ¶ added in v0.6.0
type Decimal128AndString ¶ added in v0.6.0
type Decimal128Avg ¶ added in v0.6.0
func NewD128Avg ¶ added in v0.6.0
func NewD128Avg(typ types.Type) *Decimal128Avg
func (*Decimal128Avg) Eval ¶ added in v0.6.0
func (a *Decimal128Avg) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
func (*Decimal128Avg) Fill ¶ added in v0.6.0
func (a *Decimal128Avg) Fill(i int64, value types.Decimal128, ov types.Decimal128, z int64, isEmpty bool, isNull bool) (types.Decimal128, bool, error)
func (*Decimal128Avg) Grows ¶ added in v0.6.0
func (a *Decimal128Avg) Grows(cnt int)
func (*Decimal128Avg) MarshalBinary ¶ added in v0.6.0
func (a *Decimal128Avg) MarshalBinary() ([]byte, error)
func (*Decimal128Avg) Merge ¶ added in v0.6.0
func (a *Decimal128Avg) Merge(xIndex int64, yIndex int64, x types.Decimal128, y types.Decimal128, xEmpty bool, yEmpty bool, yAvg any) (types.Decimal128, bool, error)
func (*Decimal128Avg) UnmarshalBinary ¶ added in v0.6.0
func (a *Decimal128Avg) UnmarshalBinary(data []byte) error
type Decimal128Max ¶ added in v0.6.0
type Decimal128Max struct { }
func NewD128Max ¶ added in v0.6.0
func NewD128Max() *Decimal128Max
func (*Decimal128Max) Eval ¶ added in v0.6.0
func (m *Decimal128Max) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
func (*Decimal128Max) Fill ¶ added in v0.6.0
func (m *Decimal128Max) Fill(_ int64, value types.Decimal128, ov types.Decimal128, _ int64, isEmpty bool, isNull bool) (types.Decimal128, bool, error)
func (*Decimal128Max) Grows ¶ added in v0.6.0
func (m *Decimal128Max) Grows(_ int)
func (*Decimal128Max) MarshalBinary ¶ added in v0.6.0
func (m *Decimal128Max) MarshalBinary() ([]byte, error)
func (*Decimal128Max) Merge ¶ added in v0.6.0
func (m *Decimal128Max) Merge(_ int64, _ int64, x types.Decimal128, y types.Decimal128, xEmpty bool, yEmpty bool, _ any) (types.Decimal128, bool, error)
func (*Decimal128Max) UnmarshalBinary ¶ added in v0.6.0
func (m *Decimal128Max) UnmarshalBinary(data []byte) error
type Decimal128Median ¶ added in v0.7.0
type Decimal128Median struct {
Vals []decimal128Slice
}
func NewD128Median ¶ added in v0.7.0
func NewD128Median() *Decimal128Median
func (*Decimal128Median) Descriptor ¶ added in v0.8.0
func (*Decimal128Median) Descriptor() ([]byte, []int)
func (*Decimal128Median) Eval ¶ added in v0.7.0
func (m *Decimal128Median) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
func (*Decimal128Median) Fill ¶ added in v0.7.0
func (m *Decimal128Median) Fill(i int64, value types.Decimal128, _ types.Decimal128, z int64, isEmpty bool, isNull bool) (types.Decimal128, bool, error)
func (*Decimal128Median) Grows ¶ added in v0.7.0
func (m *Decimal128Median) Grows(cnt int)
func (*Decimal128Median) Marshal ¶ added in v0.8.0
func (m *Decimal128Median) Marshal() (dAtA []byte, err error)
func (*Decimal128Median) MarshalBinary ¶ added in v0.7.0
func (m *Decimal128Median) MarshalBinary() ([]byte, error)
func (*Decimal128Median) MarshalTo ¶ added in v0.8.0
func (m *Decimal128Median) MarshalTo(dAtA []byte) (int, error)
func (*Decimal128Median) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *Decimal128Median) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Decimal128Median) Merge ¶ added in v0.7.0
func (m *Decimal128Median) Merge(xIndex int64, yIndex int64, _ types.Decimal128, _ types.Decimal128, xEmpty bool, yEmpty bool, yMedian any) (types.Decimal128, bool, error)
func (*Decimal128Median) ProtoMessage ¶ added in v0.8.0
func (*Decimal128Median) ProtoMessage()
func (*Decimal128Median) ProtoSize ¶ added in v0.8.0
func (m *Decimal128Median) ProtoSize() (n int)
func (*Decimal128Median) Reset ¶ added in v0.8.0
func (m *Decimal128Median) Reset()
func (*Decimal128Median) String ¶ added in v0.8.0
func (m *Decimal128Median) String() string
func (*Decimal128Median) Unmarshal ¶ added in v0.8.0
func (m *Decimal128Median) Unmarshal(dAtA []byte) error
func (*Decimal128Median) UnmarshalBinary ¶ added in v0.7.0
func (m *Decimal128Median) UnmarshalBinary(dt []byte) error
func (*Decimal128Median) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Decimal128Median) XXX_DiscardUnknown()
func (*Decimal128Median) XXX_Marshal ¶ added in v0.8.0
func (m *Decimal128Median) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Decimal128Median) XXX_Merge ¶ added in v0.8.0
func (m *Decimal128Median) XXX_Merge(src proto.Message)
func (*Decimal128Median) XXX_Size ¶ added in v0.8.0
func (m *Decimal128Median) XXX_Size() int
func (*Decimal128Median) XXX_Unmarshal ¶ added in v0.8.0
func (m *Decimal128Median) XXX_Unmarshal(b []byte) error
type Decimal128Min ¶ added in v0.6.0
type Decimal128Min struct { }
func NewD128Min ¶ added in v0.6.0
func NewD128Min() *Decimal128Min
func (*Decimal128Min) Eval ¶ added in v0.6.0
func (m *Decimal128Min) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
func (*Decimal128Min) Fill ¶ added in v0.6.0
func (m *Decimal128Min) Fill(_ int64, value types.Decimal128, ov types.Decimal128, _ int64, isEmpty bool, isNull bool) (types.Decimal128, bool, error)
func (*Decimal128Min) Grows ¶ added in v0.6.0
func (m *Decimal128Min) Grows(_ int)
func (*Decimal128Min) MarshalBinary ¶ added in v0.6.0
func (m *Decimal128Min) MarshalBinary() ([]byte, error)
func (*Decimal128Min) Merge ¶ added in v0.6.0
func (m *Decimal128Min) Merge(_ int64, _ int64, x types.Decimal128, y types.Decimal128, xEmpty bool, yEmpty bool, _ any) (types.Decimal128, bool, error)
func (*Decimal128Min) UnmarshalBinary ¶ added in v0.6.0
func (m *Decimal128Min) UnmarshalBinary(data []byte) error
type Decimal128SlicePB ¶ added in v0.8.0
type Decimal128SlicePB struct {
Slice []github_com_matrixorigin_matrixone_pkg_container_types.Decimal128 `` /* 129-byte string literal not displayed */
}
func (*Decimal128SlicePB) Descriptor ¶ added in v0.8.0
func (*Decimal128SlicePB) Descriptor() ([]byte, []int)
func (*Decimal128SlicePB) Marshal ¶ added in v0.8.0
func (m *Decimal128SlicePB) Marshal() (dAtA []byte, err error)
func (*Decimal128SlicePB) MarshalTo ¶ added in v0.8.0
func (m *Decimal128SlicePB) MarshalTo(dAtA []byte) (int, error)
func (*Decimal128SlicePB) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *Decimal128SlicePB) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Decimal128SlicePB) ProtoMessage ¶ added in v0.8.0
func (*Decimal128SlicePB) ProtoMessage()
func (*Decimal128SlicePB) ProtoSize ¶ added in v0.8.0
func (m *Decimal128SlicePB) ProtoSize() (n int)
func (*Decimal128SlicePB) Reset ¶ added in v0.8.0
func (m *Decimal128SlicePB) Reset()
func (*Decimal128SlicePB) String ¶ added in v0.8.0
func (m *Decimal128SlicePB) String() string
func (*Decimal128SlicePB) Unmarshal ¶ added in v0.8.0
func (m *Decimal128SlicePB) Unmarshal(dAtA []byte) error
func (*Decimal128SlicePB) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Decimal128SlicePB) XXX_DiscardUnknown()
func (*Decimal128SlicePB) XXX_Marshal ¶ added in v0.8.0
func (m *Decimal128SlicePB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Decimal128SlicePB) XXX_Merge ¶ added in v0.8.0
func (m *Decimal128SlicePB) XXX_Merge(src proto.Message)
func (*Decimal128SlicePB) XXX_Size ¶ added in v0.8.0
func (m *Decimal128SlicePB) XXX_Size() int
func (*Decimal128SlicePB) XXX_Unmarshal ¶ added in v0.8.0
func (m *Decimal128SlicePB) XXX_Unmarshal(b []byte) error
type Decimal128Sum ¶ added in v0.6.0
type Decimal128Sum struct { }
func NewD128Sum ¶ added in v0.6.0
func NewD128Sum() *Decimal128Sum
func (*Decimal128Sum) Eval ¶ added in v0.6.0
func (s *Decimal128Sum) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
func (*Decimal128Sum) Fill ¶ added in v0.6.0
func (s *Decimal128Sum) Fill(_ int64, value types.Decimal128, ov types.Decimal128, z int64, isEmpty bool, isNull bool) (types.Decimal128, bool, error)
func (*Decimal128Sum) Grows ¶ added in v0.6.0
func (s *Decimal128Sum) Grows(_ int)
func (*Decimal128Sum) MarshalBinary ¶ added in v0.6.0
func (s *Decimal128Sum) MarshalBinary() ([]byte, error)
func (*Decimal128Sum) Merge ¶ added in v0.6.0
func (s *Decimal128Sum) Merge(_ int64, _ int64, x types.Decimal128, y types.Decimal128, xEmpty bool, yEmpty bool, _ any) (types.Decimal128, bool, error)
func (*Decimal128Sum) UnmarshalBinary ¶ added in v0.6.0
func (s *Decimal128Sum) UnmarshalBinary(data []byte) error
type Decimal64Avg ¶ added in v0.6.0
func NewD64Avg ¶ added in v0.6.0
func NewD64Avg(typ types.Type) *Decimal64Avg
func (*Decimal64Avg) Eval ¶ added in v0.6.0
func (a *Decimal64Avg) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
func (*Decimal64Avg) Fill ¶ added in v0.6.0
func (a *Decimal64Avg) Fill(i int64, value types.Decimal64, ov types.Decimal128, z int64, isEmpty bool, isNull bool) (types.Decimal128, bool, error)
func (*Decimal64Avg) Grows ¶ added in v0.6.0
func (a *Decimal64Avg) Grows(cnt int)
func (*Decimal64Avg) MarshalBinary ¶ added in v0.6.0
func (a *Decimal64Avg) MarshalBinary() ([]byte, error)
func (*Decimal64Avg) Merge ¶ added in v0.6.0
func (a *Decimal64Avg) Merge(xIndex int64, yIndex int64, x types.Decimal128, y types.Decimal128, xEmpty bool, yEmpty bool, yAvg any) (types.Decimal128, bool, error)
func (*Decimal64Avg) UnmarshalBinary ¶ added in v0.6.0
func (a *Decimal64Avg) UnmarshalBinary(data []byte) error
type Decimal64Max ¶ added in v0.6.0
type Decimal64Max struct { }
func NewD64Max ¶ added in v0.6.0
func NewD64Max() *Decimal64Max
func (*Decimal64Max) Grows ¶ added in v0.6.0
func (m *Decimal64Max) Grows(_ int)
func (*Decimal64Max) MarshalBinary ¶ added in v0.6.0
func (m *Decimal64Max) MarshalBinary() ([]byte, error)
func (*Decimal64Max) UnmarshalBinary ¶ added in v0.6.0
func (m *Decimal64Max) UnmarshalBinary(data []byte) error
type Decimal64Median ¶ added in v0.7.0
type Decimal64Median struct {
Vals []decimal64Slice
}
func NewD64Median ¶ added in v0.7.0
func NewD64Median() *Decimal64Median
func (*Decimal64Median) Descriptor ¶ added in v0.8.0
func (*Decimal64Median) Descriptor() ([]byte, []int)
func (*Decimal64Median) Eval ¶ added in v0.7.0
func (m *Decimal64Median) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
func (*Decimal64Median) Fill ¶ added in v0.7.0
func (m *Decimal64Median) Fill(i int64, value types.Decimal64, ov types.Decimal128, z int64, isEmpty bool, isNull bool) (types.Decimal128, bool, error)
func (*Decimal64Median) Grows ¶ added in v0.7.0
func (m *Decimal64Median) Grows(cnt int)
func (*Decimal64Median) Marshal ¶ added in v0.8.0
func (m *Decimal64Median) Marshal() (dAtA []byte, err error)
func (*Decimal64Median) MarshalBinary ¶ added in v0.7.0
func (m *Decimal64Median) MarshalBinary() ([]byte, error)
func (*Decimal64Median) MarshalTo ¶ added in v0.8.0
func (m *Decimal64Median) MarshalTo(dAtA []byte) (int, error)
func (*Decimal64Median) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *Decimal64Median) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Decimal64Median) Merge ¶ added in v0.7.0
func (m *Decimal64Median) Merge(xIndex int64, yIndex int64, _ types.Decimal128, _ types.Decimal128, xEmpty bool, yEmpty bool, yMedian any) (types.Decimal128, bool, error)
func (*Decimal64Median) ProtoMessage ¶ added in v0.8.0
func (*Decimal64Median) ProtoMessage()
func (*Decimal64Median) ProtoSize ¶ added in v0.8.0
func (m *Decimal64Median) ProtoSize() (n int)
func (*Decimal64Median) Reset ¶ added in v0.8.0
func (m *Decimal64Median) Reset()
func (*Decimal64Median) String ¶ added in v0.8.0
func (m *Decimal64Median) String() string
func (*Decimal64Median) Unmarshal ¶ added in v0.8.0
func (m *Decimal64Median) Unmarshal(dAtA []byte) error
func (*Decimal64Median) UnmarshalBinary ¶ added in v0.7.0
func (m *Decimal64Median) UnmarshalBinary(dt []byte) error
func (*Decimal64Median) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Decimal64Median) XXX_DiscardUnknown()
func (*Decimal64Median) XXX_Marshal ¶ added in v0.8.0
func (m *Decimal64Median) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Decimal64Median) XXX_Merge ¶ added in v0.8.0
func (m *Decimal64Median) XXX_Merge(src proto.Message)
func (*Decimal64Median) XXX_Size ¶ added in v0.8.0
func (m *Decimal64Median) XXX_Size() int
func (*Decimal64Median) XXX_Unmarshal ¶ added in v0.8.0
func (m *Decimal64Median) XXX_Unmarshal(b []byte) error
type Decimal64Min ¶ added in v0.6.0
type Decimal64Min struct { }
func NewD64Min ¶ added in v0.6.0
func NewD64Min() *Decimal64Min
func (*Decimal64Min) Grows ¶ added in v0.6.0
func (m *Decimal64Min) Grows(_ int)
func (*Decimal64Min) MarshalBinary ¶ added in v0.6.0
func (m *Decimal64Min) MarshalBinary() ([]byte, error)
func (*Decimal64Min) UnmarshalBinary ¶ added in v0.6.0
func (m *Decimal64Min) UnmarshalBinary(data []byte) error
type Decimal64SlicePB ¶ added in v0.8.0
type Decimal64SlicePB struct {
Slice []github_com_matrixorigin_matrixone_pkg_container_types.Decimal64 `` /* 128-byte string literal not displayed */
}
func (*Decimal64SlicePB) Descriptor ¶ added in v0.8.0
func (*Decimal64SlicePB) Descriptor() ([]byte, []int)
func (*Decimal64SlicePB) Marshal ¶ added in v0.8.0
func (m *Decimal64SlicePB) Marshal() (dAtA []byte, err error)
func (*Decimal64SlicePB) MarshalTo ¶ added in v0.8.0
func (m *Decimal64SlicePB) MarshalTo(dAtA []byte) (int, error)
func (*Decimal64SlicePB) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *Decimal64SlicePB) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Decimal64SlicePB) ProtoMessage ¶ added in v0.8.0
func (*Decimal64SlicePB) ProtoMessage()
func (*Decimal64SlicePB) ProtoSize ¶ added in v0.8.0
func (m *Decimal64SlicePB) ProtoSize() (n int)
func (*Decimal64SlicePB) Reset ¶ added in v0.8.0
func (m *Decimal64SlicePB) Reset()
func (*Decimal64SlicePB) String ¶ added in v0.8.0
func (m *Decimal64SlicePB) String() string
func (*Decimal64SlicePB) Unmarshal ¶ added in v0.8.0
func (m *Decimal64SlicePB) Unmarshal(dAtA []byte) error
func (*Decimal64SlicePB) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Decimal64SlicePB) XXX_DiscardUnknown()
func (*Decimal64SlicePB) XXX_Marshal ¶ added in v0.8.0
func (m *Decimal64SlicePB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Decimal64SlicePB) XXX_Merge ¶ added in v0.8.0
func (m *Decimal64SlicePB) XXX_Merge(src proto.Message)
func (*Decimal64SlicePB) XXX_Size ¶ added in v0.8.0
func (m *Decimal64SlicePB) XXX_Size() int
func (*Decimal64SlicePB) XXX_Unmarshal ¶ added in v0.8.0
func (m *Decimal64SlicePB) XXX_Unmarshal(b []byte) error
type Decimal64Sum ¶ added in v0.6.0
type Decimal64Sum struct { }
func NewD64Sum ¶ added in v0.6.0
func NewD64Sum() *Decimal64Sum
func (*Decimal64Sum) Grows ¶ added in v0.6.0
func (s *Decimal64Sum) Grows(_ int)
func (*Decimal64Sum) MarshalBinary ¶ added in v0.6.0
func (s *Decimal64Sum) MarshalBinary() ([]byte, error)
func (*Decimal64Sum) UnmarshalBinary ¶ added in v0.6.0
func (s *Decimal64Sum) UnmarshalBinary(data []byte) error
type DenseRank ¶ added in v0.8.0
type DenseRank struct {
Ps [][]int64
}
func NewDenseRank ¶ added in v0.8.0
func NewDenseRank() *DenseRank
func (*DenseRank) MarshalBinary ¶ added in v0.8.0
func (*DenseRank) UnmarshalBinary ¶ added in v0.8.0
type EncodeAgg ¶ added in v0.6.0
type EncodeAgg struct { Op int Private []byte Es []bool Da []byte InputTypes []byte OutputType []byte IsCount bool }
func (*EncodeAgg) Descriptor ¶ added in v0.8.0
func (*EncodeAgg) GetInputTypes ¶ added in v0.8.0
func (*EncodeAgg) GetIsCount ¶ added in v0.8.0
func (*EncodeAgg) GetOutputType ¶ added in v0.8.0
func (*EncodeAgg) GetPrivate ¶ added in v0.8.0
func (*EncodeAgg) MarshalToSizedBuffer ¶ added in v0.8.0
func (*EncodeAgg) ProtoMessage ¶ added in v0.8.0
func (*EncodeAgg) ProtoMessage()
func (*EncodeAgg) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *EncodeAgg) XXX_DiscardUnknown()
func (*EncodeAgg) XXX_Marshal ¶ added in v0.8.0
func (*EncodeAgg) XXX_Unmarshal ¶ added in v0.8.0
type EncodeAggDistinct ¶ added in v0.6.0
type EncodeAggDistinct[T any] struct { Op int Private []byte Es []bool Da []byte InputTypes []types.Type OutputType types.Type IsCount bool Srcs [][]T }
func (*EncodeAggDistinct[T]) MarshalBinary ¶ added in v0.8.0
func (m *EncodeAggDistinct[T]) MarshalBinary() ([]byte, error)
func (*EncodeAggDistinct[T]) UnmarshalBinary ¶ added in v0.8.0
func (m *EncodeAggDistinct[T]) UnmarshalBinary(data []byte) error
type EncodeAggDistinctPB ¶ added in v0.8.0
type EncodeAggDistinctPB struct { Op int `protobuf:"varint,1,opt,name=Op,proto3,casttype=int" json:"Op,omitempty"` Private []byte `protobuf:"bytes,2,opt,name=Private,proto3" json:"Private,omitempty"` Es []bool `protobuf:"varint,3,rep,packed,name=Es,proto3" json:"Es,omitempty"` Da []byte `protobuf:"bytes,4,opt,name=Da,proto3" json:"Da,omitempty"` InputTypes []github_com_matrixorigin_matrixone_pkg_container_types.Type `` /* 133-byte string literal not displayed */ OutputType github_com_matrixorigin_matrixone_pkg_container_types.Type `` /* 133-byte string literal not displayed */ IsCount bool `protobuf:"varint,7,opt,name=IsCount,proto3" json:"IsCount,omitempty"` }
func (*EncodeAggDistinctPB) Descriptor ¶ added in v0.8.0
func (*EncodeAggDistinctPB) Descriptor() ([]byte, []int)
func (*EncodeAggDistinctPB) GetDa ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) GetDa() []byte
func (*EncodeAggDistinctPB) GetEs ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) GetEs() []bool
func (*EncodeAggDistinctPB) GetIsCount ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) GetIsCount() bool
func (*EncodeAggDistinctPB) GetOp ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) GetOp() int
func (*EncodeAggDistinctPB) GetPrivate ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) GetPrivate() []byte
func (*EncodeAggDistinctPB) Marshal ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) Marshal() (dAtA []byte, err error)
func (*EncodeAggDistinctPB) MarshalTo ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) MarshalTo(dAtA []byte) (int, error)
func (*EncodeAggDistinctPB) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EncodeAggDistinctPB) ProtoMessage ¶ added in v0.8.0
func (*EncodeAggDistinctPB) ProtoMessage()
func (*EncodeAggDistinctPB) ProtoSize ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) ProtoSize() (n int)
func (*EncodeAggDistinctPB) Reset ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) Reset()
func (*EncodeAggDistinctPB) String ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) String() string
func (*EncodeAggDistinctPB) Unmarshal ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) Unmarshal(dAtA []byte) error
func (*EncodeAggDistinctPB) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) XXX_DiscardUnknown()
func (*EncodeAggDistinctPB) XXX_Marshal ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EncodeAggDistinctPB) XXX_Merge ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) XXX_Merge(src proto.Message)
func (*EncodeAggDistinctPB) XXX_Size ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) XXX_Size() int
func (*EncodeAggDistinctPB) XXX_Unmarshal ¶ added in v0.8.0
func (m *EncodeAggDistinctPB) XXX_Unmarshal(b []byte) error
type EncodeDecimalV ¶ added in v0.6.0
type EncodeDecimalV struct { Sum []types.Decimal128 Counts []int64 OutOfRangeButOnlyOneRow error }
func (*EncodeDecimalV) Descriptor ¶ added in v0.8.0
func (*EncodeDecimalV) Descriptor() ([]byte, []int)
func (*EncodeDecimalV) GetCounts ¶ added in v0.8.0
func (m *EncodeDecimalV) GetCounts() []int64
func (*EncodeDecimalV) Marshal ¶ added in v0.8.0
func (m *EncodeDecimalV) Marshal() (dAtA []byte, err error)
func (*EncodeDecimalV) MarshalTo ¶ added in v0.8.0
func (m *EncodeDecimalV) MarshalTo(dAtA []byte) (int, error)
func (*EncodeDecimalV) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *EncodeDecimalV) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EncodeDecimalV) ProtoMessage ¶ added in v0.8.0
func (*EncodeDecimalV) ProtoMessage()
func (*EncodeDecimalV) ProtoSize ¶ added in v0.8.0
func (m *EncodeDecimalV) ProtoSize() (n int)
func (*EncodeDecimalV) Reset ¶ added in v0.8.0
func (m *EncodeDecimalV) Reset()
func (*EncodeDecimalV) String ¶ added in v0.8.0
func (m *EncodeDecimalV) String() string
func (*EncodeDecimalV) Unmarshal ¶ added in v0.8.0
func (m *EncodeDecimalV) Unmarshal(dAtA []byte) error
func (*EncodeDecimalV) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *EncodeDecimalV) XXX_DiscardUnknown()
func (*EncodeDecimalV) XXX_Marshal ¶ added in v0.8.0
func (m *EncodeDecimalV) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EncodeDecimalV) XXX_Merge ¶ added in v0.8.0
func (m *EncodeDecimalV) XXX_Merge(src proto.Message)
func (*EncodeDecimalV) XXX_Size ¶ added in v0.8.0
func (m *EncodeDecimalV) XXX_Size() int
func (*EncodeDecimalV) XXX_Unmarshal ¶ added in v0.8.0
func (m *EncodeDecimalV) XXX_Unmarshal(b []byte) error
type EncodeVariance ¶ added in v0.6.0
func (*EncodeVariance) Descriptor ¶ added in v0.8.0
func (*EncodeVariance) Descriptor() ([]byte, []int)
func (*EncodeVariance) GetCounts ¶ added in v0.8.0
func (m *EncodeVariance) GetCounts() []float64
func (*EncodeVariance) GetSum ¶ added in v0.8.0
func (m *EncodeVariance) GetSum() []float64
func (*EncodeVariance) Marshal ¶ added in v0.8.0
func (m *EncodeVariance) Marshal() (dAtA []byte, err error)
func (*EncodeVariance) MarshalTo ¶ added in v0.8.0
func (m *EncodeVariance) MarshalTo(dAtA []byte) (int, error)
func (*EncodeVariance) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *EncodeVariance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EncodeVariance) ProtoMessage ¶ added in v0.8.0
func (*EncodeVariance) ProtoMessage()
func (*EncodeVariance) ProtoSize ¶ added in v0.8.0
func (m *EncodeVariance) ProtoSize() (n int)
func (*EncodeVariance) Reset ¶ added in v0.8.0
func (m *EncodeVariance) Reset()
func (*EncodeVariance) String ¶ added in v0.8.0
func (m *EncodeVariance) String() string
func (*EncodeVariance) Unmarshal ¶ added in v0.8.0
func (m *EncodeVariance) Unmarshal(dAtA []byte) error
func (*EncodeVariance) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *EncodeVariance) XXX_DiscardUnknown()
func (*EncodeVariance) XXX_Marshal ¶ added in v0.8.0
func (m *EncodeVariance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EncodeVariance) XXX_Merge ¶ added in v0.8.0
func (m *EncodeVariance) XXX_Merge(src proto.Message)
func (*EncodeVariance) XXX_Size ¶ added in v0.8.0
func (m *EncodeVariance) XXX_Size() int
func (*EncodeVariance) XXX_Unmarshal ¶ added in v0.8.0
func (m *EncodeVariance) XXX_Unmarshal(b []byte) error
type GroupConcat ¶
type GroupConcat struct {
// contains filtered or unexported fields
}
func (*GroupConcat) Grows ¶
func (g *GroupConcat) Grows(cnt int)
func (*GroupConcat) MarshalBinary ¶
func (g *GroupConcat) MarshalBinary() ([]byte, error)
func (*GroupConcat) UnmarshalBinary ¶
func (g *GroupConcat) UnmarshalBinary(odata []byte) error
type Max ¶ added in v0.6.0
type Max[T Compare] struct { }
func (*Max[T]) MarshalBinary ¶ added in v0.6.0
func (*Max[T]) UnmarshalBinary ¶ added in v0.6.0
type Median ¶ added in v0.7.0
type Median[T Numeric] struct { Vals []numericSlice[T] }
func (*Median[T]) MarshalBinary ¶ added in v0.7.0
func (*Median[T]) UnmarshalBinary ¶ added in v0.7.0
type Min ¶ added in v0.6.0
type Min[T Compare] struct { }
func (*Min[T]) MarshalBinary ¶ added in v0.6.0
func (*Min[T]) UnmarshalBinary ¶ added in v0.6.0
type Rank ¶ added in v0.8.0
type Rank struct {
Ps [][]int64
}
func (*Rank) MarshalBinary ¶ added in v0.8.0
func (*Rank) UnmarshalBinary ¶ added in v0.8.0
type ReturnTyp ¶ added in v0.6.0
if input type is int8/int16/int32/int64, the return type is int64 if input type is uint8/uint16/uint32/uint64, the return type is uint64 f input type is float32/float64, the return type is float64
type RowNumber ¶ added in v0.8.0
type RowNumber struct {
Ps [][]int64
}
func NewRowNumber ¶ added in v0.8.0
func NewRowNumber() *RowNumber
func (*RowNumber) MarshalBinary ¶ added in v0.8.0
func (*RowNumber) UnmarshalBinary ¶ added in v0.8.0
type StdD128 ¶ added in v0.6.0
func NewStdD128 ¶ added in v0.6.0
func (*StdD128) Eval ¶ added in v0.6.0
func (s *StdD128) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
func (*StdD128) Fill ¶ added in v0.6.0
func (s *StdD128) Fill(groupIndex int64, v1 types.Decimal128, v2 types.Decimal128, z int64, IsEmpty bool, hasNull bool) (types.Decimal128, bool, error)
func (*StdD128) MarshalBinary ¶ added in v0.6.0
func (*StdD128) UnmarshalBinary ¶ added in v0.6.0
type StdD64 ¶ added in v0.6.0
func (*StdD64) Eval ¶ added in v0.6.0
func (s *StdD64) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
func (*StdD64) MarshalBinary ¶ added in v0.6.0
func (*StdD64) UnmarshalBinary ¶ added in v0.6.0
type Stddevpop ¶ added in v0.6.0
func NewStdDevPop ¶ added in v0.6.0
NewStdDevPop is used to create a StdDevPop which supports float,int,uint
func (*Stddevpop[T1]) MarshalBinary ¶ added in v0.6.0
func (*Stddevpop[T1]) UnmarshalBinary ¶ added in v0.6.0
type StrAnyvalue ¶ added in v0.8.0
type StrAnyvalue struct {
NotSet []bool
}
func NewStrAnyValue ¶ added in v0.8.0
func NewStrAnyValue() *StrAnyvalue
func (*StrAnyvalue) Eval ¶ added in v0.8.0
func (a *StrAnyvalue) Eval(vs [][]byte, err error) ([][]byte, error)
func (*StrAnyvalue) Grows ¶ added in v0.8.0
func (a *StrAnyvalue) Grows(size int)
func (*StrAnyvalue) MarshalBinary ¶ added in v0.8.0
func (a *StrAnyvalue) MarshalBinary() ([]byte, error)
func (*StrAnyvalue) UnmarshalBinary ¶ added in v0.8.0
func (a *StrAnyvalue) UnmarshalBinary(data []byte) error
type StrMax ¶ added in v0.6.0
type StrMax struct { }
func (*StrMax) MarshalBinary ¶ added in v0.6.0
func (*StrMax) UnmarshalBinary ¶ added in v0.6.0
type StrMin ¶ added in v0.6.0
type StrMin struct { }
func (*StrMin) MarshalBinary ¶ added in v0.6.0
func (*StrMin) UnmarshalBinary ¶ added in v0.6.0
type Sum ¶ added in v0.6.0
func (*Sum[T1, T2]) MarshalBinary ¶ added in v0.6.0
func (*Sum[T1, T2]) UnmarshalBinary ¶ added in v0.6.0
type UnaryAgg ¶
type UnaryAgg[T1, T2 any] struct { // contains filtered or unexported fields }
UnaryAgg generic aggregation function with one input vector and without distinct
func (*UnaryAgg[T1, T2]) BatchMerge ¶
func (*UnaryAgg[T1, T2]) GetInputTypes ¶ added in v0.6.0
func (*UnaryAgg[T1, T2]) GetOperatorId ¶ added in v0.6.0
func (*UnaryAgg[T1, T2]) InputTypes ¶
func (*UnaryAgg[T1, T2]) IsDistinct ¶ added in v0.6.0
func (*UnaryAgg[T1, T2]) MarshalBinary ¶ added in v0.6.0
func (*UnaryAgg[T1, T2]) OutputType ¶
func (*UnaryAgg[T1, T2]) UnmarshalBinary ¶ added in v0.6.0
type UnaryDistAgg ¶
type UnaryDistAgg[T1, T2 any] struct { // contains filtered or unexported fields }
UnaryDistAgg generic aggregation function with one input vector and with distinct
func (*UnaryDistAgg[T1, T2]) BatchMerge ¶
func (*UnaryDistAgg[T1, T2]) BulkFill ¶
func (a *UnaryDistAgg[T1, T2]) BulkFill(groupIdx int64, vectors []*vector.Vector) (err error)
func (*UnaryDistAgg[T1, T2]) Free ¶
func (a *UnaryDistAgg[T1, T2]) Free(pool *mpool.MPool)
func (*UnaryDistAgg[T1, T2]) GetInputTypes ¶ added in v0.6.0
func (a *UnaryDistAgg[T1, T2]) GetInputTypes() []types.Type
func (*UnaryDistAgg[T1, T2]) GetOperatorId ¶ added in v0.6.0
func (a *UnaryDistAgg[T1, T2]) GetOperatorId() int
func (*UnaryDistAgg[T1, T2]) Grows ¶
func (a *UnaryDistAgg[T1, T2]) Grows(count int, pool *mpool.MPool) (err error)
func (*UnaryDistAgg[T1, T2]) InputTypes ¶
func (a *UnaryDistAgg[T1, T2]) InputTypes() []types.Type
func (*UnaryDistAgg[T1, T2]) IsDistinct ¶ added in v0.6.0
func (a *UnaryDistAgg[T1, T2]) IsDistinct() bool
func (*UnaryDistAgg[T1, T2]) MarshalBinary ¶ added in v0.6.0
func (a *UnaryDistAgg[T1, T2]) MarshalBinary() ([]byte, error)
func (*UnaryDistAgg[T1, T2]) Merge ¶
func (a *UnaryDistAgg[T1, T2]) Merge(b Agg[any], groupIdx1, groupIdx2 int64) (err error)
Merge a[x] += b[y]
func (*UnaryDistAgg[T1, T2]) OutputType ¶
func (a *UnaryDistAgg[T1, T2]) OutputType() types.Type
func (*UnaryDistAgg[T1, T2]) UnmarshalBinary ¶ added in v0.6.0
func (a *UnaryDistAgg[T1, T2]) UnmarshalBinary(data []byte) error
func (*UnaryDistAgg[T1, T2]) WildAggReAlloc ¶ added in v0.6.0
func (a *UnaryDistAgg[T1, T2]) WildAggReAlloc(m *mpool.MPool) error
type UuidMax ¶ added in v0.6.0
type UuidMax struct { }
func NewUuidMax ¶ added in v0.6.0
func NewUuidMax() *UuidMax
func (*UuidMax) MarshalBinary ¶ added in v0.6.0
func (*UuidMax) UnmarshalBinary ¶ added in v0.6.0
type UuidMin ¶ added in v0.6.0
type UuidMin struct { }
func NewUuidMin ¶ added in v0.6.0
func NewUuidMin() *UuidMin
func (*UuidMin) MarshalBinary ¶ added in v0.6.0
func (*UuidMin) UnmarshalBinary ¶ added in v0.6.0
type VD128 ¶ added in v0.6.0
type VD128 struct { Sum []types.Decimal128 Counts []int64 Typ types.Type ScaleMul int32 ScaleDiv int32 ScaleMulDiv int32 ScaleDivMul int32 OutOfRangeButOnlyOneRow error }
VD128 Variance for decimal128
func (*VD128) Descriptor ¶ added in v0.8.0
func (*VD128) Eval ¶ added in v0.6.0
func (v *VD128) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
func (*VD128) Fill ¶ added in v0.6.0
func (v *VD128) Fill(i int64, v1 types.Decimal128, v2 types.Decimal128, z int64, isEmpty bool, isNull bool) (types.Decimal128, bool, error)
func (*VD128) GetScaleDiv ¶ added in v0.8.0
func (*VD128) GetScaleDivMul ¶ added in v0.8.0
func (*VD128) GetScaleMul ¶ added in v0.8.0
func (*VD128) GetScaleMulDiv ¶ added in v0.8.0
func (*VD128) MarshalBinary ¶ added in v0.6.0
func (*VD128) MarshalToSizedBuffer ¶ added in v0.8.0
func (*VD128) Merge ¶ added in v0.6.0
func (v *VD128) Merge(xIndex, yIndex int64, x types.Decimal128, y types.Decimal128, xEmpty bool, yEmpty bool, agg any) (types.Decimal128, bool, error)
func (*VD128) ProtoMessage ¶ added in v0.8.0
func (*VD128) ProtoMessage()
func (*VD128) UnmarshalBinary ¶ added in v0.6.0
func (*VD128) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *VD128) XXX_DiscardUnknown()
func (*VD128) XXX_Marshal ¶ added in v0.8.0
func (*VD128) XXX_Unmarshal ¶ added in v0.8.0
type VD64 ¶ added in v0.6.0
type VD64 struct { Sum []types.Decimal128 Counts []int64 Typ types.Type ScaleMul int32 ScaleDiv int32 ScaleMulDiv int32 ScaleDivMul int32 OutOfRangeButOnlyOneRow error }
VD64 Variance for decimal64
func (*VD64) Descriptor ¶ added in v0.8.0
func (*VD64) Eval ¶ added in v0.6.0
func (v *VD64) Eval(vs []types.Decimal128, err error) ([]types.Decimal128, error)
func (*VD64) GetScaleDiv ¶ added in v0.8.0
func (*VD64) GetScaleDivMul ¶ added in v0.8.0
func (*VD64) GetScaleMul ¶ added in v0.8.0
func (*VD64) GetScaleMulDiv ¶ added in v0.8.0
func (*VD64) MarshalBinary ¶ added in v0.6.0
func (*VD64) MarshalToSizedBuffer ¶ added in v0.8.0
func (*VD64) Merge ¶ added in v0.6.0
func (v *VD64) Merge(xIndex, yIndex int64, x types.Decimal128, y types.Decimal128, xEmpty bool, yEmpty bool, agg any) (types.Decimal128, bool, error)
func (*VD64) ProtoMessage ¶ added in v0.8.0
func (*VD64) ProtoMessage()
func (*VD64) UnmarshalBinary ¶ added in v0.6.0
func (*VD64) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *VD64) XXX_DiscardUnknown()
func (*VD64) XXX_Marshal ¶ added in v0.8.0
func (*VD64) XXX_Unmarshal ¶ added in v0.8.0
type Variance ¶ added in v0.6.0
func NewVariance ¶ added in v0.6.0
NewVariance is used to create a Variance which supports float,int,uint
func (*Variance[T1]) MarshalBinary ¶ added in v0.6.0
func (*Variance[T1]) UnmarshalBinary ¶ added in v0.6.0
type VariancePB ¶ added in v0.8.0
type VariancePB struct { Sum []float64 `protobuf:"fixed64,1,rep,packed,name=Sum,proto3" json:"Sum,omitempty"` Counts []float64 `protobuf:"fixed64,2,rep,packed,name=Counts,proto3" json:"Counts,omitempty"` }
func (*VariancePB) Descriptor ¶ added in v0.8.0
func (*VariancePB) Descriptor() ([]byte, []int)
func (*VariancePB) GetCounts ¶ added in v0.8.0
func (m *VariancePB) GetCounts() []float64
func (*VariancePB) GetSum ¶ added in v0.8.0
func (m *VariancePB) GetSum() []float64
func (*VariancePB) Marshal ¶ added in v0.8.0
func (m *VariancePB) Marshal() (dAtA []byte, err error)
func (*VariancePB) MarshalTo ¶ added in v0.8.0
func (m *VariancePB) MarshalTo(dAtA []byte) (int, error)
func (*VariancePB) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *VariancePB) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VariancePB) ProtoMessage ¶ added in v0.8.0
func (*VariancePB) ProtoMessage()
func (*VariancePB) ProtoSize ¶ added in v0.8.0
func (m *VariancePB) ProtoSize() (n int)
func (*VariancePB) Reset ¶ added in v0.8.0
func (m *VariancePB) Reset()
func (*VariancePB) String ¶ added in v0.8.0
func (m *VariancePB) String() string
func (*VariancePB) Unmarshal ¶ added in v0.8.0
func (m *VariancePB) Unmarshal(dAtA []byte) error
func (*VariancePB) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *VariancePB) XXX_DiscardUnknown()
func (*VariancePB) XXX_Marshal ¶ added in v0.8.0
func (m *VariancePB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VariancePB) XXX_Merge ¶ added in v0.8.0
func (m *VariancePB) XXX_Merge(src proto.Message)
func (*VariancePB) XXX_Size ¶ added in v0.8.0
func (m *VariancePB) XXX_Size() int
func (*VariancePB) XXX_Unmarshal ¶ added in v0.8.0
func (m *VariancePB) XXX_Unmarshal(b []byte) error