package
0.0.0-20240426182841-905ac40a1783
Repository: https://github.com/prestodb/presto-go-client.git
Documentation: pkg.go.dev
# Functions
DeregisterCustomClient removes the client associated to the key.
RegisterCustomClient associates a client to a key in the driver's registry.
Serial converts any supported value to its equivalent string for as a presto parameter See https://prestodb.io/docs/current/language/types.html.
# Variables
DefaultCancelQueryTimeout is the timeout for the request to cancel queries in presto.
DefaultQueryTimeout is the default timeout for queries executed without a context.
ErrOperationNotSupported indicates that a database operation is not supported.
ErrQueryCancelled indicates that a query has been cancelled.
# Structs
Config is a configuration that can be encoded to a DSN string.
Conn is a presto connection.
EOF indicates the server has returned io.EOF for the given QueryID.
ErrQueryFailed indicates that a query to presto failed.
NullMap represents a map type that may be null.
NullSlice2Bool represents a two-dimensional slice of bool that may be null.
NullSlice2Float64 represents a two-dimensional slice of float64 that may be null.
NullSlice2Int64 represents a two-dimensional slice of int64 that may be null.
NullSlice2Map represents a two-dimensional slice of NullMap that may be null.
NullSlice2String represents a two-dimensional slice of string that may be null.
NullSlice2Time represents a two-dimensional slice of time.Time that may be null.
NullSlice3Bool implements a three-dimensional slice of bool that may be null.
NullSlice3Float64 represents a three-dimensional slice of float64 that may be null.
NullSlice3Int64 implements a three-dimensional slice of int64 that may be null.
NullSlice3Map represents a three-dimensional slice of NullMap that may be null.
NullSlice3String implements a three-dimensional slice of string that may be null.
NullSlice3Time represents a three-dimensional slice of time.Time that may be null.
NullSliceBool represents a slice of bool that may be null.
NullSliceFloat64 represents a slice of float64 that may be null.
NullSliceInt64 represents a slice of int64 that may be null.
NullSliceMap represents a slice of NullMap that may be null.
NullSliceString represents a slice of string that may be null.
NullSliceTime represents a slice of time.Time that may be null.
NullTime represents a time.Time value that can be null.
No description provided by the author
# Type aliases
Numeric is a string representation of a number, such as "10", "5.5" or in scientific form If another string format is used it will error to serialise.