Documentation ¶
Index ¶
- Constants
- Variables
- type Array
- func (base *Array) CHType() string
- func (base *Array) Name() string
- func (array *Array) Read(decoder *binary.Decoder) (interface{}, error)
- func (array *Array) ReadArray(decoder *binary.Decoder, rows int) (_ []interface{}, err error)
- func (base *Array) ScanType() reflect.Type
- func (base *Array) String() string
- func (array *Array) Write(encoder *binary.Encoder, v interface{}) error
- type Column
- type Date
- type DateTime
- func (base *DateTime) CHType() string
- func (base *DateTime) Name() string
- func (dt *DateTime) Read(decoder *binary.Decoder) (interface{}, error)
- func (base *DateTime) ScanType() reflect.Type
- func (base *DateTime) String() string
- func (dt *DateTime) Write(encoder *binary.Encoder, v interface{}) error
- type Decimal
- type Enum
- type ErrUnexpectedType
- type FixedString
- func (base *FixedString) CHType() string
- func (base *FixedString) Name() string
- func (str *FixedString) Read(decoder *binary.Decoder) (interface{}, error)
- func (base *FixedString) ScanType() reflect.Type
- func (base *FixedString) String() string
- func (str *FixedString) Write(encoder *binary.Encoder, v interface{}) error
- type Float32
- type Float64
- type IP
- type Int16
- type Int32
- type Int64
- type Int8
- type Nullable
- func (base *Nullable) CHType() string
- func (base *Nullable) Name() string
- func (null *Nullable) Read(decoder *binary.Decoder) (interface{}, error)
- func (null *Nullable) ReadNull(decoder *binary.Decoder, rows int) (_ []interface{}, err error)
- func (null *Nullable) ScanType() reflect.Type
- func (base *Nullable) String() string
- func (null *Nullable) Write(encoder *binary.Encoder, v interface{}) error
- func (null *Nullable) WriteNull(nulls, encoder *binary.Encoder, v interface{}) error
- type String
- type UInt16
- type UInt32
- type UInt64
- type UInt8
- type UUID
Constants ¶
View Source
const UUIDLen = 16
Variables ¶
View Source
var ErrInvalidUUIDFormat = errors.New("invalid UUID format")
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array struct {
// contains filtered or unexported fields
}
type Column ¶
type Decimal ¶
type Decimal struct {
// contains filtered or unexported fields
}
Decimal represents Decimal(P, S) ClickHouse. Since there is support for int128 in Golang, the implementation does not support to 128-bits decimals as well. Decimal is represented as integral. Also floating-point types are supported for query parameters.
type ErrUnexpectedType ¶
type ErrUnexpectedType struct { Column Column T interface{} }
func (*ErrUnexpectedType) Error ¶
func (err *ErrUnexpectedType) Error() string
type FixedString ¶
type FixedString struct {
// contains filtered or unexported fields
}
type IP ¶
IP column type
func (IP) MarshalBinary ¶
type Nullable ¶
type Nullable struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.