column

package
v2.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2022 License: Apache-2.0 Imports: 16 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPv4ToBytes

func IPv4ToBytes(ip net.IP) []byte

Types

type Array

type Array struct {
	// contains filtered or unexported fields
}

func (*Array) Append

func (col *Array) Append(v interface{}) (nulls []uint8, err error)

func (*Array) AppendRow

func (col *Array) AppendRow(v interface{}) error

func (*Array) Base

func (col *Array) Base() Interface

func (*Array) Decode

func (col *Array) Decode(decoder *binary.Decoder, rows int) error

func (*Array) Encode

func (col *Array) Encode(encoder *binary.Encoder) error

func (*Array) ReadStatePrefix

func (col *Array) ReadStatePrefix(decoder *binary.Decoder) error

func (*Array) Row

func (col *Array) Row(i int, ptr bool) interface{}

func (*Array) Rows

func (col *Array) Rows() int

func (*Array) ScanRow

func (col *Array) ScanRow(dest interface{}, row int) error

func (*Array) ScanType

func (col *Array) ScanType() reflect.Type

func (*Array) Type

func (col *Array) Type() Type

func (*Array) WriteStatePrefix

func (col *Array) WriteStatePrefix(encoder *binary.Encoder) error

type BigInt

type BigInt struct {
	// contains filtered or unexported fields
}

func (*BigInt) Append

func (col *BigInt) Append(v interface{}) (nulls []uint8, err error)

func (*BigInt) AppendRow

func (col *BigInt) AppendRow(v interface{}) error

func (*BigInt) Decode

func (col *BigInt) Decode(decoder *binary.Decoder, rows int) error

func (*BigInt) Encode

func (col *BigInt) Encode(encoder *binary.Encoder) error

func (*BigInt) Row

func (col *BigInt) Row(i int, ptr bool) interface{}

func (*BigInt) Rows

func (col *BigInt) Rows() int

func (*BigInt) ScanRow

func (col *BigInt) ScanRow(dest interface{}, row int) error

func (*BigInt) ScanType

func (col *BigInt) ScanType() reflect.Type

func (*BigInt) Type

func (col *BigInt) Type() Type

type Bool

type Bool struct {
	// contains filtered or unexported fields
}

func (*Bool) Append

func (col *Bool) Append(v interface{}) (nulls []uint8, err error)

func (*Bool) AppendRow

func (col *Bool) AppendRow(v interface{}) error

func (*Bool) Decode

func (col *Bool) Decode(decoder *binary.Decoder, rows int) error

func (*Bool) Encode

func (col *Bool) Encode(encoder *binary.Encoder) error

func (*Bool) Row

func (col *Bool) Row(i int, ptr bool) interface{}

func (*Bool) Rows

func (col *Bool) Rows() int

func (*Bool) ScanRow

func (col *Bool) ScanRow(dest interface{}, row int) error

func (*Bool) ScanType

func (col *Bool) ScanType() reflect.Type

func (*Bool) Type

func (col *Bool) Type() Type

type ColumnConverterError

type ColumnConverterError struct {
	Op       string
	Hint     string
	From, To string
}

func (*ColumnConverterError) Error

func (e *ColumnConverterError) Error() string

type CustomSerialization

type CustomSerialization interface {
	ReadStatePrefix(*binary.Decoder) error
	WriteStatePrefix(*binary.Encoder) error
}

type Date

type Date struct {
	// contains filtered or unexported fields
}

func (*Date) Append

func (dt *Date) Append(v interface{}) (nulls []uint8, err error)

func (*Date) AppendRow

func (dt *Date) AppendRow(v interface{}) error

func (*Date) Decode

func (dt *Date) Decode(decoder *binary.Decoder, rows int) error

func (*Date) Encode

func (dt *Date) Encode(encoder *binary.Encoder) error

func (*Date) Row

func (dt *Date) Row(i int, ptr bool) interface{}

func (*Date) Rows

func (dt *Date) Rows() int

func (*Date) ScanRow

func (dt *Date) ScanRow(dest interface{}, row int) error

func (*Date) ScanType

func (col *Date) ScanType() reflect.Type

func (*Date) Type

func (dt *Date) Type() Type

type Date32

type Date32 struct {
	// contains filtered or unexported fields
}

func (*Date32) Append

func (dt *Date32) Append(v interface{}) (nulls []uint8, err error)

func (*Date32) AppendRow

func (dt *Date32) AppendRow(v interface{}) error

func (*Date32) Decode

func (dt *Date32) Decode(decoder *binary.Decoder, rows int) error

func (*Date32) Encode

func (dt *Date32) Encode(encoder *binary.Encoder) error

func (*Date32) Row

func (dt *Date32) Row(i int, ptr bool) interface{}

func (*Date32) Rows

func (dt *Date32) Rows() int

func (*Date32) ScanRow

func (dt *Date32) ScanRow(dest interface{}, row int) error

func (*Date32) ScanType

func (col *Date32) ScanType() reflect.Type

func (*Date32) Type

func (dt *Date32) Type() Type

type DateOverflowError

type DateOverflowError struct {
	Min, Max time.Time
	Value    time.Time
	Format   string
}

func (*DateOverflowError) Error

func (e *DateOverflowError) Error() string

type DateTime

type DateTime struct {
	// contains filtered or unexported fields
}

func (*DateTime) Append

func (dt *DateTime) Append(v interface{}) (nulls []uint8, err error)

func (*DateTime) AppendRow

func (dt *DateTime) AppendRow(v interface{}) error

func (*DateTime) Decode

func (dt *DateTime) Decode(decoder *binary.Decoder, rows int) error

func (*DateTime) Encode

func (dt *DateTime) Encode(encoder *binary.Encoder) error

func (*DateTime) Row

func (dt *DateTime) Row(i int, ptr bool) interface{}

func (*DateTime) Rows

func (dt *DateTime) Rows() int

func (*DateTime) ScanRow

func (dt *DateTime) ScanRow(dest interface{}, row int) error

func (*DateTime) ScanType

func (col *DateTime) ScanType() reflect.Type

func (*DateTime) Type

func (dt *DateTime) Type() Type

type DateTime64

type DateTime64 struct {
	// contains filtered or unexported fields
}

func (*DateTime64) Append

func (dt *DateTime64) Append(v interface{}) (nulls []uint8, err error)

func (*DateTime64) AppendRow

func (dt *DateTime64) AppendRow(v interface{}) error

func (*DateTime64) Decode

func (dt *DateTime64) Decode(decoder *binary.Decoder, rows int) error

func (*DateTime64) Encode

func (dt *DateTime64) Encode(encoder *binary.Encoder) error

func (*DateTime64) Row

func (dt *DateTime64) Row(i int, ptr bool) interface{}

func (*DateTime64) Rows

func (dt *DateTime64) Rows() int

func (*DateTime64) ScanRow

func (dt *DateTime64) ScanRow(dest interface{}, row int) error

func (*DateTime64) ScanType

func (col *DateTime64) ScanType() reflect.Type

func (*DateTime64) Type

func (dt *DateTime64) Type() Type

type Decimal

type Decimal struct {
	// contains filtered or unexported fields
}

func (*Decimal) Append

func (col *Decimal) Append(v interface{}) (nulls []uint8, err error)

func (*Decimal) AppendRow

func (col *Decimal) AppendRow(v interface{}) error

func (*Decimal) Decode

func (col *Decimal) Decode(decoder *binary.Decoder, rows int) error

func (*Decimal) Encode

func (col *Decimal) Encode(encoder *binary.Encoder) error

func (*Decimal) Precision

func (col *Decimal) Precision() int64

func (*Decimal) Row

func (col *Decimal) Row(i int, ptr bool) interface{}

func (*Decimal) Rows

func (col *Decimal) Rows() int

func (*Decimal) Scale

func (col *Decimal) Scale() int64

func (*Decimal) ScanRow

func (col *Decimal) ScanRow(dest interface{}, row int) error

func (*Decimal) ScanType

func (col *Decimal) ScanType() reflect.Type

func (*Decimal) Type

func (col *Decimal) Type() Type

type Enum16

type Enum16 struct {
	// contains filtered or unexported fields
}

func (*Enum16) Append

func (e *Enum16) Append(v interface{}) (nulls []uint8, err error)

func (*Enum16) AppendRow

func (e *Enum16) AppendRow(elem interface{}) error

func (*Enum16) Decode

func (e *Enum16) Decode(decoder *binary.Decoder, rows int) error

func (*Enum16) Encode

func (e *Enum16) Encode(encoder *binary.Encoder) error

func (*Enum16) Row

func (e *Enum16) Row(i int, ptr bool) interface{}

func (*Enum16) Rows

func (e *Enum16) Rows() int

func (*Enum16) ScanRow

func (e *Enum16) ScanRow(dest interface{}, row int) error

func (*Enum16) ScanType

func (col *Enum16) ScanType() reflect.Type

func (*Enum16) Type

func (e *Enum16) Type() Type

type Enum8

type Enum8 struct {
	// contains filtered or unexported fields
}

func (*Enum8) Append

func (e *Enum8) Append(v interface{}) (nulls []uint8, err error)

func (*Enum8) AppendRow

func (e *Enum8) AppendRow(elem interface{}) error

func (*Enum8) Decode

func (e *Enum8) Decode(decoder *binary.Decoder, rows int) error

func (*Enum8) Encode

func (e *Enum8) Encode(encoder *binary.Encoder) error

func (*Enum8) Row

func (e *Enum8) Row(i int, ptr bool) interface{}

func (*Enum8) Rows

func (e *Enum8) Rows() int

func (*Enum8) ScanRow

func (e *Enum8) ScanRow(dest interface{}, row int) error

func (*Enum8) ScanType

func (col *Enum8) ScanType() reflect.Type

func (*Enum8) Type

func (e *Enum8) Type() Type

type Error

type Error struct {
	ColumnType string
	Err        error
}

func (*Error) Error

func (e *Error) Error() string

type FixedString

type FixedString struct {
	// contains filtered or unexported fields
}

func (*FixedString) Append

func (col *FixedString) Append(v interface{}) (nulls []uint8, err error)

func (*FixedString) AppendRow

func (col *FixedString) AppendRow(v interface{}) (err error)

func (*FixedString) Decode

func (col *FixedString) Decode(decoder *binary.Decoder, rows int) error

func (*FixedString) Encode

func (col *FixedString) Encode(encoder *binary.Encoder) error

func (*FixedString) Row

func (col *FixedString) Row(i int, ptr bool) interface{}

func (*FixedString) Rows

func (col *FixedString) Rows() int

func (*FixedString) ScanRow

func (col *FixedString) ScanRow(dest interface{}, row int) error

func (*FixedString) ScanType

func (col *FixedString) ScanType() reflect.Type

func (*FixedString) Type

func (col *FixedString) Type() Type

type Float32

type Float32 []float32

func (*Float32) Append

func (col *Float32) Append(v interface{}) (nulls []uint8, err error)

func (*Float32) AppendRow

func (col *Float32) AppendRow(v interface{}) error

func (*Float32) Decode

func (col *Float32) Decode(decoder *binary.Decoder, rows int) error

func (*Float32) Encode

func (col *Float32) Encode(encoder *binary.Encoder) error

func (*Float32) Row

func (col *Float32) Row(i int, ptr bool) interface{}

func (*Float32) Rows

func (col *Float32) Rows() int

func (*Float32) ScanRow

func (col *Float32) ScanRow(dest interface{}, row int) error

func (*Float32) ScanType

func (col *Float32) ScanType() reflect.Type

func (*Float32) Type

func (col *Float32) Type() Type

type Float64

type Float64 []float64

func (*Float64) Append

func (col *Float64) Append(v interface{}) (nulls []uint8, err error)

func (*Float64) AppendRow

func (col *Float64) AppendRow(v interface{}) error

func (*Float64) Decode

func (col *Float64) Decode(decoder *binary.Decoder, rows int) error

func (*Float64) Encode

func (col *Float64) Encode(encoder *binary.Encoder) error

func (*Float64) Row

func (col *Float64) Row(i int, ptr bool) interface{}

func (*Float64) Rows

func (col *Float64) Rows() int

func (*Float64) ScanRow

func (col *Float64) ScanRow(dest interface{}, row int) error

func (*Float64) ScanType

func (col *Float64) ScanType() reflect.Type

func (*Float64) Type

func (col *Float64) Type() Type

type IPv4

type IPv4 struct {
	// contains filtered or unexported fields
}

func (*IPv4) Append

