Documentation
¶
Index ¶
Constants ¶
View Source
const DataTypeBigDecimal = 4
View Source
const DataTypeBigInt = 2
View Source
const DataTypeDecimal = 3
View Source
const DataTypeInt = 1
View Source
const DataTypeTimestamp = 6
View Source
const DataTypeVarChar = 5
View Source
const TableOperationCreateIfNotExists = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbWriter ¶
type DbWriter struct {
// contains filtered or unexported fields
}
func CreateDbWriter ¶
type InsertDataOperation ¶
type InsertDataOperation struct {
Context *TableContext
Data any
InsertArgFactoryFn tracking.InsertArgFactoryFunc
}
type Request ¶
type Request struct {
TableOperation
InsertDataOperation
ResponseCh chan Response
// contains filtered or unexported fields
}
type Response ¶
type Response struct {
Error error
Context *TableContext
QueuedForRetry bool
}
type RetryableError ¶
func NewRetryableError ¶
func NewRetryableError(message string, err error) *RetryableError
func (*RetryableError) Error ¶
func (e *RetryableError) Error() string
func (*RetryableError) Unwrap ¶
func (e *RetryableError) Unwrap() error
type TableContext ¶
type TableContext struct {
// contains filtered or unexported fields
}
type TableOperation ¶
Click to show internal directories.
Click to hide internal directories.