Versions in this module Expand all Collapse all v1 v1.0.1 Oct 30, 2024 v1.0.0 Oct 10, 2024 Changes in this version + const BigintType + var EncodedFalse = proxycore.EncodeType(datatype.Boolean, primitive.ProtocolVersion4, false) + var EncodedTrue = proxycore.EncodeType(datatype.Boolean, primitive.ProtocolVersion4, true) + var ListBigintCassandraType = datatype.NewListType(datatype.Bigint) + var ListBlobCassandraType = datatype.NewListType(datatype.Blob) + var ListBooleanCassandraType = datatype.NewListType(datatype.Boolean) + var ListDateCassandraType = datatype.NewListType(datatype.Date) + var ListDoubleCassandraType = datatype.NewListType(datatype.Double) + var ListFloatCassandraType = datatype.NewListType(datatype.Float) + var ListIntCassandraType = datatype.NewListType(datatype.Int) + var ListTextCassandraType = datatype.NewListType(datatype.Varchar) + var ListTimestampCassandraType = datatype.NewListType(datatype.Timestamp) + var MapBigintCassandraType = datatype.NewMapType(datatype.Varchar, datatype.Bigint) + var MapBlobCassandraType = datatype.NewMapType(datatype.Varchar, datatype.Blob) + var MapBooleanCassandraType = datatype.NewMapType(datatype.Varchar, datatype.Boolean) + var MapDateCassandraType = datatype.NewMapType(datatype.Varchar, datatype.Date) + var MapDoubleCassandraType = datatype.NewMapType(datatype.Varchar, datatype.Double) + var MapIntCassandraType = datatype.NewMapType(datatype.Varchar, datatype.Int) + var MapTextCassandraType = datatype.NewMapType(datatype.Varchar, datatype.Varchar) + var MapTimestampCassandraType = datatype.NewMapType(datatype.Varchar, datatype.Timestamp) + var SetBigintCassandraType = datatype.NewSetType(datatype.Bigint) + var SetBlobCassandraType = datatype.NewSetType(datatype.Blob) + var SetBooleanCassandraType = datatype.NewSetType(datatype.Boolean) + var SetDateCassandraType = datatype.NewSetType(datatype.Date) + var SetDoubleCassandraType = datatype.NewSetType(datatype.Double) + var SetFloatCassandraType = datatype.NewSetType(datatype.Float) + var SetIntCassandraType = datatype.NewSetType(datatype.Int) + var SetTextCassandraType = datatype.NewSetType(datatype.Varchar) + var SetTimestampCassandraType = datatype.NewSetType(datatype.Timestamp) + func AddSecondsToCurrentTimestamp(seconds int64) string + func DecodeBytesToSpannerColumnType(b []byte, choice datatype.DataType, protocolVersion primitive.ProtocolVersion) (interface{}, error) + func ExtractAfterWhere(sqlQuery string) (string, error) + func FlattenTableName(keyspaceFlatter bool, keyspace string, tableName string) string + func FormatTimestamp(ts int64) (*time.Time, error) + func GetCassandraColumnType(choice string) (datatype.DataType, error) + func GetSpannerColumnType(cqlType string) string + func KeyExistsInList(key string, list []string) bool + func ParseDurationToSeconds(duration string) (int64, error) + func SetupLogger(logLevel string, loggerConfig *LoggerConfig) (*zap.Logger, error) + func TypeConversion(s interface{}, protocalV primitive.ProtocolVersion) ([]byte, error) + type ExecuteOptions struct + MaxStaleness int64 + type LoggerConfig struct + Compress bool + Filename string + MaxAge int + MaxBackups int + MaxSize int + OutputType string