func (col *IPv4) Append(v interface{}) (nulls []uint8, err error)

func (*IPv4) AppendRow

func (col *IPv4) AppendRow(v interface{}) error

func (*IPv4) Decode

func (col *IPv4) Decode(decoder *binary.Decoder, rows int) error

func (*IPv4) Encode

func (col *IPv4) Encode(encoder *binary.Encoder) error

func (*IPv4) Row

func (col *IPv4) Row(i int, ptr bool) interface{}

func (*IPv4) Rows

func (col *IPv4) Rows() int

func (*IPv4) ScanRow

func (col *IPv4) ScanRow(dest interface{}, row int) error

func (*IPv4) ScanType

func (col *IPv4) ScanType() reflect.Type

func (*IPv4) Type

func (col *IPv4) Type() Type

type IPv6

type IPv6 struct {
	// contains filtered or unexported fields
}

func (*IPv6) Append

func (col *IPv6) Append(v interface{}) (nulls []uint8, err error)

func (*IPv6) AppendRow

func (col *IPv6) AppendRow(v interface{}) error

func (*IPv6) Decode

func (col *IPv6) Decode(decoder *binary.Decoder, rows int) error

func (*IPv6) Encode

func (col *IPv6) Encode(encoder *binary.Encoder) error

func (*IPv6) Row

func (col *IPv6) Row(i int, ptr bool) interface{}

func (*IPv6) Rows

func (col *IPv6) Rows() int

func (*IPv6) ScanRow

func (col *IPv6) ScanRow(dest interface{}, row int) error

func (*IPv6) ScanType

func (col *IPv6) ScanType() reflect.Type

func (*IPv6) Type

func (col *IPv6) Type() Type

type Int16

type Int16 []int16

func (*Int16) Append

func (col *Int16) Append(v interface{}) (nulls []uint8, err error)

func (*Int16) AppendRow

func (col *Int16) AppendRow(v interface{}) error

func (*Int16) Decode

func (col *Int16) Decode(decoder *binary.Decoder, rows int) error

func (*Int16) Encode

func (col *Int16) Encode(encoder *binary.Encoder) error

func (*Int16) Row

func (col *Int16) Row(i int, ptr bool) interface{}

func (*Int16) Rows

func (col *Int16) Rows() int

func (*Int16) ScanRow

func (col *Int16) ScanRow(dest interface{}, row int) error

func (*Int16) ScanType

func (col *Int16) ScanType() reflect.Type

func (*Int16) Type

func (col *Int16) Type() Type

type Int32

type Int32 []int32

func (*Int32) Append

func (col *Int32) Append(v interface{}) (nulls []uint8, err error)

func (*Int32) AppendRow

func (col *Int32) AppendRow(v interface{}) error

func (*Int32) Decode

func (col *Int32) Decode(decoder *binary.Decoder, rows int) error

func (*Int32) Encode

func (col *Int32) Encode(encoder *binary.Encoder) error

func (*Int32) Row

func (col *Int32) Row(i int, ptr bool) interface{}

func (*Int32) Rows

func (col *Int32) Rows() int

func (*Int32) ScanRow

func (col *Int32) ScanRow(dest interface{}, row int) error

func (*Int32) ScanType

func (col *Int32) ScanType() reflect.Type

func (*Int32) Type

func (col *Int32) Type() Type

type Int64

type Int64 []int64

func (*Int64) Append

func (col *Int64) Append(v interface{}) (nulls []uint8, err error)

func (*Int64) AppendRow

func (col *Int64) AppendRow(v interface{}) error

func (*Int64) Decode

func (col *Int64) Decode(decoder *binary.Decoder, rows int) error

func (*Int64) Encode

func (col *Int64) Encode(encoder *binary.Encoder) error

func (*Int64) Row

func (col *Int64) Row(i int, ptr bool) interface{}

func (*Int64) Rows

func (col *Int64) Rows() int

func (*Int64) ScanRow

func (col *Int64) ScanRow(dest interface{}, row int) error

func (*Int64) ScanType

func (col *Int64) ScanType() reflect.Type

func (*Int64) Type

func (col *Int64) Type() Type

type Int8

type Int8 []int8

func (*Int8) Append

func (col *Int8) Append(v interface{}) (nulls []uint8, err error)

func (*Int8) AppendRow

