Documentation
¶
Index ¶
- Constants
- func IPv6ToBytes(ip net.IP) [16]byte
- func WithAllocBufferColStrProvider(cap int)
- func WithColStrProvider(provider ColStrProvider)
- type Array
- func (col *Array) Append(v any) (nulls []uint8, err error)
- func (col *Array) AppendRow(v any) error
- func (col *Array) Base() Interface
- func (col *Array) Decode(reader *proto.Reader, rows int) error
- func (col *Array) Encode(buffer *proto.Buffer)
- func (col *Array) Name() string
- func (col *Array) ReadStatePrefix(reader *proto.Reader) error
- func (col *Array) Reset()
- func (col *Array) Row(i int, ptr bool) any
- func (col *Array) Rows() int
- func (col *Array) ScanRow(dest any, row int) error
- func (col *Array) ScanType() reflect.Type
- func (col *Array) Type() Type
- func (col *Array) WriteStatePrefix(buffer *proto.Buffer) error
- type BFloat16
- func (col *BFloat16) Append(v any) (nulls []uint8, err error)
- func (col *BFloat16) AppendRow(v any) error
- func (col *BFloat16) Decode(reader *proto.Reader, rows int) error
- func (col *BFloat16) Encode(buffer *proto.Buffer)
- func (col *BFloat16) Name() string
- func (col *BFloat16) Reset()
- func (col *BFloat16) Row(i int, ptr bool) any
- func (col *BFloat16) Rows() int
- func (col *BFloat16) ScanRow(dest any, row int) error
- func (col *BFloat16) ScanType() reflect.Type
- func (col *BFloat16) Type() Type
- type BigInt
- func (col *BigInt) Append(v any) (nulls []uint8, err error)
- func (col *BigInt) AppendRow(v any) error
- func (col *BigInt) Decode(reader *proto.Reader, rows int) error
- func (col *BigInt) Encode(buffer *proto.Buffer)
- func (col *BigInt) Name() string
- func (col *BigInt) Reset()
- func (col *BigInt) Row(i int, ptr bool) any
- func (col *BigInt) Rows() int
- func (col *BigInt) ScanRow(dest any, row int) error
- func (col *BigInt) ScanType() reflect.Type
- func (col *BigInt) Type() Type
- type Bool
- func (col *Bool) Append(v any) (nulls []uint8, err error)
- func (col *Bool) AppendRow(v any) error
- func (col *Bool) Decode(reader *proto.Reader, rows int) error
- func (col *Bool) Encode(buffer *proto.Buffer)
- func (col *Bool) Name() string
- func (col *Bool) Reset()
- func (col *Bool) Row(i int, ptr bool) any
- func (col *Bool) Rows() int
- func (col *Bool) ScanRow(dest any, row int) error
- func (col *Bool) ScanType() reflect.Type
- func (col *Bool) Type() Type
- type ColStrProvider
- type ColumnConverterError
- type CustomSerialization
- type Date
- func (col *Date) Append(v any) (nulls []uint8, err error)
- func (col *Date) AppendRow(v any) error
- func (col *Date) Decode(reader *proto.Reader, rows int) error
- func (col *Date) Encode(buffer *proto.Buffer)
- func (col *Date) Name() string
- func (col *Date) Reset()
- func (col *Date) Row(i int, ptr bool) any
- func (col *Date) Rows() int
- func (col *Date) ScanRow(dest any, row int) error
- func (col *Date) ScanType() reflect.Type
- func (col *Date) Type() Type
- type Date32
- func (col *Date32) Append(v any) (nulls []uint8, err error)
- func (col *Date32) AppendRow(v any) error
- func (col *Date32) Decode(reader *proto.Reader, rows int) error
- func (col *Date32) Encode(buffer *proto.Buffer)
- func (col *Date32) Name() string
- func (col *Date32) Reset()
- func (col *Date32) Row(i int, ptr bool) any
- func (col *Date32) Rows() int
- func (col *Date32) ScanRow(dest any, row int) error
- func (col *Date32) ScanType() reflect.Type
- func (col *Date32) Type() Type
- type DateTime
- func (col *DateTime) Append(v any) (nulls []uint8, err error)
- func (col *DateTime) AppendRow(v any) error
- func (col *DateTime) Decode(reader *proto.Reader, rows int) error
- func (col *DateTime) Encode(buffer *proto.Buffer)
- func (col *DateTime) Name() string
- func (col *DateTime) Reset()
- func (col *DateTime) Row(i int, ptr bool) any
- func (col *DateTime) Rows() int
- func (col *DateTime) ScanRow(dest any, row int) error
- func (col *DateTime) ScanType() reflect.Type
- func (col *DateTime) Type() Type
- type DateTime64
- func (col *DateTime64) Append(v any) (nulls []uint8, err error)
- func (col *DateTime64) AppendRow(v any) error
- func (col *DateTime64) Decode(reader *proto.Reader, rows int) error
- func (col *DateTime64) Encode(buffer *proto.Buffer)
- func (col *DateTime64) Name() string
- func (col *DateTime64) Precision() (int64, bool)
- func (col *DateTime64) Reset()
- func (col *DateTime64) Row(i int, ptr bool) any
- func (col *DateTime64) Rows() int
- func (col *DateTime64) ScanRow(dest any, row int) error
- func (col *DateTime64) ScanType() reflect.Type
- func (col *DateTime64) Type() Type
- type Decimal
- func (col *Decimal) Append(v any) (nulls []uint8, err error)
- func (col *Decimal) AppendRow(v any) error
- func (col *Decimal) Decode(reader *proto.Reader, rows int) error
- func (col *Decimal) Encode(buffer *proto.Buffer)
- func (col *Decimal) Name() string
- func (col *Decimal) Precision() int64
- func (col *Decimal) Reset()
- func (col *Decimal) Row(i int, ptr bool) any
- func (col *Decimal) Rows() int
- func (col *Decimal) Scale() int64
- func (col *Decimal) ScanRow(dest any, row int) error
- func (col *Decimal) ScanType() reflect.Type
- func (col *Decimal) Type() Type
- type Dynamic
- func (c *Dynamic) Append(v any) (nulls []uint8, err error)
- func (c *Dynamic) AppendRow(v any) error
- func (c *Dynamic) Decode(reader *proto.Reader, rows int) error
- func (c *Dynamic) Encode(buffer *proto.Buffer)
- func (c *Dynamic) Name() string
- func (c *Dynamic) ReadStatePrefix(reader *proto.Reader) error
- func (c *Dynamic) Reset()
- func (c *Dynamic) Row(i int, ptr bool) any
- func (c *Dynamic) Rows() int
- func (c *Dynamic) ScanRow(dest any, row int) error
- func (c *Dynamic) ScanType() reflect.Type
- func (c *Dynamic) Type() Type
- func (c *Dynamic) WriteStatePrefix(buffer *proto.Buffer) error
- type Enum8
- func (col *Enum8) Append(v any) (nulls []uint8, err error)
- func (col *Enum8) AppendRow(elem any) error
- func (col *Enum8) Decode(reader *proto.Reader, rows int) error
- func (col *Enum8) Encode(buffer *proto.Buffer)
- func (col *Enum8) Name() string
- func (col *Enum8) Reset()
- func (col *Enum8) Row(i int, ptr bool) any
- func (col *Enum8) Rows() int
- func (col *Enum8) ScanRow(dest any, row int) error
- func (col *Enum8) ScanType() reflect.Type
- func (col *Enum8) Type() Type
- type Enum16
- func (col *Enum16) Append(v any) (nulls []uint8, err error)
- func (col *Enum16) AppendRow(elem any) error
- func (col *Enum16) Decode(reader *proto.Reader, rows int) error
- func (col *Enum16) Encode(buffer *proto.Buffer)
- func (col *Enum16) Name() string
- func (col *Enum16) Reset()
- func (col *Enum16) Row(i int, ptr bool) any
- func (col *Enum16) Rows() int
- func (col *Enum16) ScanRow(dest any, row int) error
- func (col *Enum16) ScanType() reflect.Type
- func (col *Enum16) Type() Type
- type Error
- type FixedString
- func (col *FixedString) Append(v any) (nulls []uint8, err error)
- func (col *FixedString) AppendRow(v any) error
- func (col *FixedString) Decode(reader *proto.Reader, rows int) error
- func (col *FixedString) Encode(buffer *proto.Buffer)
- func (col *FixedString) Name() string
- func (col *FixedString) Reset()
- func (col *FixedString) Row(i int, ptr bool) any
- func (col *FixedString) Rows() int
- func (col *FixedString) ScanRow(dest any, row int) error
- func (col *FixedString) ScanType() reflect.Type
- func (col *FixedString) Type() Type
- type Float32
- func (col *Float32) Append(v any) (nulls []uint8, err error)
- func (col *Float32) AppendRow(v any) error
- func (col *Float32) Decode(reader *proto.Reader, rows int) error
- func (col *Float32) Encode(buffer *proto.Buffer)
- func (col *Float32) Name() string
- func (col *Float32) Reset()
- func (col *Float32) Row(i int, ptr bool) any
- func (col *Float32) Rows() int
- func (col *Float32) ScanRow(dest any, row int) error
- func (col *Float32) ScanType() reflect.Type
- func (col *Float32) Type() Type
- type Float64
- func (col *Float64) Append(v any) (nulls []uint8, err error)
- func (col *Float64) AppendRow(v any) error
- func (col *Float64) Decode(reader *proto.Reader, rows int) error
- func (col *Float64) Encode(buffer *proto.Buffer)
- func (col *Float64) Name() string
- func (col *Float64) Reset()
- func (col *Float64) Row(i int, ptr bool) any
- func (col *Float64) Rows() int
- func (col *Float64) ScanRow(dest any, row int) error
- func (col *Float64) ScanType() reflect.Type
- func (col *Float64) Type() Type
- type IPv4
- func (col *IPv4) Append(v any) (nulls []uint8, err error)
- func (col *IPv4) AppendRow(v any) (err error)
- func (col *IPv4) AppendV4IPs(ips []netip.Addr)
- func (col *IPv4) Decode(reader *proto.Reader, rows int) error
- func (col *IPv4) Encode(buffer *proto.Buffer)
- func (col *IPv4) Name() string
- func (col *IPv4) Reset()
- func (col *IPv4) Row(i int, ptr bool) any
- func (col *IPv4) Rows() int
- func (col *IPv4) ScanRow(dest any, row int) error
- func (col *IPv4) ScanType() reflect.Type
- func (col *IPv4) Type() Type
- type IPv6
- func (col *IPv6) Append(v any) (nulls []uint8, err error)
- func (col *IPv6) AppendRow(v any) (err error)
- func (col *IPv6) AppendV6IPs(ips []netip.Addr)
- func (col *IPv6) Decode(reader *proto.Reader, rows int) error
- func (col *IPv6) Encode(buffer *proto.Buffer)
- func (col *IPv6) Name() string
- func (col *IPv6) Reset()
- func (col *IPv6) Row(i int, ptr bool) any
- func (col *IPv6) Rows() int
- func (col *IPv6) ScanRow(dest any, row int) error
- func (col *IPv6) ScanType() reflect.Type
- func (col *IPv6) Type() Type
- type Int8
- func (col *Int8) Append(v any) (nulls []uint8, err error)
- func (col *Int8) AppendRow(v any) error
- func (col *Int8) Decode(reader *proto.Reader, rows int) error
- func (col *Int8) Encode(buffer *proto.Buffer)
- func (col *Int8) Name() string
- func (col *Int8) Reset()
- func (col *Int8) Row(i int, ptr bool) any
- func (col *Int8) Rows() int
- func (col *Int8) ScanRow(dest any, row int) error
- func (col *Int8) ScanType() reflect.Type
- func (col *Int8) Type() Type
- type Int16
- func (col *Int16) Append(v any) (nulls []uint8, err error)
- func (col *Int16) AppendRow(v any) error
- func (col *Int16) Decode(reader *proto.Reader, rows int) error
- func (col *Int16) Encode(buffer *proto.Buffer)
- func (col *Int16) Name() string
- func (col *Int16) Reset()
- func (col *Int16) Row(i int, ptr bool) any
- func (col *Int16) Rows() int
- func (col *Int16) ScanRow(dest any, row int) error
- func (col *Int16) ScanType() reflect.Type
- func (col *Int16) Type() Type
- type Int32
- func (col *Int32) Append(v any) (nulls []uint8, err error)
- func (col *Int32) AppendRow(v any) error
- func (col *Int32) Decode(reader *proto.Reader, rows int) error
- func (col *Int32) Encode(buffer *proto.Buffer)
- func (col *Int32) Name() string
- func (col *Int32) Reset()
- func (col *Int32) Row(i int, ptr bool) any
- func (col *Int32) Rows() int
- func (col *Int32) ScanRow(dest any, row int) error
- func (col *Int32) ScanType() reflect.Type
- func (col *Int32) Type() Type
- type Int64
- func (col *Int64) Append(v any) (nulls []uint8, err error)
- func (col *Int64) AppendRow(v any) error
- func (col *Int64) Decode(reader *proto.Reader, rows int) error
- func (col *Int64) Encode(buffer *proto.Buffer)
- func (col *Int64) Name() string
- func (col *Int64) Reset()
- func (col *Int64) Row(i int, ptr bool) any
- func (col *Int64) Rows() int
- func (col *Int64) ScanRow(dest any, row int) error
- func (col *Int64) ScanType() reflect.Type
- func (col *Int64) Type() Type
- type Interface
- type Interval
- func (Interval) Append(any) ([]uint8, error)
- func (Interval) AppendRow(any) error
- func (col *Interval) Decode(reader *proto.Reader, rows int) error
- func (Interval) Encode(buffer *proto.Buffer)
- func (col *Interval) Name() string
- func (col *Interval) Reset()
- func (col *Interval) Row(i int, ptr bool) any
- func (col *Interval) Rows() int
- func (col *Interval) ScanRow(dest any, row int) error
- func (col *Interval) ScanType() reflect.Type
- func (col *Interval) Type() Type
- type IterableOrderedMap
- type JSON
- func (c *JSON) Append(v any) (nulls []uint8, err error)
- func (c *JSON) AppendRow(v any) error
- func (c *JSON) Decode(reader *proto.Reader, rows int) error
- func (c *JSON) Encode(buffer *proto.Buffer)
- func (c *JSON) Name() string
- func (c *JSON) ReadStatePrefix(reader *proto.Reader) error
- func (c *JSON) Reset()
- func (c *JSON) Row(row int, ptr bool) any
- func (c *JSON) Rows() int
- func (c *JSON) ScanRow(dest any, row int) error
- func (c *JSON) ScanType() reflect.Type
- func (c *JSON) Type() Type
- func (c *JSON) WriteStatePrefix(buffer *proto.Buffer) error
- type LineString
- func (col *LineString) Append(v any) (nulls []uint8, err error)
- func (col *LineString) AppendRow(v any) error
- func (col *LineString) Decode(reader *proto.Reader, rows int) error
- func (col *LineString) Encode(buffer *proto.Buffer)
- func (col *LineString) Name() string
- func (col *LineString) Reset()
- func (col *LineString) Row(i int, ptr bool) any
- func (col *LineString) Rows() int
- func (col *LineString) ScanRow(dest any, row int) error
- func (col *LineString) ScanType() reflect.Type
- func (col *LineString) Type() Type
- type LowCardinality
- func (col *LowCardinality) Append(v any) (nulls []uint8, err error)
- func (col *LowCardinality) AppendRow(v any) error
- func (col *LowCardinality) Decode(reader *proto.Reader, rows int) error
- func (col *LowCardinality) Encode(buffer *proto.Buffer)
- func (col *LowCardinality) Name() string
- func (col *LowCardinality) ReadStatePrefix(reader *proto.Reader) error
- func (col *LowCardinality) Reset()
- func (col *LowCardinality) Row(i int, ptr bool) any
- func (col *LowCardinality) Rows() int
- func (col *LowCardinality) ScanRow(dest any, row int) error
- func (col *LowCardinality) ScanType() reflect.Type
- func (col *LowCardinality) Type() Type
- func (col *LowCardinality) WriteStatePrefix(buffer *proto.Buffer) error
- type Map
- func (col *Map) Append(v any) (nulls []uint8, err error)
- func (col *Map) AppendRow(v any) error
- func (col *Map) Decode(reader *proto.Reader, rows int) error
- func (col *Map) Encode(buffer *proto.Buffer)
- func (col *Map) Name() string
- func (col *Map) ReadStatePrefix(reader *proto.Reader) error
- func (col *Map) Reset()
- func (col *Map) Row(i int, ptr bool) any
- func (col *Map) Rows() int
- func (col *Map) ScanRow(dest any, i int) error
- func (col *Map) ScanType() reflect.Type
- func (col *Map) Type() Type
- func (col *Map) WriteStatePrefix(encoder *proto.Buffer) error
- type MapIterator
- type MultiLineString
- func (col *MultiLineString) Append(v any) (nulls []uint8, err error)
- func (col *MultiLineString) AppendRow(v any) error
- func (col *MultiLineString) Decode(reader *proto.Reader, rows int) error
- func (col *MultiLineString) Encode(buffer *proto.Buffer)
- func (col *MultiLineString) Name() string
- func (col *MultiLineString) Reset()
- func (col *MultiLineString) Row(i int, ptr bool) any
- func (col *MultiLineString) Rows() int
- func (col *MultiLineString) ScanRow(dest any, row int) error
- func (col *MultiLineString) ScanType() reflect.Type
- func (col *MultiLineString) Type() Type
- type MultiPolygon
- func (col *MultiPolygon) Append(v any) (nulls []uint8, err error)
- func (col *MultiPolygon) AppendRow(v any) error
- func (col *MultiPolygon) Decode(reader *proto.Reader, rows int) error
- func (col *MultiPolygon) Encode(buffer *proto.Buffer)
- func (col *MultiPolygon) Name() string
- func (col *MultiPolygon) Reset()
- func (col *MultiPolygon) Row(i int, ptr bool) any
- func (col *MultiPolygon) Rows() int
- func (col *MultiPolygon) ScanRow(dest any, row int) error
- func (col *MultiPolygon) ScanType() reflect.Type
- func (col *MultiPolygon) Type() Type
- type Nested
- type Nothing
- func (Nothing) Append(any) ([]uint8, error)
- func (col Nothing) AppendRow(any) error
- func (col Nothing) Decode(reader *proto.Reader, rows int) error
- func (Nothing) Encode(buffer *proto.Buffer)
- func (col Nothing) Name() string
- func (col *Nothing) Reset()
- func (Nothing) Row(int, bool) any
- func (Nothing) Rows() int
- func (Nothing) ScanRow(any, int) error
- func (Nothing) ScanType() reflect.Type
- func (Nothing) Type() Type
- type Nullable
- func (col *Nullable) Append(v any) ([]uint8, error)
- func (col *Nullable) AppendRow(v any) error
- func (col *Nullable) Base() Interface
- func (col *Nullable) Decode(reader *proto.Reader, rows int) error
- func (col *Nullable) Encode(buffer *proto.Buffer)
- func (col *Nullable) Name() string
- func (col *Nullable) ReadStatePrefix(reader *proto.Reader) error
- func (col *Nullable) Reset()
- func (col *Nullable) Row(i int, ptr bool) any
- func (col *Nullable) Rows() int
- func (col *Nullable) ScanRow(dest any, row int) error
- func (col *Nullable) ScanType() reflect.Type
- func (col *Nullable) Type() Type
- func (col *Nullable) WriteStatePrefix(buffer *proto.Buffer) error
- type OrderedMap
- type Point
- func (col *Point) Append(v any) (nulls []uint8, err error)
- func (col *Point) AppendRow(v any) error
- func (col *Point) Decode(reader *proto.Reader, rows int) error
- func (col *Point) Encode(buffer *proto.Buffer)
- func (col *Point) Name() string
- func (col *Point) Reset()
- func (col *Point) Row(i int, ptr bool) any
- func (col *Point) Rows() int
- func (col *Point) ScanRow(dest any, row int) error
- func (col *Point) ScanType() reflect.Type
- func (col *Point) Type() Type
- type Polygon
- func (col *Polygon) Append(v any) (nulls []uint8, err error)
- func (col *Polygon) AppendRow(v any) error
- func (col *Polygon) Decode(reader *proto.Reader, rows int) error
- func (col *Polygon) Encode(buffer *proto.Buffer)
- func (col *Polygon) Name() string
- func (col *Polygon) Reset()
- func (col *Polygon) Row(i int, ptr bool) any
- func (col *Polygon) Rows() int
- func (col *Polygon) ScanRow(dest any, row int) error
- func (col *Polygon) ScanType() reflect.Type
- func (col *Polygon) Type() Type
- type QBit
- func (col *QBit) Append(v any) ([]uint8, error)
- func (col *QBit) AppendRow(v any) error
- func (col *QBit) Decode(reader *proto.Reader, rows int) error
- func (col *QBit) Encode(buffer *proto.Buffer)
- func (col *QBit) Name() string
- func (col *QBit) Reset()
- func (col *QBit) Row(i int, ptr bool) any
- func (col *QBit) Rows() int
- func (col *QBit) ScanRow(dest any, row int) error
- func (col *QBit) ScanType() reflect.Type
- func (col *QBit) Type() Type
- type Ring
- func (col *Ring) Append(v any) (nulls []uint8, err error)
- func (col *Ring) AppendRow(v any) error
- func (col *Ring) Decode(reader *proto.Reader, rows int) error
- func (col *Ring) Encode(buffer *proto.Buffer)
- func (col *Ring) Name() string
- func (col *Ring) Reset()
- func (col *Ring) Row(i int, ptr bool) any
- func (col *Ring) Rows() int
- func (col *Ring) ScanRow(dest any, row int) error
- func (col *Ring) ScanType() reflect.Type
- func (col *Ring) Type() Type
- type ServerContext
- type SharedVariant
- func (c *SharedVariant) Append(v any) (nulls []uint8, err error)
- func (c *SharedVariant) AppendRow(v any) error
- func (c *SharedVariant) Decode(reader *proto.Reader, rows int) error
- func (c *SharedVariant) Encode(buffer *proto.Buffer)
- func (c *SharedVariant) Name() string
- func (c *SharedVariant) Reset()
- func (c *SharedVariant) Row(i int, ptr bool) any
- func (c *SharedVariant) Rows() int
- func (c *SharedVariant) ScanRow(dest any, row int) error
- func (c *SharedVariant) ScanType() reflect.Type
- func (c *SharedVariant) Type() Type
- type SimpleAggregateFunction
- func (col *SimpleAggregateFunction) Append(v any) ([]uint8, error)
- func (col *SimpleAggregateFunction) AppendRow(v any) error
- func (col *SimpleAggregateFunction) Decode(reader *proto.Reader, rows int) error
- func (col *SimpleAggregateFunction) Encode(buffer *proto.Buffer)
- func (col *SimpleAggregateFunction) Name() string
- func (col *SimpleAggregateFunction) ReadStatePrefix(reader *proto.Reader) error
- func (col *SimpleAggregateFunction) Reset()
- func (col *SimpleAggregateFunction) Row(i int, ptr bool) any
- func (col *SimpleAggregateFunction) Rows() int
- func (col *SimpleAggregateFunction) ScanRow(dest any, rows int) error
- func (col *SimpleAggregateFunction) ScanType() reflect.Type
- func (col *SimpleAggregateFunction) Type() Type
- func (col *SimpleAggregateFunction) WriteStatePrefix(buffer *proto.Buffer) error
- type String
- func (col *String) Append(v any) (nulls []uint8, err error)
- func (col *String) AppendRow(v any) error
- func (col *String) Decode(reader *proto.Reader, rows int) error
- func (col *String) Encode(buffer *proto.Buffer)
- func (col String) Name() string
- func (col *String) Reset()
- func (col *String) Row(i int, ptr bool) any
- func (col *String) Rows() int
- func (col *String) ScanRow(dest any, row int) error
- func (String) ScanType() reflect.Type
- func (String) Type() Type
- type Time
- func (col *Time) Append(v any) (nulls []uint8, err error)
- func (col *Time) AppendRow(v any) error
- func (col *Time) Decode(reader *proto.Reader, rows int) error
- func (col *Time) Encode(buffer *proto.Buffer)
- func (col *Time) Name() string
- func (col *Time) Reset()
- func (col *Time) Row(i int, ptr bool) any
- func (col *Time) Rows() int
- func (col *Time) ScanRow(dest any, row int) error
- func (col *Time) ScanType() reflect.Type
- func (col *Time) Type() Type
- type Time64
- func (col *Time64) Append(v any) (nulls []uint8, err error)
- func (col *Time64) AppendRow(v any) error
- func (col *Time64) Decode(reader *proto.Reader, rows int) error
- func (col *Time64) Encode(buffer *proto.Buffer)
- func (col *Time64) Name() string
- func (col *Time64) Precision() (int64, bool)
- func (col *Time64) Reset()
- func (col *Time64) Row(i int, ptr bool) any
- func (col *Time64) Rows() int
- func (col *Time64) ScanRow(dest any, row int) error
- func (col *Time64) ScanType() reflect.Type
- func (col *Time64) Type() Type
- type Tuple
- func (col *Tuple) Append(v any) (nulls []uint8, err error)
- func (col *Tuple) AppendRow(v any) error
- func (col *Tuple) Decode(reader *proto.Reader, rows int) error
- func (col *Tuple) Encode(buffer *proto.Buffer)
- func (col *Tuple) Name() string
- func (col *Tuple) ReadStatePrefix(reader *proto.Reader) error
- func (col *Tuple) Reset()
- func (col *Tuple) Row(i int, ptr bool) any
- func (col *Tuple) Rows() int
- func (col *Tuple) ScanRow(dest any, row int) error
- func (col Tuple) ScanType() reflect.Type
- func (col *Tuple) Type() Type
- func (col *Tuple) WriteStatePrefix(buffer *proto.Buffer) error
- type Type
- type UInt8
- func (col *UInt8) Append(v any) (nulls []uint8, err error)
- func (col *UInt8) AppendRow(v any) error
- func (col *UInt8) Decode(reader *proto.Reader, rows int) error
- func (col *UInt8) Encode(buffer *proto.Buffer)
- func (col *UInt8) Name() string
- func (col *UInt8) Reset()
- func (col *UInt8) Row(i int, ptr bool) any
- func (col *UInt8) Rows() int
- func (col *UInt8) ScanRow(dest any, row int) error
- func (col *UInt8) ScanType() reflect.Type
- func (col *UInt8) Type() Type
- type UInt16
- func (col *UInt16) Append(v any) (nulls []uint8, err error)
- func (col *UInt16) AppendRow(v any) error
- func (col *UInt16) Decode(reader *proto.Reader, rows int) error
- func (col *UInt16) Encode(buffer *proto.Buffer)
- func (col *UInt16) Name() string
- func (col *UInt16) Reset()
- func (col *UInt16) Row(i int, ptr bool) any
- func (col *UInt16) Rows() int
- func (col *UInt16) ScanRow(dest any, row int) error
- func (col *UInt16) ScanType() reflect.Type
- func (col *UInt16) Type() Type
- type UInt32
- func (col *UInt32) Append(v any) (nulls []uint8, err error)
- func (col *UInt32) AppendRow(v any) error
- func (col *UInt32) Decode(reader *proto.Reader, rows int) error
- func (col *UInt32) Encode(buffer *proto.Buffer)
- func (col *UInt32) Name() string
- func (col *UInt32) Reset()
- func (col *UInt32) Row(i int, ptr bool) any
- func (col *UInt32) Rows() int
- func (col *UInt32) ScanRow(dest any, row int) error
- func (col *UInt32) ScanType() reflect.Type
- func (col *UInt32) Type() Type
- type UInt64
- func (col *UInt64) Append(v any) (nulls []uint8, err error)
- func (col *UInt64) AppendRow(v any) error
- func (col *UInt64) Decode(reader *proto.Reader, rows int) error
- func (col *UInt64) Encode(buffer *proto.Buffer)
- func (col *UInt64) Name() string
- func (col *UInt64) Reset()
- func (col *UInt64) Row(i int, ptr bool) any
- func (col *UInt64) Rows() int
- func (col *UInt64) ScanRow(dest any, row int) error
- func (col *UInt64) ScanType() reflect.Type
- func (col *UInt64) Type() Type
- type UUID
- func (col *UUID) Append(v any) (nulls []uint8, err error)
- func (col *UUID) AppendRow(v any) error
- func (col *UUID) Decode(reader *proto.Reader, rows int) error
- func (col *UUID) Encode(buffer *proto.Buffer)
- func (col *UUID) Name() string
- func (col *UUID) Reset()
- func (col *UUID) Row(i int, ptr bool) any
- func (col *UUID) Rows() int
- func (col *UUID) ScanRow(dest any, row int) error
- func (col *UUID) ScanType() reflect.Type
- func (col *UUID) Type() Type
- type UnsupportedColumnTypeError
- type Variant
- func (c *Variant) Append(v any) (nulls []uint8, err error)
- func (c *Variant) AppendRow(v any) error
- func (c *Variant) Decode(reader *proto.Reader, rows int) error
- func (c *Variant) Encode(buffer *proto.Buffer)
- func (c *Variant) Name() string
- func (c *Variant) ReadStatePrefix(reader *proto.Reader) error
- func (c *Variant) Reset()
- func (c *Variant) Row(i int, ptr bool) any
- func (c *Variant) Rows() int
- func (c *Variant) ScanRow(dest any, row int) error
- func (c *Variant) ScanType() reflect.Type
- func (c *Variant) Type() Type
- func (c *Variant) WriteStatePrefix(buffer *proto.Buffer) error
Constants ¶
const DefaultMaxDynamicPaths = 1024
const DefaultMaxDynamicTypes = 32
const DynamicDeprecatedSerializationVersion = 1
const DynamicNullDiscriminator = -1 // The Null index changes as data is being built, use -1 as placeholder for writes.
const DynamicSerializationVersion = 3
const (
E
)
const JSONDeprecatedObjectSerializationVersion uint64 = 0
const JSONObjectSerializationVersion uint64 = 3
const JSONStringSerializationVersion uint64 = 1
const JSONUnsetSerializationVersion uint64 = math.MaxUint64
const MaxMapPathDepth = 32
const SupportedVariantSerializationVersion = 0
const VariantNullDiscriminator uint8 = 255
Variables ¶
This section is empty.
Functions ¶
func IPv6ToBytes ¶ added in v2.3.0
func WithAllocBufferColStrProvider ¶ added in v2.18.0
func WithAllocBufferColStrProvider(cap int)
issue: https://github.com/ClickHouse/clickhouse-go/issues/1164 WithAllocBufferColStrProvider allow pre alloc buffer cap for proto.ColStr
It is more suitable for scenarios where a lot of data is written in batches
func WithColStrProvider ¶ added in v2.18.0
func WithColStrProvider(provider ColStrProvider)
WithColStrProvider more flexible than WithAllocBufferColStrProvider, such as use sync.Pool
Types ¶
type BFloat16 ¶ added in v2.43.0
type BFloat16 struct {
// contains filtered or unexported fields
}
type ColStrProvider ¶ added in v2.18.0
ColStrProvider defines provider of proto.ColStr
type ColumnConverterError ¶
func (*ColumnConverterError) Error ¶
func (e *ColumnConverterError) Error() string
type CustomSerialization ¶
type DateTime64 ¶
type DateTime64 struct {
// contains filtered or unexported fields
}
func (*DateTime64) AppendRow ¶
func (col *DateTime64) AppendRow(v any) error
func (*DateTime64) Encode ¶
func (col *DateTime64) Encode(buffer *proto.Buffer)
func (*DateTime64) Name ¶ added in v2.1.0
func (col *DateTime64) Name() string
func (*DateTime64) Precision ¶ added in v2.30.1
func (col *DateTime64) Precision() (int64, bool)
func (*DateTime64) Reset ¶ added in v2.3.0
func (col *DateTime64) Reset()
func (*DateTime64) Rows ¶
func (col *DateTime64) Rows() int
func (*DateTime64) ScanType ¶
func (col *DateTime64) ScanType() reflect.Type
func (*DateTime64) Type ¶
func (col *DateTime64) Type() Type
type Dynamic ¶ added in v2.30.1
type Dynamic struct {
// contains filtered or unexported fields
}
func (*Dynamic) ReadStatePrefix ¶ added in v2.32.1
type FixedString ¶
type FixedString struct {
// contains filtered or unexported fields
}
func (*FixedString) AppendRow ¶
func (col *FixedString) AppendRow(v any) error
func (*FixedString) Encode ¶
func (col *FixedString) Encode(buffer *proto.Buffer)
func (*FixedString) Name ¶ added in v2.1.0
func (col *FixedString) Name() string
func (*FixedString) Reset ¶ added in v2.3.0
func (col *FixedString) Reset()
func (*FixedString) Rows ¶
func (col *FixedString) Rows() int
func (*FixedString) ScanType ¶
func (col *FixedString) ScanType() reflect.Type
func (*FixedString) Type ¶
func (col *FixedString) Type() Type
type IPv4 ¶
type IPv4 struct {
// contains filtered or unexported fields
}
func (*IPv4) AppendV4IPs ¶ added in v2.3.0
type IPv6 ¶
type IPv6 struct {
// contains filtered or unexported fields
}
func (*IPv6) AppendV6IPs ¶ added in v2.3.0
type Interface ¶
type IterableOrderedMap ¶ added in v2.17.0
type IterableOrderedMap interface {
Put(key any, value any)
Iterator() MapIterator
}
type JSON ¶ added in v2.1.0
type JSON struct {
// contains filtered or unexported fields
}
JSON implements ClickHouse JSON column on the native protocol layer. We choose how to encode the JSON based on serializationVersion. It can be either plain string or object type with newer server support.
func (*JSON) ReadStatePrefix ¶ added in v2.32.1
type LineString ¶ added in v2.43.0
type LineString struct {
// contains filtered or unexported fields
}
func (*LineString) Append ¶ added in v2.43.0
func (col *LineString) Append(v any) (nulls []uint8, err error)
func (*LineString) AppendRow ¶ added in v2.43.0
func (col *LineString) AppendRow(v any) error
func (*LineString) Decode ¶ added in v2.43.0
func (col *LineString) Decode(reader *proto.Reader, rows int) error
func (*LineString) Encode ¶ added in v2.43.0
func (col *LineString) Encode(buffer *proto.Buffer)
func (*LineString) Name ¶ added in v2.43.0
func (col *LineString) Name() string
func (*LineString) Reset ¶ added in v2.43.0
func (col *LineString) Reset()
func (*LineString) Rows ¶ added in v2.43.0
func (col *LineString) Rows() int
func (*LineString) ScanRow ¶ added in v2.43.0
func (col *LineString) ScanRow(dest any, row int) error
func (*LineString) ScanType ¶ added in v2.43.0
func (col *LineString) ScanType() reflect.Type
func (*LineString) Type ¶ added in v2.43.0
func (col *LineString) Type() Type
type LowCardinality ¶
type LowCardinality struct {
// contains filtered or unexported fields
}
https://github.com/ClickHouse/ClickHouse/blob/master/src/Columns/ColumnLowCardinality.cpp https://github.com/ClickHouse/clickhouse-cpp/blob/master/clickhouse/columns/lowcardinality.cpp
func (*LowCardinality) AppendRow ¶
func (col *LowCardinality) AppendRow(v any) error
func (*LowCardinality) Decode ¶
func (col *LowCardinality) Decode(reader *proto.Reader, rows int) error
func (*LowCardinality) Encode ¶
func (col *LowCardinality) Encode(buffer *proto.Buffer)
func (*LowCardinality) Name ¶ added in v2.1.0
func (col *LowCardinality) Name() string
func (*LowCardinality) ReadStatePrefix ¶
func (col *LowCardinality) ReadStatePrefix(reader *proto.Reader) error
func (*LowCardinality) Reset ¶ added in v2.3.0
func (col *LowCardinality) Reset()
func (*LowCardinality) Rows ¶
func (col *LowCardinality) Rows() int
func (*LowCardinality) ScanType ¶
func (col *LowCardinality) ScanType() reflect.Type
func (*LowCardinality) Type ¶
func (col *LowCardinality) Type() Type
func (*LowCardinality) WriteStatePrefix ¶
func (col *LowCardinality) WriteStatePrefix(buffer *proto.Buffer) error
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
https://github.com/ClickHouse/ClickHouse/blob/master/src/Columns/ColumnMap.cpp
type MapIterator ¶ added in v2.17.0
type MultiLineString ¶ added in v2.43.0
type MultiLineString struct {
// contains filtered or unexported fields
}
func (*MultiLineString) Append ¶ added in v2.43.0
func (col *MultiLineString) Append(v any) (nulls []uint8, err error)
func (*MultiLineString) AppendRow ¶ added in v2.43.0
func (col *MultiLineString) AppendRow(v any) error
func (*MultiLineString) Decode ¶ added in v2.43.0
func (col *MultiLineString) Decode(reader *proto.Reader, rows int) error
func (*MultiLineString) Encode ¶ added in v2.43.0
func (col *MultiLineString) Encode(buffer *proto.Buffer)
func (*MultiLineString) Name ¶ added in v2.43.0
func (col *MultiLineString) Name() string
func (*MultiLineString) Reset ¶ added in v2.43.0
func (col *MultiLineString) Reset()
func (*MultiLineString) Rows ¶ added in v2.43.0
func (col *MultiLineString) Rows() int
func (*MultiLineString) ScanRow ¶ added in v2.43.0
func (col *MultiLineString) ScanRow(dest any, row int) error
func (*MultiLineString) ScanType ¶ added in v2.43.0
func (col *MultiLineString) ScanType() reflect.Type
func (*MultiLineString) Type ¶ added in v2.43.0
func (col *MultiLineString) Type() Type
type MultiPolygon ¶
type MultiPolygon struct {
// contains filtered or unexported fields
}
func (*MultiPolygon) AppendRow ¶
func (col *MultiPolygon) AppendRow(v any) error
func (*MultiPolygon) Encode ¶
func (col *MultiPolygon) Encode(buffer *proto.Buffer)
func (*MultiPolygon) Name ¶ added in v2.1.0
func (col *MultiPolygon) Name() string
func (*MultiPolygon) Reset ¶ added in v2.3.0
func (col *MultiPolygon) Reset()
func (*MultiPolygon) Rows ¶
func (col *MultiPolygon) Rows() int
func (*MultiPolygon) ScanType ¶
func (col *MultiPolygon) ScanType() reflect.Type
func (*MultiPolygon) Type ¶
func (col *MultiPolygon) Type() Type
type Nested ¶ added in v2.0.9
type Nested struct {
Interface
// contains filtered or unexported fields
}
func (*Nested) ReadStatePrefix ¶ added in v2.28.0
type Nullable ¶
type Nullable struct {
// contains filtered or unexported fields
}
func (*Nullable) ReadStatePrefix ¶ added in v2.40.0
type OrderedMap ¶ added in v2.4.0
type QBit ¶ added in v2.43.0
type QBit struct {
// contains filtered or unexported fields
}
QBit represents the QBit(T, N) column type for vector embeddings. QBit stores vectors in a bit-sliced format enabling runtime precision tuning for vector similarity searches.
Supported element types: BFloat16, Float32, Float64
Example usage:
vectors := [][]float32{
{1.0, 2.0, 3.0, 4.0},
{5.0, 6.0, 7.0, 8.0},
}
batch.Append(vectors)
type ServerContext ¶ added in v2.38.0
type SharedVariant ¶ added in v2.30.1
type SharedVariant struct {
// contains filtered or unexported fields
}
SharedVariant deprecated. Use Dynamic/JSON serialization version 3.
func (*SharedVariant) Append ¶ added in v2.30.1
func (c *SharedVariant) Append(v any) (nulls []uint8, err error)
func (*SharedVariant) AppendRow ¶ added in v2.30.1
func (c *SharedVariant) AppendRow(v any) error
func (*SharedVariant) Decode ¶ added in v2.30.1
func (c *SharedVariant) Decode(reader *proto.Reader, rows int) error
func (*SharedVariant) Encode ¶ added in v2.30.1
func (c *SharedVariant) Encode(buffer *proto.Buffer)
func (*SharedVariant) Name ¶ added in v2.30.1
func (c *SharedVariant) Name() string
func (*SharedVariant) Reset ¶ added in v2.30.1
func (c *SharedVariant) Reset()
func (*SharedVariant) Rows ¶ added in v2.30.1
func (c *SharedVariant) Rows() int
func (*SharedVariant) ScanRow ¶ added in v2.30.1
func (c *SharedVariant) ScanRow(dest any, row int) error
func (*SharedVariant) ScanType ¶ added in v2.30.1
func (c *SharedVariant) ScanType() reflect.Type
func (*SharedVariant) Type ¶ added in v2.30.1
func (c *SharedVariant) Type() Type
type SimpleAggregateFunction ¶
type SimpleAggregateFunction struct {
// contains filtered or unexported fields
}
func (*SimpleAggregateFunction) Append ¶
func (col *SimpleAggregateFunction) Append(v any) ([]uint8, error)
func (*SimpleAggregateFunction) AppendRow ¶
func (col *SimpleAggregateFunction) AppendRow(v any) error
func (*SimpleAggregateFunction) Decode ¶
func (col *SimpleAggregateFunction) Decode(reader *proto.Reader, rows int) error
func (*SimpleAggregateFunction) Encode ¶
func (col *SimpleAggregateFunction) Encode(buffer *proto.Buffer)
func (*SimpleAggregateFunction) Name ¶ added in v2.1.0
func (col *SimpleAggregateFunction) Name() string
func (*SimpleAggregateFunction) ReadStatePrefix ¶ added in v2.41.0
func (col *SimpleAggregateFunction) ReadStatePrefix(reader *proto.Reader) error
func (*SimpleAggregateFunction) Reset ¶ added in v2.3.0
func (col *SimpleAggregateFunction) Reset()
func (*SimpleAggregateFunction) Rows ¶
func (col *SimpleAggregateFunction) Rows() int
func (*SimpleAggregateFunction) ScanRow ¶
func (col *SimpleAggregateFunction) ScanRow(dest any, rows int) error
func (*SimpleAggregateFunction) ScanType ¶
func (col *SimpleAggregateFunction) ScanType() reflect.Type
func (*SimpleAggregateFunction) Type ¶
func (col *SimpleAggregateFunction) Type() Type
func (*SimpleAggregateFunction) WriteStatePrefix ¶ added in v2.41.0
func (col *SimpleAggregateFunction) WriteStatePrefix(buffer *proto.Buffer) error
type Time ¶ added in v2.41.0
type Time struct {
// contains filtered or unexported fields
}
func (*Time) Append ¶ added in v2.41.0
Append implements column.Interface. It is used for columnar inserts. Insert multiple Go value for single ClickHouse Time type.
func (*Time) AppendRow ¶ added in v2.41.0
AppendRow implements column.Interface. It is used to insert column value in a row. Converts Go type into ClickHouse type to be inserted.
type Time64 ¶ added in v2.41.0
type Time64 struct {
// contains filtered or unexported fields
}
func (*Time64) Append ¶ added in v2.41.0
Append implements column.Interface. It is used for columnar inserts. Insert multiple Go value for single ClickHouse Time64 type.
func (*Time64) AppendRow ¶ added in v2.41.0
AppendRow implements column.Interface. It is used to insert column value in a row. Converts Go type into ClickHouse type to be inserted.
type UnsupportedColumnTypeError ¶ added in v2.0.10
type UnsupportedColumnTypeError struct {
// contains filtered or unexported fields
}
func (*UnsupportedColumnTypeError) Error ¶ added in v2.0.10
func (e *UnsupportedColumnTypeError) Error() string
Source Files
¶
- array.go
- array_gen.go
- bigint.go
- bool.go
- column.go
- column_gen.go
- column_gen_option.go
- date.go
- date32.go
- datetime.go
- datetime64.go
- decimal.go
- dynamic.go
- dynamic_deprecated.go
- dynamic_gen.go
- enum.go
- enum16.go
- enum8.go
- fixed_string.go
- geo_linestring.go
- geo_multi_linestring.go
- geo_multi_polygon.go
- geo_point.go
- geo_polygon.go
- geo_ring.go
- interval.go
- ipv4.go
- ipv6.go
- json.go
- json_deprecated.go
- json_reflect.go
- lowcardinality.go
- map.go
- nested.go
- nothing.go
- nullable.go
- object_json.go
- qbit.go
- sharedvariant.go
- simple_aggregate_function.go
- slice_helper.go
- string.go
- time.go
- time64.go
- time_helper.go
- tuple.go
- uuid.go
- variant.go