protocol

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClientHello = iota
	ClientQuery
	ClientData
	ClientCancel
	ClientPing

	// Check status of tables on the server
	ClientTablesStatusRequest

	// Keep the connection alive
	ClientKeepAlive

	// A block of data (compressed or not)
	ClientScalar

	ClientHelloSignature

	ClientHelloImpersonation

	ClientQueryPlan
	ClientSystemHello = 1000
)
View Source
const (
	CompressEnable  uint64 = 1
	CompressDisable uint64 = 0
)

compress

View Source
const (
	StageFetchColumns       = 0 /// Only read/have been read the columns specified in the query.
	StageWithMergeableState = 1 /// Until the stage where the results of processing on different servers can be combined.
	StageComplete           = 2 /// Completely
)

Query Stage

View Source
const (
	NoQuery = iota /// Uninitialized object.
	InitialQuery
	SecondaryQuery /// Query that was initiated by another query for distributed or ON CLUSTER query execution.
)

Query Kind

View Source
const (
	TCP = iota + 1
	HTTP
)

Interface

View Source
const (
	VERSION_REVISION                                = 54428
	DBMS_MIN_REVISION_WITH_CLIENT_INFO              = 54032
	DBMS_MIN_REVISION_WITH_SERVER_TIMEZONE          = 54058
	DBMS_MIN_REVISION_WITH_QUOTA_KEY_IN_CLIENT_INFO = 54060
	DBMS_MIN_REVISION_WITH_SERVER_DISPLAY_NAME      = 54372
	DBMS_MIN_REVISION_WITH_VERSION_PATCH            = 54401
	DBMS_MIN_REVISION_WITH_SERVER_LOGS              = 54406
	DBMS_MIN_REVISION_WITH_COLUMN_DEFAULTS_METADATA = 54410

	DBMS_MIN_REVISION_WITH_DISK_CACHE_HIT_RATIO = 54419
)
View Source
const (
	ServerHello = iota
	ServerData
	ServerException
	ServerProgress
	ServerPong
	ServerEndOfStream
	ServerProfileInfo
	ServerTotals
	ServerExtremes
	ServerTablesStatus
	ServerLog
	ServerTableColumns
	ServerQueryPlan
	ServerAggQueryPlan
	ServerQueryMetadata
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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