func (col *Int8) AppendRow(v interface{}) error

func (*Int8) Decode

func (col *Int8) Decode(decoder *binary.Decoder, rows int) error

func (*Int8) Encode

func (col *Int8) Encode(encoder *binary.Encoder) error

func (*Int8) Row

func (col *Int8) Row(i int, ptr bool) interface{}

func (*Int8) Rows

func (col *Int8) Rows() int

func (*Int8) ScanRow

func (col *Int8) ScanRow(dest interface{}, row int) error

func (*Int8) ScanType

func (col *Int8) ScanType() reflect.Type

func (*Int8) Type

func (col *Int8) Type() Type

type Interface

type Interface interface {
	Type() Type
	Rows() int
	Row(i int, ptr bool) interface{}
	ScanRow(dest interface{}, row int) error
	Append(v interface{}) (nulls []uint8, err error)
	AppendRow(v interface{}) error
	Decode(decoder *binary.Decoder, rows int) error
	Encode(*binary.Encoder) error
	ScanType() reflect.Type
}

func Enum

func Enum(chType Type) (Interface, error)

type Interval

type Interval struct {
	// contains filtered or unexported fields
}

func (Interval) Append

func (Interval) Append(interface{}) ([]uint8, error)

func (Interval) AppendRow

func (Interval) AppendRow(interface{}) error

func (*Interval) Decode

func (col *Interval) Decode(decoder *binary.Decoder, rows int) error

func (Interval) Encode

func (Interval) Encode(*binary.Encoder) error

func (*Interval) Row

func (col *Interval) Row(i int, ptr bool) interface{}

func (*Interval) Rows

func (col *Interval) Rows() int

func (*Interval) ScanRow

func (col *Interval) ScanRow(dest interface{}, row int) error

func (*Interval) ScanType

func (col *Interval) ScanType() reflect.Type

func (*Interval) Type

func (col *Interval) 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) Append

func (col *LowCardinality) Append(v interface{}) (nulls []uint8, err error)

func (*LowCardinality) AppendRow

func (col *LowCardinality) AppendRow(v interface{}) error

func (*LowCardinality) Decode

func (col *LowCardinality) Decode(decoder *binary.Decoder, rows int) error

func (*LowCardinality) Encode

func (col *LowCardinality) Encode(encoder *binary.Encoder) error

func (*LowCardinality) ReadStatePrefix

func (col *LowCardinality) ReadStatePrefix(decoder *binary.Decoder) error

func (*LowCardinality) Row

func (col *LowCardinality) Row(i int, ptr bool) interface{}

func (*LowCardinality) Rows

func (col *LowCardinality) Rows() int

func (*LowCardinality) ScanRow

func (col *LowCardinality) ScanRow(dest interface{}, row int) error

func (*LowCardinality) ScanType

func (col *LowCardinality) ScanType() reflect.Type

func (*LowCardinality) Type

func (col *LowCardinality) Type() Type

func (*LowCardinality) WriteStatePrefix

func (col *LowCardinality) WriteStatePrefix(encoder *binary.Encoder) error

type Map

type Map struct {
	// contains filtered or unexported fields
}

https://github.com/ClickHouse/ClickHouse/blob/master/src/Columns/ColumnMap.cpp

func (*Map) Append

func (col *Map) Append(v interface{}) (nulls []uint8, err error)

func (*Map) AppendRow

func (col *Map) AppendRow(v interface{}) error

func (*Map) Decode

func (col *Map) Decode(decoder *binary.Decoder, rows int) error

func (*Map) Encode

func (col *Map) Encode(encoder *binary.Encoder) error

func (*Map) ReadStatePrefix

func (col *Map) ReadStatePrefix(decoder *binary.Decoder) error

func (*Map) Row

func (col *Map) Row(i int, ptr bool) interface{}

func (*Map) Rows

func (col *Map) Rows() int

func (*Map) ScanRow

func (col *Map) ScanRow(dest interface{}, i int) error

func (*Map) ScanType

func (col *Map) ScanType() reflect.Type

func (*Map) Type

func (col *Map) Type() Type

func (*Map) WriteStatePrefix

func (col *Map) WriteStatePrefix(encoder *binary.Encoder) error

type MultiPolygon

type MultiPolygon struct {
	// contains filtered or unexported fields
}

