Documentation ¶
Index ¶
- Constants
- type Block
- func (block *Block) AppendRow(args []driver.Value) error
- func (block *Block) ColumnNames() []string
- func (block *Block) Copy() *Block
- func (block *Block) Read(serverInfo *ServerInfo, decoder *binary.Decoder) (err error)
- func (block *Block) Reserve()
- func (block *Block) Reset()
- func (block *Block) Write(serverInfo *ServerInfo, encoder *binary.Encoder) error
- func (block *Block) WriteArray(c int, v *types.Array) error
- func (block *Block) WriteBytes(c int, v []byte) error
- func (block *Block) WriteDate(c int, v time.Time) error
- func (block *Block) WriteDateTime(c int, v time.Time) error
- func (block *Block) WriteFixedString(c int, v []byte) error
- func (block *Block) WriteFloat32(c int, v float32) error
- func (block *Block) WriteFloat64(c int, v float64) error
- func (block *Block) WriteString(c int, v string) error
- func (block *Block) WriteUInt16(c int, v uint16) error
- func (block *Block) WriteUInt32(c int, v uint32) error
- func (block *Block) WriteUInt64(c int, v uint64) error
- func (block *Block) WriteUInt8(c int, v uint8) error
- type ClientInfo
- type ServerInfo
Constants ¶
View Source
const ( ClickHouseRevision = 54213 ClickHouseDBMSVersionMajor = 1 ClickHouseDBMSVersionMinor = 1 )
View Source
const ClientName = "Golang SQLDriver"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Values [][]interface{} Columns []column.Column NumRows uint64 NumColumns uint64 // contains filtered or unexported fields }
func (*Block) ColumnNames ¶
func (*Block) Read ¶
func (block *Block) Read(serverInfo *ServerInfo, decoder *binary.Decoder) (err error)
type ClientInfo ¶
type ClientInfo struct{}
func (ClientInfo) String ¶
func (ClientInfo) String() string
Click to show internal directories.
Click to hide internal directories.