Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelBuilder ¶
type ChannelBuilder struct { Scheme string Host string Port int Path string Query string Token string User string Headers map[string]string }
The ChannelBuilder is used to parse the different parameters of the connection string according to the specification documented here:
https://github.com/apache/spark/blob/master/connector/connect/docs/client-connection-string.md
func NewBuilder ¶
func NewBuilder(connection string) (*ChannelBuilder, error)
Creates a new instance of the ChannelBuilder. This constructor effectively parses the connection string and extracts the relevant parameters directly.
func (*ChannelBuilder) Build ¶
func (cb *ChannelBuilder) Build() (*grpc.ClientConn, error)
Click to show internal directories.
Click to hide internal directories.