func (*MultiPolygon) Append

func (col *MultiPolygon) Append(v interface{}) (nulls []uint8, err error)

func (*MultiPolygon) AppendRow

func (col *MultiPolygon) AppendRow(v interface{}) error

func (*MultiPolygon) Decode

func (col *MultiPolygon) Decode(decoder *binary.Decoder, rows int) error

func (*MultiPolygon) Encode

func (col *MultiPolygon) Encode(encoder *binary.Encoder) error

func (*MultiPolygon) Row

func (col *MultiPolygon) Row(i int, ptr bool) interface{}

func (*MultiPolygon) Rows

func (col *MultiPolygon) Rows() int

func (*MultiPolygon) ScanRow

func (col *MultiPolygon) ScanRow(dest interface{}, row int) error

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
}

type Nothing

type Nothing struct{}

func (Nothing) Append

func (Nothing) Append(interface{}) ([]uint8, error)

func (Nothing) AppendRow

func (Nothing) AppendRow(interface{}) error

func (Nothing) Decode

func (Nothing) Decode(decoder *binary.Decoder, rows int) error

func (Nothing) Encode

func (Nothing) Encode(*binary.Encoder) error

func (Nothing) Row

func (Nothing) Row(int, bool) interface{}

func (Nothing) Rows

func (Nothing) Rows() int

func (Nothing) ScanRow

func (Nothing) ScanRow(interface{}, int) error

func (Nothing) ScanType

func (Nothing) ScanType() reflect.Type

func (Nothing) Type

func (Nothing) Type() Type

type Nullable

type Nullable struct {
	// contains filtered or unexported fields
}

func (*Nullable) Append

func (col *Nullable) Append(v interface{}) ([]uint8, error)

func (*Nullable) AppendRow

func (col *Nullable) AppendRow(v interface{}) error

func (*Nullable) Base

func (col *Nullable) Base() Interface

func (*Nullable) Decode

func (col *Nullable) Decode(decoder *binary.Decoder, rows int) (err error)

func (*Nullable) Encode

func (col *Nullable) Encode(encoder *binary.Encoder) error

func (*Nullable) Row

func (col *Nullable) Row(i int, ptr bool) interface{}

func (*Nullable) Rows

func (col *Nullable) Rows() int

func (*Nullable) ScanRow

func (col *Nullable) ScanRow(dest interface{}, row int) error

func (*Nullable) ScanType

func (col *Nullable) ScanType() reflect.Type

func (*Nullable) Type

func (col *Nullable) Type() Type

type Point

type Point struct {
	// contains filtered or unexported fields
}

func (*Point) Append

func (col *Point) Append(v interface{}) (nulls []uint8, err error)

func (*Point) AppendRow

func (col *Point) AppendRow(v interface{}) error

func (*Point) Decode

func (col *Point) Decode(decoder *binary.Decoder, rows int) error

func (*Point) Encode

func (col *Point) Encode(encoder *binary.Encoder) error

func (*Point) Row

func (col *Point) Row(i int, ptr bool) interface{}

func (*Point) Rows

func (col *Point) Rows() int

func (*Point) ScanRow

func (col *Point) ScanRow(dest interface{}, row int) error

func (*Point) ScanType

func (col *Point) ScanType() reflect.Type

func (*Point) Type

func (col *Point) Type() Type

type Polygon

type Polygon struct {
	// contains filtered or unexported fields
}

func (*Polygon) Append

func (col *Polygon) Append(v interface{}) (nulls []uint8, err error)

func (*Polygon) AppendRow

func (col *Polygon) AppendRow(v interface{}) error

func (*Polygon) Decode

func (col *Polygon) Decode(decoder *binary.Decoder, rows int) error

func (*Polygon) Encode

func (col *Polygon) Encode(encoder *binary.Encoder) error

func (*Polygon) Row

func (col *Polygon) Row(i int, ptr bool) interface{}

func (*Polygon) Rows

func (col *Polygon) Rows() int

func (*Polygon) ScanRow

func (col *Polygon) ScanRow(dest interface{}, row int) error

func (*Polygon) ScanType

func (col *Polygon) ScanType() reflect.Type

func (*Polygon) Type

func (col *Polygon) Type() Type

type Ring

