Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_FETCH_SIZE int64 = 1000
View Source
const DEFAULT_MAX_LENGTH = 16384000
View Source
const ZOOKEEPER_DEFAULT_NAMESPACE = "hiveserver2"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func ConnectZookeeper ¶
func ConnectZookeeper(hosts, auth string, configuration *ConnectionConfiguration) (conn *Connection, err error)
type ConnectionConfiguration ¶
type ConnectionConfiguration struct { Username string Principal string Password string Service string HiveConfiguration map[string]string PollIntervalInMS int FetchSize int64 TransportMode string HTTPPath string TLSConfig *tls.Config ZookeeperNamespace string Database string ConnectTimeout time.Duration SocketTimeout time.Duration HttpTimeout time.Duration DialContext DialContextFunc DisableKeepAlives bool MaxSize uint32 }
func NewConnectionConfiguration ¶
func NewConnectionConfiguration() *ConnectionConfiguration
type DialContextFunc ¶
Click to show internal directories.
Click to hide internal directories.