Documentation ¶
Overview ¶
Package server containes the code base of Connector GRPC service - the component of YDB's Federated Query system providing the unified interface to the external data sources.
Index ¶
- Variables
- func NewHTTPPullerHandler(r MetricsStreamer, opts ...Option) http.Handler
- func StreamServerMetrics(registry metrics.Registry) grpc.StreamServerInterceptor
- func UnaryServerMetrics(registry metrics.Registry) grpc.UnaryServerInterceptor
- func ValidateDescribeTableRequest(logger log.Logger, request *api_service_protos.TDescribeTableRequest) error
- func ValidateListSplitsRequest(logger log.Logger, request *api_service_protos.TListSplitsRequest) error
- func ValidateReadSplitsRequest(logger log.Logger, request *api_service_protos.TReadSplitsRequest) error
- type MetricsStreamer
- type Option
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewHTTPPullerHandler ¶
func NewHTTPPullerHandler(r MetricsStreamer, opts ...Option) http.Handler
NewHTTPPullerHandler returns new HTTP handler to expose gathered metrics using metrics dumper
func StreamServerMetrics ¶
func StreamServerMetrics(registry metrics.Registry) grpc.StreamServerInterceptor
func UnaryServerMetrics ¶
func UnaryServerMetrics(registry metrics.Registry) grpc.UnaryServerInterceptor
func ValidateDescribeTableRequest ¶
func ValidateDescribeTableRequest(logger log.Logger, request *api_service_protos.TDescribeTableRequest) error
func ValidateListSplitsRequest ¶
func ValidateListSplitsRequest(logger log.Logger, request *api_service_protos.TListSplitsRequest) error
func ValidateReadSplitsRequest ¶
func ValidateReadSplitsRequest(logger log.Logger, request *api_service_protos.TReadSplitsRequest) error
Types ¶
type MetricsStreamer ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package datasource describes the interface that must be satisfied by any external data source accessible through the connector.
|
Package datasource describes the interface that must be satisfied by any external data source accessible through the connector. |
rdbms
Package rdbms contains generalized abstractions suitable for use with any relational database.
|
Package rdbms contains generalized abstractions suitable for use with any relational database. |
rdbms/clickhouse
Package clickhouse contains code specific for ClickHouse database.
|
Package clickhouse contains code specific for ClickHouse database. |
rdbms/postgresql
Package postgresql contains code specific for PostgreSQL database.
|
Package postgresql contains code specific for PostgreSQL database. |
Package paging contains logic of splitting incoming data stream into the separate pages or blocks.
|
Package paging contains logic of splitting incoming data stream into the separate pages or blocks. |
Package streaming contains the logic of converting the data stream coming from the data source into the data stream sent over the network to the client.
|
Package streaming contains the logic of converting the data stream coming from the data source into the data stream sent over the network to the client. |
Package utils contains various helpers and utility functions
|
Package utils contains various helpers and utility functions |
Click to show internal directories.
Click to hide internal directories.