Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientTunnel ¶
type ClientTunnel struct {
// contains filtered or unexported fields
}
ClientTunnel is an implementation of Tunnel that will return results from the cluster to the end client.
func NewClientTunnel ¶
func NewClientTunnel(clientConn *pgproto.Backend, extendedQueryMode bool) *ClientTunnel
NewClientTunnel creates a new client to return results to a client.
func (*ClientTunnel) SendMessage ¶
func (t *ClientTunnel) SendMessage(msg pgproto.BackendMessage) error
SendMessage will take the provided message and pass it to the client. It will only send row descriptions once, and only if the tunnel is not in extended query mode.
type Executor ¶
type Executor interface { SetExtendedQueryMode(extended bool) Execute(plan plan.ExecutionPlan) error }
type Tunnel ¶
type Tunnel interface {
SendMessage(msg pgproto.BackendMessage) error
}
Tunnel is an interface used to receive and handle result data from the data node shard. When a query is executed, the response messages are piped into the provided tunnel.
Click to show internal directories.
Click to hide internal directories.