type Ring struct {
	// contains filtered or unexported fields
}

func (*Ring) Append

func (col *Ring) Append(v interface{}) (nulls []uint8, err error)

func (*Ring) AppendRow

func (col *Ring) AppendRow(v interface{}) error

func (*Ring) Decode

func (col *Ring) Decode(decoder *binary.Decoder, rows int) error

func (*Ring) Encode

func (col *Ring) Encode(encoder *binary.Encoder) error

func (*Ring) Row

func (col *Ring) Row(i int, ptr bool) interface{}

func (*Ring) Rows

func (col *Ring) Rows() int

func (*Ring) ScanRow

func (col *Ring) ScanRow(dest interface{}, row int) error

func (*Ring) ScanType

func (col *Ring) ScanType() reflect.Type

func (*Ring) Type

func (col *Ring) Type() Type

type SimpleAggregateFunction

type SimpleAggregateFunction struct {
	// contains filtered or unexported fields
}

func (*SimpleAggregateFunction) Append

func (col *SimpleAggregateFunction) Append(v interface{}) ([]uint8, error)

func (*SimpleAggregateFunction) AppendRow

func (col *SimpleAggregateFunction) AppendRow(v interface{}) error

func (*SimpleAggregateFunction) Decode

func (col *SimpleAggregateFunction) Decode(decoder *binary.Decoder, rows int) error

func (*SimpleAggregateFunction) Encode

func (col *SimpleAggregateFunction) Encode(encoder *binary.Encoder) error

func (*SimpleAggregateFunction) Row

func (col *SimpleAggregateFunction) Row(i int, ptr bool) interface{}

func (*SimpleAggregateFunction) Rows

func (col *SimpleAggregateFunction) Rows() int

func (*SimpleAggregateFunction) ScanRow

func (col *SimpleAggregateFunction) ScanRow(dest interface{}, rows int) error

func (*SimpleAggregateFunction) ScanType

func (col *SimpleAggregateFunction) ScanType() reflect.Type

func (*SimpleAggregateFunction) Type

func (col *SimpleAggregateFunction) Type() Type

type String

type String []string

func (*String) Append

func (col *String) Append(v interface{}) (nulls []uint8, err error)

func (*String) AppendRow

func (col *String) AppendRow(v interface{}) error

func (*String) Decode

func (col *String) Decode(decoder *binary.Decoder, rows int) error

func (*String) Encode

func (col *String) Encode(encoder *binary.Encoder) error

func (*String) Row

func (col *String) Row(i int, ptr bool) interface{}

func (*String) Rows

func (col *String) Rows() int

func (*String) ScanRow

func (col *String) ScanRow(dest interface{}, row int) error

func (String) ScanType

func (String) ScanType() reflect.Type

func (String) Type

func (String) Type() Type

type Tuple

type Tuple struct {
	// contains filtered or unexported fields
}

func (*Tuple) Append

func (col *Tuple) Append(v interface{}) (nulls []uint8, err error)

func (*Tuple) AppendRow

func (col *Tuple) AppendRow(v interface{}) error

func (*Tuple) Decode

func (col *Tuple) Decode(decoder *binary.Decoder, rows int) error

func (*Tuple) Encode

func (col *Tuple) Encode(encoder *binary.Encoder) error

func (*Tuple) ReadStatePrefix

func (col *Tuple) ReadStatePrefix(decoder *binary.Decoder) error

func (*Tuple) Row

func (col *Tuple) Row(i int, ptr bool) interface{}

func (*Tuple) Rows

func (col *Tuple) Rows() int

func (*Tuple) ScanRow

func (col *Tuple) ScanRow(dest interface{}, row int) error

func (Tuple) ScanType

func (Tuple) ScanType() reflect.Type

func (*Tuple) Type

func (col *Tuple) Type() Type

func (*Tuple) WriteStatePrefix

func (col *Tuple) WriteStatePrefix(encoder *binary.Encoder) error

type Type

type Type string

func (Type) Column

func (t Type) Column() (Interface, error)

type UInt16

type UInt16 []uint16

func (*UInt16) Append

func (col *UInt16) Append(v interface{}) (nulls []uint8, err error)

func (*UInt16) AppendRow

func (col *UInt16) AppendRow(v interface{}) error

func (*UInt16) Decode

