ydb

package
v0.0.0-rc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KafkaTypeToOriginalTypeToFieldReceiverFunc = map[debeziumcommon.KafkaType]map[string]debeziumcommon.FieldReceiver{
	debeziumcommon.KafkaTypeInt8: {
		"ydb:Uint8": new(debeziumcommon.Int8ToUint8Default),
	},
	debeziumcommon.KafkaTypeInt16: {
		"ydb:Uint16": new(debeziumcommon.Int16ToUint16Default),
	},
	debeziumcommon.KafkaTypeInt32: {
		"ydb:Uint32": new(debeziumcommon.IntToUint32Default),
		"ydb:Date":   new(Date),
	},
	debeziumcommon.KafkaTypeInt64: {
		"ydb:Uint64":    new(debeziumcommon.Int64ToUint64Default),
		"ydb:Datetime":  new(Datetime),
		"ydb:Timestamp": new(Timestamp),
		"ydb:Interval":  new(Interval),
	},
	debeziumcommon.KafkaTypeFloat32: {
		"ydb:Float": new(debeziumcommon.Float64ToFloat32Default),
	},
	debeziumcommon.KafkaTypeString: {
		"ydb:Json":         new(JSON),
		"ydb:JsonDocument": new(JSON),
	},
}

Functions

func AddYDB

func AddYDB(v *debeziumcommon.Values, colName string, colVal interface{}, colType string, connectorParameters map[string]string) error

func GetKafkaTypeDescrByYDBType

func GetKafkaTypeDescrByYDBType(typeName string) (*debeziumcommon.KafkaTypeDescr, error)

Types

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL