Documentation ¶
Index ¶
- Constants
- func Append[T any](v *Vector, w T, isNull bool) error
- func AppendList[T any](v *Vector, ws []T, nsp *bitmap.Bitmap) error
- func AppendString(v *Vector, w []byte, isNull bool) error
- func AppendStringList(v *Vector, ws [][]byte, nsp *bitmap.Bitmap) error
- func AppendStringUUID(v *Vector, uuid uuid.UUID, isNull bool, size uint64) error
- func GetColumnValue[T any](v *Vector) []T
- func GetShrinkFunction(typ types.Type) func(*Vector, []uint32) error
- type Vector
- func (vec *Vector) Dup() *Vector
- func (vec *Vector) GetReader(str types.String) (io.ReadCloser, error)
- func (v *Vector) GetString(str types.String) ([]byte, uuid.UUID, uint64)
- func (v *Vector) GetStringValue(str types.String) ([]byte, error)
- func (v *Vector) GetType() types.Type
- func (v *Vector) GetUnionFunction() func(*Vector, []uint32) error
- func (v *Vector) GetValueString(row int) string
- func (v *Vector) IsConst() bool
- func (v *Vector) IsNull(i int) bool
- func (v *Vector) Length() int
- func (v *Vector) MarshalBinary() ([]byte, error)
- func (vec *Vector) PreExtend(rows int) error
- func (v *Vector) Reset()
- func (v *Vector) SetLength(n int)
- func (v *Vector) SetNotNull(i int)
- func (v *Vector) SetNull(i int)
- func (v *Vector) SetStringValue(str types.String, b []byte) error
- func (v *Vector) String() string
- func (v *Vector) TypeEqual(w *Vector) bool
- func (v *Vector) UnmarshalBinary(data []byte) error
Constants ¶
View Source
const ( FLAT = iota // flat vector represent a uncompressed vector CONSTANT // const vector )
Variables ¶
This section is empty.
Functions ¶
func AppendStringUUID ¶
func GetColumnValue ¶
Types ¶
type Vector ¶
type Vector struct {
// contains filtered or unexported fields
}
Vector represent a column
func (*Vector) GetValueString ¶
func (*Vector) MarshalBinary ¶
func (*Vector) SetNotNull ¶
func (*Vector) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.