func (col *UInt16) Decode(decoder *binary.Decoder, rows int) error

func (*UInt16) Encode

func (col *UInt16) Encode(encoder *binary.Encoder) error

func (*UInt16) Row

func (col *UInt16) Row(i int, ptr bool) interface{}

func (*UInt16) Rows

func (col *UInt16) Rows() int

func (*UInt16) ScanRow

func (col *UInt16) ScanRow(dest interface{}, row int) error

func (*UInt16) ScanType

func (col *UInt16) ScanType() reflect.Type

func (*UInt16) Type

func (col *UInt16) Type() Type

type UInt32

type UInt32 []uint32

func (*UInt32) Append

func (col *UInt32) Append(v interface{}) (nulls []uint8, err error)

func (*UInt32) AppendRow

func (col *UInt32) AppendRow(v interface{}) error

func (*UInt32) Decode

func (col *UInt32) Decode(decoder *binary.Decoder, rows int) error

func (*UInt32) Encode

func (col *UInt32) Encode(encoder *binary.Encoder) error

func (*UInt32) Row

func (col *UInt32) Row(i int, ptr bool) interface{}

func (*UInt32) Rows

func (col *UInt32) Rows() int

func (*UInt32) ScanRow

func (col *UInt32) ScanRow(dest interface{}, row int) error

func (*UInt32) ScanType

func (col *UInt32) ScanType() reflect.Type

func (*UInt32) Type

func (col *UInt32) Type() Type

type UInt64

type UInt64 []uint64

func (*UInt64) Append

func (col *UInt64) Append(v interface{}) (nulls []uint8, err error)

func (*UInt64) AppendRow

func (col *UInt64) AppendRow(v interface{}) error

func (*UInt64) Decode

func (col *UInt64) Decode(decoder *binary.Decoder, rows int) error

func (*UInt64) Encode

func (col *UInt64) Encode(encoder *binary.Encoder) error

func (*UInt64) Row

func (col *UInt64) Row(i int, ptr bool) interface{}

func (*UInt64) Rows

func (col *UInt64) Rows() int

func (*UInt64) ScanRow

func (col *UInt64) ScanRow(dest interface{}, row int) error

func (*UInt64) ScanType

func (col *UInt64) ScanType() reflect.Type

func (*UInt64) Type

func (col *UInt64) Type() Type

type UInt8

type UInt8 []uint8

func (*UInt8) Append

func (col *UInt8) Append(v interface{}) (nulls []uint8, err error)

func (*UInt8) AppendRow

func (col *UInt8) AppendRow(v interface{}) error

func (*UInt8) Decode

func (col *UInt8) Decode(decoder *binary.Decoder, rows int) error

func (*UInt8) Encode

func (col *UInt8) Encode(encoder *binary.Encoder) error

func (*UInt8) Row

func (col *UInt8) Row(i int, ptr bool) interface{}

func (*UInt8) Rows

func (col *UInt8) Rows() int

func (*UInt8) ScanRow

func (col *UInt8) ScanRow(dest interface{}, row int) error

func (*UInt8) ScanType

func (col *UInt8) ScanType() reflect.Type

func (*UInt8) Type

func (col *UInt8) Type() Type

type UUID

type UUID struct {
	// contains filtered or unexported fields
}

func (*UUID) Append

func (col *UUID) Append(v interface{}) (nulls []uint8, err error)

func (*UUID) AppendRow

func (col *UUID) AppendRow(v interface{}) error

func (*UUID) Decode

func (col *UUID) Decode(decoder *binary.Decoder, rows int) error

func (*UUID) Encode

func (col *UUID) Encode(encoder *binary.Encoder) error

func (*UUID) Row

func (col *UUID) Row(i int, ptr bool) interface{}

func (*UUID) Rows

func (col *UUID) Rows() int

func (*UUID) ScanRow

func (col *UUID) ScanRow(dest interface{}, row int) error

func (*UUID) ScanType

func (col *UUID) ScanType() reflect.Type

func (*UUID) Type

func (col *UUID) Type() Type

type UnsupportedColumnTypeError added in v2.0.10

type UnsupportedColumnTypeError struct {
	// contains filtered or unexported fields
}

func (*UnsupportedColumnTypeError) Error added in v2.0.10

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL