Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultInsertDurationTimeout ¶ added in v3.0.7
GetDefaultInsertDurationTimeout to get away from this decision in the near future
func IsResendAvailable ¶ added in v3.0.7
IsResendAvailable checks whether it is possible to resend undelivered messages to the Clickhouse database based on the error received from Clickhouse
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 ¶
Clickhouse base interface, which is inherited by the top-level Client API and further by all its child Writer-s
type Logger ¶
type Logger interface { Log(message interface{}) Logf(format string, v ...interface{}) }
func NewDefaultLogger ¶
func NewDefaultLogger() Logger
type Vector ¶
type Vector []interface{}
Vector basic structure for writing to is nothing more than a slice of undefined interfaces
type VectorDecoded ¶
type VectorDecoded string
VectorDecoded a type that is a string, but contains a binary data format
func (VectorDecoded) Decode ¶
func (d VectorDecoded) Decode() (Vector, error)
Decode 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