Documentation
¶
Index ¶
- func GetDefaultConnMaxLifetime() time.Duration
- func GetDefaultInsertDurationTimeout() time.Duration
- func GetDefaultMaxIdleConns() int
- func GetDefaultMaxOpenConns() int
- func IsResendAvailable(err error) bool
- type Batch
- type Buffer
- type Clickhouse
- type Logger
- type Vector
- type VectorDecoded
- type Vectorable
- type View
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultConnMaxLifetime ¶ added in v3.0.7
func GetDefaultInsertDurationTimeout ¶ added in v3.0.7
func GetDefaultMaxIdleConns ¶ added in v3.0.7
func GetDefaultMaxIdleConns() int
func GetDefaultMaxOpenConns ¶ added in v3.0.7
func GetDefaultMaxOpenConns() int
func IsResendAvailable ¶ added in v3.0.7
Types ¶
type Batch ¶
type Batch struct {
// contains filtered or unexported fields
}
Batch holds information for sending rows batch
type Buffer ¶
Buffer it is the interface for creating a data buffer (temporary storage). It is enough to implement this interface so that you can use your own temporary storage
type Clickhouse ¶
type Logger ¶
type Logger interface {
Log(message interface{})
Logf(format string, v ...interface{})
}
func NewDefaultLogger ¶
func NewDefaultLogger() Logger
type VectorDecoded ¶
type VectorDecoded string
func (VectorDecoded) Decode ¶
func (d VectorDecoded) Decode() (Vector, error)
Decode This method is required to reverse deserialize an array of bytes in a Vector type
type Vectorable ¶
type Vectorable interface {
Row() Vector
}
Vectorable interface is an assistant in the correct formation of the order of fields in the data before sending it to Clickhouse
Click to show internal directories.
Click to hide internal directories.