databricks

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type CredentialsT

type CredentialsT struct {
	Host            string
	Port            string
	Path            string
	Token           string
	Schema          string
	SparkServerType string
	AuthMech        string
	UID             string
	ThriftTransport string
	SSL             string
	UserAgentEntry  string
}

type DBHandleT

type DBHandleT struct {
	CredConfig     *proto.ConnectionConfig
	CredIdentifier string
	Context        context.Context
	Conn           *grpc.ClientConn
	Client         proto.DatabricksClient
	CloseStats     stats.Measurement
}

func (*DBHandleT) Close

func (dbT *DBHandleT) Close()

Close closes sql connection as well as closes grpc connection

Jump to

Keyboard shortcuts

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