Versions in this module Expand all Collapse all v1 v1.0.0 Apr 24, 2024 Changes in this version + const KerberosEnabledConfig + const SSLCertPathConfig + var DefaultCancelQueryTimeout = 30 * time.Second + var DefaultQueryTimeout = 60 * time.Second + var ErrOperationNotSupported = errors.New("presto: operation not supported") + var ErrQueryCancelled = errors.New("presto: query cancelled") + func DeregisterCustomClient(key string) + func RegisterCustomClient(key string, client *http.Client) error + func Serial(v interface{}) (string, error) + type Config struct + Catalog string + CustomClientName string + KerberosConfigPath string + KerberosEnabled string + KerberosKeytabPath string + KerberosPrincipal string + KerberosRealm string + PrestoURI string + SSLCertPath string + Schema string + SessionProperties map[string]string + Source string + func (c *Config) FormatDSN() (string, error) + type Conn struct + func (c *Conn) Begin() (driver.Tx, error) + func (c *Conn) BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, error) + func (c *Conn) Close() error + func (c *Conn) Prepare(query string) (driver.Stmt, error) + func (c *Conn) PrepareContext(ctx context.Context, query string) (driver.Stmt, error) + type EOF struct + QueryID string + func (e *EOF) Error() string + type ErrQueryFailed struct + Reason error + StatusCode int + func (e *ErrQueryFailed) Error() string + type NullMap struct + Map map[string]interface{} + Valid bool + func (m *NullMap) Scan(v interface{}) error + type NullSlice2Bool struct + Slice2Bool [][]sql.NullBool + Valid bool + func (s *NullSlice2Bool) Scan(value interface{}) error + type NullSlice2Float64 struct + Slice2Float64 [][]sql.NullFloat64 + Valid bool + func (s *NullSlice2Float64) Scan(value interface{}) error + type NullSlice2Int64 struct + Slice2Int64 [][]sql.NullInt64 + Valid bool + func (s *NullSlice2Int64) Scan(value interface{}) error + type NullSlice2Map struct + Slice2Map [][]NullMap + Valid bool + func (s *NullSlice2Map) Scan(value interface{}) error + type NullSlice2String struct + Slice2String [][]sql.NullString + Valid bool + func (s *NullSlice2String) Scan(value interface{}) error + type NullSlice2Time struct + Slice2Time [][]NullTime + Valid bool + func (s *NullSlice2Time) Scan(value interface{}) error + type NullSlice3Bool struct + Slice3Bool [][][]sql.NullBool + Valid bool + func (s *NullSlice3Bool) Scan(value interface{}) error + type NullSlice3Float64 struct + Slice3Float64 [][][]sql.NullFloat64 + Valid bool + func (s *NullSlice3Float64) Scan(value interface{}) error + type NullSlice3Int64 struct + Slice3Int64 [][][]sql.NullInt64 + Valid bool + func (s *NullSlice3Int64) Scan(value interface{}) error + type NullSlice3Map struct + Slice3Map [][][]NullMap + Valid bool + func (s *NullSlice3Map) Scan(value interface{}) error + type NullSlice3String struct + Slice3String [][][]sql.NullString + Valid bool + func (s *NullSlice3String) Scan(value interface{}) error + type NullSlice3Time struct + Slice3Time [][][]NullTime + Valid bool + func (s *NullSlice3Time) Scan(value interface{}) error + type NullSliceBool struct + SliceBool []sql.NullBool + Valid bool + func (s *NullSliceBool) Scan(value interface{}) error + type NullSliceFloat64 struct + SliceFloat64 []sql.NullFloat64 + Valid bool + func (s *NullSliceFloat64) Scan(value interface{}) error + type NullSliceInt64 struct + SliceInt64 []sql.NullInt64 + Valid bool + func (s *NullSliceInt64) Scan(value interface{}) error + type NullSliceMap struct + SliceMap []NullMap + Valid bool + func (s *NullSliceMap) Scan(value interface{}) error + type NullSliceString struct + SliceString []sql.NullString + Valid bool + func (s *NullSliceString) Scan(value interface{}) error + type NullSliceTime struct + SliceTime []NullTime + Valid bool + func (s *NullSliceTime) Scan(value interface{}) error + type NullTime struct + Time time.Time + Valid bool + func (s *NullTime) Scan(value interface{}) error + type Numeric string + type UnsupportedArgError struct + func (e UnsupportedArgError) Error() string