trace

package
v3.155.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 10 Imported by: 20

Documentation

Index

Constants

View Source
const (
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	TopicWriterCompressMessagesReasonCompressData = TopicWriterCompressMessagesReason("compress-on-send")
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	TopicWriterCompressMessagesReasonCompressDataOnWriteReadData = TopicWriterCompressMessagesReason("compress-on-call-write") //nolint:lll
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	TopicWriterCompressMessagesReasonCodecsMeasure = TopicWriterCompressMessagesReason("compress-on-codecs-measure") //nolint:lll
)

Variables

This section is empty.

Functions

func WithDefaultDetails added in v3.11.0

func WithDefaultDetails(defaultDetails Details) matchDetailsOption

func WithPOSIXMatch added in v3.11.0

func WithPOSIXMatch() matchDetailsOption

Types

type Call added in v3.138.1

type Call interface {
	fmt.Stringer
}

Call contains Call metadata for trace hooks.

type Coordination added in v3.10.0

type Coordination struct {
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnNew func(CoordinationNewStartInfo) func(CoordinationNewDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnCreateNode func(CoordinationCreateNodeStartInfo) func(CoordinationCreateNodeDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnAlterNode func(CoordinationAlterNodeStartInfo) func(CoordinationAlterNodeDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnDropNode func(CoordinationDropNodeStartInfo) func(CoordinationDropNodeDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnDescribeNode func(CoordinationDescribeNodeStartInfo) func(CoordinationDescribeNodeDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSession func(CoordinationSessionStartInfo) func(CoordinationSessionDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnClose func(CoordinationCloseStartInfo) func(CoordinationCloseDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionNewStream func(CoordinationSessionNewStreamStartInfo) func(CoordinationSessionNewStreamDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionStarted func(CoordinationSessionStartedInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionStartTimeout func(CoordinationSessionStartTimeoutInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionKeepAliveTimeout func(CoordinationSessionKeepAliveTimeoutInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionStopped func(CoordinationSessionStoppedInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionStopTimeout func(CoordinationSessionStopTimeoutInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionClientTimeout func(CoordinationSessionClientTimeoutInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionServerExpire func(CoordinationSessionServerExpireInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionServerError func(CoordinationSessionServerErrorInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionReceive func(CoordinationSessionReceiveStartInfo) func(CoordinationSessionReceiveDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionReceiveUnexpected func(CoordinationSessionReceiveUnexpectedInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionStop func(CoordinationSessionStopInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionStart func(CoordinationSessionStartStartInfo) func(CoordinationSessionStartDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionSend func(CoordinationSessionSendStartInfo) func(CoordinationSessionSendDoneInfo)
}

Coordination specified trace of coordination client activity. gtrace:gen gtrace:out internal/coordination/gtrace

type CoordinationAlterNodeDoneInfo added in v3.60.1

type CoordinationAlterNodeDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationAlterNodeStartInfo added in v3.60.1

type CoordinationAlterNodeStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Path string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationCloseDoneInfo added in v3.61.1

type CoordinationCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationCloseStartInfo added in v3.61.1

type CoordinationCloseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationCreateNodeDoneInfo added in v3.60.1

type CoordinationCreateNodeDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationCreateNodeStartInfo added in v3.60.1

type CoordinationCreateNodeStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Path string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationDescribeNodeDoneInfo added in v3.60.1

type CoordinationDescribeNodeDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationDescribeNodeStartInfo added in v3.60.1

type CoordinationDescribeNodeStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Path string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationDropNodeDoneInfo added in v3.60.1

type CoordinationDropNodeDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationDropNodeStartInfo added in v3.60.1

type CoordinationDropNodeStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Path string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationNewDoneInfo added in v3.60.1

type CoordinationNewDoneInfo struct{}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationNewStartInfo added in v3.60.1

type CoordinationNewStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionClientTimeoutInfo added in v3.60.0

type CoordinationSessionClientTimeoutInfo struct {
	LastGoodResponseTime time.Time
	Timeout              time.Duration
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionDoneInfo added in v3.61.1

type CoordinationSessionDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionKeepAliveTimeoutInfo added in v3.60.0

type CoordinationSessionKeepAliveTimeoutInfo struct {
	LastGoodResponseTime time.Time
	Timeout              time.Duration
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionNewStreamDoneInfo added in v3.92.0

type CoordinationSessionNewStreamDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionNewStreamStartInfo added in v3.92.0

type CoordinationSessionNewStreamStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionReceiveDoneInfo added in v3.60.0

type CoordinationSessionReceiveDoneInfo struct {
	Response *Ydb_Coordination.SessionResponse
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionReceiveStartInfo added in v3.60.0

type CoordinationSessionReceiveStartInfo struct{}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionReceiveUnexpectedInfo added in v3.60.0

type CoordinationSessionReceiveUnexpectedInfo struct {
	Response *Ydb_Coordination.SessionResponse
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionSendDoneInfo added in v3.60.0

type CoordinationSessionSendDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionSendStartInfo added in v3.60.0

type CoordinationSessionSendStartInfo struct {
	Request *Ydb_Coordination.SessionRequest
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionStartDoneInfo added in v3.60.0

type CoordinationSessionStartDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionStartInfo added in v3.61.1

type CoordinationSessionStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Path string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionStartStartInfo added in v3.60.0

type CoordinationSessionStartStartInfo struct{}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionStartTimeoutInfo added in v3.60.0

type CoordinationSessionStartTimeoutInfo struct {
	Timeout time.Duration
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionStartedInfo added in v3.60.0

type CoordinationSessionStartedInfo struct {
	SessionID         uint64
	ExpectedSessionID uint64
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionStopInfo added in v3.60.0

type CoordinationSessionStopInfo struct {
	SessionID uint64
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionStopTimeoutInfo added in v3.60.0

type CoordinationSessionStopTimeoutInfo struct {
	Timeout time.Duration
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type CoordinationSessionStoppedInfo added in v3.60.0

type CoordinationSessionStoppedInfo struct {
	SessionID         uint64
	ExpectedSessionID uint64
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQL added in v3.34.0

type DatabaseSQL struct {
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnectorConnect func(DatabaseSQLConnectorConnectStartInfo) func(DatabaseSQLConnectorConnectDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnPing func(DatabaseSQLConnPingStartInfo) func(DatabaseSQLConnPingDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnPrepare func(DatabaseSQLConnPrepareStartInfo) func(DatabaseSQLConnPrepareDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnClose func(DatabaseSQLConnCloseStartInfo) func(DatabaseSQLConnCloseDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnBegin func(DatabaseSQLConnBeginStartInfo) func(DatabaseSQLConnBeginDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnBeginTx func(DatabaseSQLConnBeginTxStartInfo) func(DatabaseSQLConnBeginTxDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnCheckNamedValue func(DatabaseSQLConnCheckNamedValueStartInfo) func(
		DatabaseSQLConnCheckNamedValueDoneInfo,
	)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnQuery func(DatabaseSQLConnQueryStartInfo) func(DatabaseSQLConnQueryDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnExec func(DatabaseSQLConnExecStartInfo) func(DatabaseSQLConnExecDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnIsTableExists func(DatabaseSQLConnIsTableExistsStartInfo) func(DatabaseSQLConnIsTableExistsDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnIsColumnExists func(info DatabaseSQLConnIsColumnExistsStartInfo) func(
		DatabaseSQLConnIsColumnExistsDoneInfo,
	)
	OnConnGetIndexColumns func(info DatabaseSQLConnGetIndexColumnsStartInfo) func(
		DatabaseSQLConnGetIndexColumnsDoneInfo,
	)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxQuery func(DatabaseSQLTxQueryStartInfo) func(DatabaseSQLTxQueryDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxExec func(DatabaseSQLTxExecStartInfo) func(DatabaseSQLTxExecDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxPrepare func(DatabaseSQLTxPrepareStartInfo) func(DatabaseSQLTxPrepareDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxCommit func(DatabaseSQLTxCommitStartInfo) func(DatabaseSQLTxCommitDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxRollback func(DatabaseSQLTxRollbackStartInfo) func(DatabaseSQLTxRollbackDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnStmtQuery func(DatabaseSQLStmtQueryStartInfo) func(DatabaseSQLStmtQueryDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnStmtExec func(DatabaseSQLStmtExecStartInfo) func(DatabaseSQLStmtExecDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnStmtClose func(DatabaseSQLStmtCloseStartInfo) func(DatabaseSQLStmtCloseDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnDoTx func(DatabaseSQLDoTxStartInfo) func(DatabaseSQLDoTxIntermediateInfo) func(DatabaseSQLDoTxDoneInfo)
}

DatabaseSQL specified trace of database/sql activity. gtrace:gen gtrace:out internal/xsql/gtrace Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnBeginDoneInfo added in v3.34.0

type DatabaseSQLConnBeginDoneInfo struct {
	Tx    TxInfo
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnBeginStartInfo added in v3.34.0

type DatabaseSQLConnBeginStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnBeginTxDoneInfo added in v3.95.0

type DatabaseSQLConnBeginTxDoneInfo struct {
	Tx    TxInfo
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnBeginTxStartInfo added in v3.95.0

type DatabaseSQLConnBeginTxStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnCheckNamedValueDoneInfo added in v3.95.0

type DatabaseSQLConnCheckNamedValueDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnCheckNamedValueStartInfo added in v3.95.0

type DatabaseSQLConnCheckNamedValueStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Value   *driver.NamedValue
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnCloseDoneInfo added in v3.34.0

type DatabaseSQLConnCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnCloseStartInfo added in v3.34.0

type DatabaseSQLConnCloseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnExecDoneInfo added in v3.34.0

type DatabaseSQLConnExecDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnExecStartInfo added in v3.34.0

type DatabaseSQLConnExecStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context    *context.Context
	Call       Call
	Query      string
	Mode       string
	Idempotent bool

	// Deprecated: will be removed after October 2026.
	// Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated
	IdleTime time.Duration
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnGetIndexColumnsDoneInfo added in v3.95.0

type DatabaseSQLConnGetIndexColumnsDoneInfo struct {
	Columns []string
	Error   error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnGetIndexColumnsStartInfo added in v3.95.0

type DatabaseSQLConnGetIndexColumnsStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context   *context.Context
	Call      Call
	TableName string
	IndexName string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnIsColumnExistsDoneInfo added in v3.95.0

type DatabaseSQLConnIsColumnExistsDoneInfo struct {
	Exists bool
	Error  error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnIsColumnExistsStartInfo added in v3.95.0

type DatabaseSQLConnIsColumnExistsStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context    *context.Context
	Call       Call
	TableName  string
	ColumnName string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnIsTableExistsDoneInfo added in v3.54.2

type DatabaseSQLConnIsTableExistsDoneInfo struct {
	Exists bool
	Error  error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnIsTableExistsStartInfo added in v3.54.2

type DatabaseSQLConnIsTableExistsStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context   *context.Context
	Call      Call
	TableName string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnPingDoneInfo added in v3.34.0

type DatabaseSQLConnPingDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnPingStartInfo added in v3.34.0

type DatabaseSQLConnPingStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnPrepareDoneInfo added in v3.34.0

type DatabaseSQLConnPrepareDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnPrepareStartInfo added in v3.34.0

type DatabaseSQLConnPrepareStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Query   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnQueryDoneInfo added in v3.34.0

type DatabaseSQLConnQueryDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnQueryStartInfo added in v3.34.0

type DatabaseSQLConnQueryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context    *context.Context
	Call       Call
	Query      string
	Mode       string
	Idempotent bool

	// Deprecated: will be removed after October 2026.
	// Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated
	IdleTime time.Duration
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnectorConnectDoneInfo added in v3.34.0

type DatabaseSQLConnectorConnectDoneInfo struct {
	Session SessionInfo
	Error   error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLConnectorConnectStartInfo added in v3.34.0

type DatabaseSQLConnectorConnectStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLDoTxDoneInfo added in v3.34.0

type DatabaseSQLDoTxDoneInfo struct {
	Attempts int
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLDoTxIntermediateInfo added in v3.34.0

type DatabaseSQLDoTxIntermediateInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLDoTxStartInfo added in v3.34.0

type DatabaseSQLDoTxStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context    *context.Context
	Call       Call
	ID         string
	Idempotent bool
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLStmtCloseDoneInfo added in v3.34.0

type DatabaseSQLStmtCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLStmtCloseStartInfo added in v3.34.0

type DatabaseSQLStmtCloseStartInfo struct {
	StmtContext *context.Context
	Call        Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLStmtExecDoneInfo added in v3.34.0

type DatabaseSQLStmtExecDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLStmtExecStartInfo added in v3.34.0

type DatabaseSQLStmtExecStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context     *context.Context
	Call        Call
	StmtContext context.Context //nolint:containedctx
	Query       string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLStmtQueryDoneInfo added in v3.34.0

type DatabaseSQLStmtQueryDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLStmtQueryStartInfo added in v3.34.0

type DatabaseSQLStmtQueryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context     *context.Context
	Call        Call
	StmtContext context.Context //nolint:containedctx
	Query       string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLTxCommitDoneInfo added in v3.34.0

type DatabaseSQLTxCommitDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLTxCommitStartInfo added in v3.34.0

type DatabaseSQLTxCommitStartInfo struct {
	// TxContext make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Tx      TxInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLTxExecDoneInfo added in v3.34.2

type DatabaseSQLTxExecDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLTxExecStartInfo added in v3.34.2

type DatabaseSQLTxExecStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context   *context.Context
	Call      Call
	TxContext context.Context //nolint:containedctx
	Tx        TxInfo
	Query     string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLTxPrepareDoneInfo added in v3.54.2

type DatabaseSQLTxPrepareDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLTxPrepareStartInfo added in v3.54.2

type DatabaseSQLTxPrepareStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context   *context.Context
	Call      Call
	TxContext context.Context //nolint:containedctx
	Tx        TxInfo
	Query     string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLTxQueryDoneInfo added in v3.34.2

type DatabaseSQLTxQueryDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLTxQueryStartInfo added in v3.34.2

type DatabaseSQLTxQueryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context   *context.Context
	Call      Call
	TxContext context.Context //nolint:containedctx
	Tx        TxInfo
	Query     string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLTxRollbackDoneInfo added in v3.34.0

type DatabaseSQLTxRollbackDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DatabaseSQLTxRollbackStartInfo added in v3.34.0

type DatabaseSQLTxRollbackStartInfo struct {
	// TxContext make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Tx      TxInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type Detailer added in v3.46.0

type Detailer interface {
	Details() Details
}

type Details added in v3.2.1

type Details uint64
const (
	DriverNetEvents Details = 1 << iota // for bitmask: 1, 2, 4, 8, 16, 32, ...
	DriverConnEvents
	DriverConnStreamEvents
	DriverBalancerEvents
	DriverResolverEvents
	DriverRepeaterEvents
	DriverCredentialsEvents

	TableSessionLifeCycleEvents
	TableSessionQueryInvokeEvents
	TableSessionQueryStreamEvents
	TableSessionTransactionEvents
	TablePoolLifeCycleEvents
	TablePoolSessionLifeCycleEvents
	TablePoolAPIEvents

	QuerySessionEvents
	QueryResultEvents
	QueryTransactionEvents
	QueryPoolEvents

	TopicControlPlaneEvents

	TopicReaderCustomerEvents

	TopicReaderStreamLifeCycleEvents
	TopicReaderStreamEvents
	TopicReaderTransactionEvents
	TopicReaderMessageEvents
	TopicReaderPartitionEvents

	TopicListenerStreamEvents
	TopicListenerWorkerEvents
	TopicListenerPartitionEvents

	TopicWriterStreamLifeCycleEvents
	TopicWriterStreamEvents
	TopicWriterStreamGrpcMessageEvents

	DatabaseSQLConnectorEvents
	DatabaseSQLConnEvents
	DatabaseSQLTxEvents
	DatabaseSQLStmtEvents

	RetryEvents

	DiscoveryEvents

	SchemeEvents

	ScriptingEvents

	RatelimiterEvents

	CoordinationEvents

	DriverEvents = DriverConnEvents |
		DriverConnStreamEvents |
		DriverBalancerEvents |
		DriverResolverEvents |
		DriverRepeaterEvents |
		DriverCredentialsEvents

	TableEvents = TableSessionLifeCycleEvents |
		TableSessionQueryInvokeEvents |
		TableSessionQueryStreamEvents |
		TableSessionTransactionEvents |
		TablePoolLifeCycleEvents |
		TablePoolSessionLifeCycleEvents |
		TablePoolAPIEvents

	QueryEvents = QuerySessionEvents |
		QueryPoolEvents |
		QueryResultEvents |
		QueryTransactionEvents

	TablePoolEvents = TablePoolLifeCycleEvents |
		TablePoolSessionLifeCycleEvents |
		TablePoolAPIEvents

	TableSessionQueryEvents = TableSessionQueryInvokeEvents |
		TableSessionQueryStreamEvents
	TableSessionEvents = TableSessionLifeCycleEvents |
		TableSessionQueryEvents |
		TableSessionTransactionEvents

	TopicReaderEvents = TopicReaderCustomerEvents | TopicReaderStreamEvents | TopicReaderMessageEvents |
		TopicReaderPartitionEvents |
		TopicReaderStreamLifeCycleEvents

	TopicListenerEvents = TopicListenerStreamEvents | TopicListenerWorkerEvents | TopicListenerPartitionEvents

	TopicWriterEvents = TopicWriterStreamLifeCycleEvents | TopicWriterStreamEvents |
		TopicWriterStreamGrpcMessageEvents

	TopicEvents = TopicControlPlaneEvents | TopicReaderEvents | TopicListenerEvents | TopicWriterEvents

	DatabaseSQLEvents = DatabaseSQLConnectorEvents |
		DatabaseSQLConnEvents |
		DatabaseSQLTxEvents |
		DatabaseSQLStmtEvents

	DetailsAll = ^Details(0) // All bits enabled
)

func MatchDetails added in v3.11.0

func MatchDetails(pattern string, opts ...matchDetailsOption) (d Details)

func (Details) Details added in v3.42.2

func (d Details) Details() Details

func (Details) String added in v3.6.2

func (d Details) String() string

type Discovery added in v3.10.0

Discovery specified trace of discovery client activity. gtrace:gen gtrace:out internal/discovery/gtrace Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DiscoveryDiscoverDoneInfo added in v3.15.0

type DiscoveryDiscoverDoneInfo struct {
	Location  string
	Endpoints []EndpointInfo
	Error     error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DiscoveryDiscoverStartInfo added in v3.15.0

type DiscoveryDiscoverStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Address  string
	Database string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DiscoveryWhoAmIDoneInfo added in v3.15.0

type DiscoveryWhoAmIDoneInfo struct {
	User   string
	Groups []string
	Error  error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DiscoveryWhoAmIStartInfo added in v3.15.0

type DiscoveryWhoAmIStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type Driver

type Driver struct {
	// Driver runtime events
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnInit func(DriverInitStartInfo) func(DriverInitDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWith func(DriverWithStartInfo) func(DriverWithDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnClose func(DriverCloseStartInfo) func(DriverCloseDoneInfo)

	// Pool of connections
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolNew func(DriverConnPoolNewStartInfo) func(DriverConnPoolNewDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolRelease func(DriverConnPoolReleaseStartInfo) func(DriverConnPoolReleaseDoneInfo)

	// Resolver events
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnResolve func(DriverResolveStartInfo) func(DriverResolveDoneInfo)

	// Conn events
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnStateChange func(DriverConnStateChangeStartInfo) func(DriverConnStateChangeDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnInvoke func(DriverConnInvokeStartInfo) func(DriverConnInvokeDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnNewStream func(DriverConnNewStreamStartInfo) func(DriverConnNewStreamDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnStreamRecvMsg func(DriverConnStreamRecvMsgStartInfo) func(DriverConnStreamRecvMsgDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnStreamSendMsg func(DriverConnStreamSendMsgStartInfo) func(DriverConnStreamSendMsgDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnStreamCloseSend func(DriverConnStreamCloseSendStartInfo) func(DriverConnStreamCloseSendDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnStreamFinish func(info DriverConnStreamFinishInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnDial func(DriverConnDialStartInfo) func(DriverConnDialDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnBan func(DriverConnBanStartInfo) func(DriverConnBanDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnAllow func(DriverConnAllowStartInfo) func(DriverConnAllowDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnPark func(DriverConnParkStartInfo) func(DriverConnParkDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnConnClose func(DriverConnCloseStartInfo) func(DriverConnCloseDoneInfo)

	// Repeater events
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnRepeaterWakeUp func(DriverRepeaterWakeUpStartInfo) func(DriverRepeaterWakeUpDoneInfo)

	// Balancer events
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnBalancerInit func(DriverBalancerInitStartInfo) func(DriverBalancerInitDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnBalancerClose func(DriverBalancerCloseStartInfo) func(DriverBalancerCloseDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnBalancerChooseEndpoint func(
		DriverBalancerChooseEndpointStartInfo,
	) func(
		DriverBalancerChooseEndpointDoneInfo,
	)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnBalancerClusterDiscoveryAttempt func(
		DriverBalancerClusterDiscoveryAttemptStartInfo,
	) func(
		DriverBalancerClusterDiscoveryAttemptDoneInfo,
	)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnBalancerUpdate func(DriverBalancerUpdateStartInfo) func(DriverBalancerUpdateDoneInfo)

	// Credentials events
	OnGetCredentials func(DriverGetCredentialsStartInfo) func(DriverGetCredentialsDoneInfo)
}

Driver specified trace of common driver activity. gtrace:gen gtrace:out internal/conn/gtrace Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerChooseEndpointDoneInfo added in v3.26.0

type DriverBalancerChooseEndpointDoneInfo struct {
	Endpoint EndpointInfo
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerChooseEndpointStartInfo added in v3.26.0

type DriverBalancerChooseEndpointStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerCloseDoneInfo added in v3.26.0

type DriverBalancerCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerCloseStartInfo added in v3.26.0

type DriverBalancerCloseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerClusterDiscoveryAttemptDoneInfo added in v3.42.9

type DriverBalancerClusterDiscoveryAttemptDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerClusterDiscoveryAttemptStartInfo added in v3.42.9

type DriverBalancerClusterDiscoveryAttemptStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Address  string
	Database string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerDialEntrypointDoneInfo added in v3.42.9

type DriverBalancerDialEntrypointDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerDialEntrypointStartInfo added in v3.42.9

type DriverBalancerDialEntrypointStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Address string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerInitDoneInfo added in v3.26.0

type DriverBalancerInitDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerInitStartInfo added in v3.26.0

type DriverBalancerInitStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Name    string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerUpdateDoneInfo added in v3.26.0

type DriverBalancerUpdateDoneInfo struct {
	Endpoints []EndpointInfo
	Added     []EndpointInfo
	Dropped   []EndpointInfo
	LocalDC   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverBalancerUpdateStartInfo added in v3.26.0

type DriverBalancerUpdateStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context     *context.Context
	Call        Call
	NeedLocalDC bool
	Database    string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverCloseDoneInfo added in v3.15.0

type DriverCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverCloseStartInfo added in v3.15.0

type DriverCloseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnAllowDoneInfo added in v3.25.1

type DriverConnAllowDoneInfo struct {
	State ConnState
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnAllowStartInfo added in v3.25.1

type DriverConnAllowStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Endpoint EndpointInfo
	State    ConnState
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnBanDoneInfo added in v3.25.1

type DriverConnBanDoneInfo struct {
	State ConnState
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnBanStartInfo added in v3.25.1

type DriverConnBanStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Endpoint EndpointInfo
	State    ConnState
	Cause    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnCloseDoneInfo added in v3.15.0

type DriverConnCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnCloseStartInfo added in v3.15.0

type DriverConnCloseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Endpoint EndpointInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnDialDoneInfo added in v3.42.12

type DriverConnDialDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnDialStartInfo added in v3.42.12

type DriverConnDialStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Endpoint EndpointInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnInvokeDoneInfo added in v3.15.0

type DriverConnInvokeDoneInfo struct {
	Error    error
	Issues   []Issue
	OpID     string
	State    ConnState
	Metadata map[string][]string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnInvokeStartInfo added in v3.15.0

type DriverConnInvokeStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Endpoint EndpointInfo
	Method   Method
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnNewStreamDoneInfo added in v3.15.0

type DriverConnNewStreamDoneInfo struct {
	Error error
	State ConnState
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnNewStreamStartInfo added in v3.15.0

type DriverConnNewStreamStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Endpoint EndpointInfo
	Method   Method
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnParkDoneInfo added in v3.15.0

type DriverConnParkDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnParkStartInfo added in v3.15.0

type DriverConnParkStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Endpoint EndpointInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnPoolNewDoneInfo added in v3.54.2

type DriverConnPoolNewDoneInfo struct{}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnPoolNewStartInfo added in v3.54.2

type DriverConnPoolNewStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnPoolReleaseDoneInfo added in v3.54.2

type DriverConnPoolReleaseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnPoolReleaseStartInfo added in v3.54.2

type DriverConnPoolReleaseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnStateChangeDoneInfo added in v3.15.0

type DriverConnStateChangeDoneInfo struct {
	State ConnState
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnStateChangeStartInfo added in v3.15.0

type DriverConnStateChangeStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Endpoint EndpointInfo
	State    ConnState
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnStreamCloseSendDoneInfo added in v3.58.1

type DriverConnStreamCloseSendDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnStreamCloseSendStartInfo added in v3.58.1

type DriverConnStreamCloseSendStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnStreamFinishInfo added in v3.66.2

type DriverConnStreamFinishInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context context.Context //nolint:containedctx
	Call    Call
	Error   error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnStreamRecvMsgDoneInfo added in v3.58.1

type DriverConnStreamRecvMsgDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnStreamRecvMsgStartInfo added in v3.58.1

type DriverConnStreamRecvMsgStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnStreamSendMsgDoneInfo added in v3.58.1

type DriverConnStreamSendMsgDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnStreamSendMsgStartInfo added in v3.58.1

type DriverConnStreamSendMsgStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnTakeDoneInfo added in v3.15.0

type DriverConnTakeDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverConnTakeStartInfo added in v3.15.0

type DriverConnTakeStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Endpoint EndpointInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverGetCredentialsDoneInfo added in v3.15.0

type DriverGetCredentialsDoneInfo struct {
	Token string
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverGetCredentialsStartInfo added in v3.15.0

type DriverGetCredentialsStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverInitDoneInfo added in v3.15.0

type DriverInitDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverInitStartInfo added in v3.15.0

type DriverInitStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Endpoint string
	Database string
	Secure   bool
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverNetCloseDoneInfo added in v3.15.0

type DriverNetCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverNetCloseStartInfo added in v3.15.0

type DriverNetCloseStartInfo struct {
	Call    Call
	Address string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverNetDialDoneInfo added in v3.15.0

type DriverNetDialDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverNetDialStartInfo added in v3.15.0

type DriverNetDialStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Address string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverNetReadDoneInfo added in v3.15.0

type DriverNetReadDoneInfo struct {
	Received int
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverNetReadStartInfo added in v3.15.0

type DriverNetReadStartInfo struct {
	Call    Call
	Address string
	Buffer  int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverNetWriteDoneInfo added in v3.15.0

type DriverNetWriteDoneInfo struct {
	Sent  int
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverNetWriteStartInfo added in v3.15.0

type DriverNetWriteStartInfo struct {
	Call    Call
	Address string
	Bytes   int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverRepeaterWakeUpDoneInfo added in v3.25.0

type DriverRepeaterWakeUpDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverRepeaterWakeUpStartInfo added in v3.25.0

type DriverRepeaterWakeUpStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Name    string
	Event   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverResolveDoneInfo added in v3.15.0

type DriverResolveDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverResolveStartInfo added in v3.15.0

type DriverResolveStartInfo struct {
	Call     Call
	Target   string
	Resolved []string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverWithDoneInfo added in v3.54.3

type DriverWithDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type DriverWithStartInfo added in v3.54.3

type DriverWithStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context  *context.Context
	Call     Call
	Endpoint string
	Database string
	Secure   bool
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type EndpointInfo added in v3.11.8

type EndpointInfo interface {
	fmt.Stringer

	NodeID() uint32
	Address() string
	Location() string
	LoadFactor() float32
	LastUpdated() time.Time

	// Deprecated: LocalDC check "local" by compare endpoint location with discovery "selflocation" field.
	// It work good only if connection url always point to local dc.
	// Will be removed after Oct 2024.
	// Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated
	LocalDC() bool
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type Issue

type Issue interface {
	GetMessage() string
	GetIssueCode() uint32
	GetSeverity() uint32
}

Issue declare interface of operation error issues Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type Method

type Method string

Method represents rpc method. Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

func (Method) Name

func (m Method) Name() (s string)

Name returns the rpc method name. Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

func (Method) Service

func (m Method) Service() (s string)

Service returns the rpc service name. Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

func (Method) Split

func (m Method) Split() (service, method string)

Split returns service name and method. Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type NodeHintInfo added in v3.122.0

type NodeHintInfo struct {
	PreferredNodeID uint32
	SessionNodeID   uint32
}

type OnReadStreamUpdateTokenDoneInfo added in v3.32.0

type OnReadStreamUpdateTokenDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type OnReadUnknownGrpcMessageInfo added in v3.31.0

type OnReadUnknownGrpcMessageInfo struct {
	Context            *context.Context
	ReaderConnectionID string
	Error              error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type OnReadUpdateTokenMiddleTokenReceivedInfo added in v3.32.0

type OnReadUpdateTokenMiddleTokenReceivedInfo struct {
	Context  *context.Context
	TokenLen int
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type OnReadUpdateTokenStartInfo added in v3.32.0

type OnReadUpdateTokenStartInfo struct {
	Context            *context.Context
	ReaderConnectionID string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type Query added in v3.57.0

type Query struct {
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnNew func(QueryNewStartInfo) func(info QueryNewDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnClose func(QueryCloseStartInfo) func(info QueryCloseDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolNew func(QueryPoolNewStartInfo) func(QueryPoolNewDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolClose func(QueryPoolCloseStartInfo) func(QueryPoolCloseDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolTry func(QueryPoolTryStartInfo) func(QueryPoolTryDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolWith func(QueryPoolWithStartInfo) func(QueryPoolWithDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolPut func(QueryPoolPutStartInfo) func(QueryPoolPutDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolGet func(QueryPoolGetStartInfo) func(QueryPoolGetDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolChange func(QueryPoolChange)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnDo func(QueryDoStartInfo) func(QueryDoDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnDoTx func(QueryDoTxStartInfo) func(QueryDoTxDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnExec func(QueryExecStartInfo) func(QueryExecDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnQuery func(QueryQueryStartInfo) func(QueryQueryDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnQueryResultSet func(QueryQueryResultSetStartInfo) func(QueryQueryResultSetDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnQueryRow func(QueryQueryRowStartInfo) func(QueryQueryRowDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionCreate func(QuerySessionCreateStartInfo) func(info QuerySessionCreateDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionAttach func(QuerySessionAttachStartInfo) func(info QuerySessionAttachDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionClosed func(QuerySessionClosedInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionDelete func(QuerySessionDeleteStartInfo) func(info QuerySessionDeleteDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionExec func(QuerySessionExecStartInfo) func(info QuerySessionExecDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionQuery func(QuerySessionQueryStartInfo) func(info QuerySessionQueryDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionQueryResultSet func(QuerySessionQueryResultSetStartInfo) func(QuerySessionQueryResultSetDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionQueryRow func(QuerySessionQueryRowStartInfo) func(QuerySessionQueryRowDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionBegin func(QuerySessionBeginStartInfo) func(info QuerySessionBeginDoneInfo)

	// OnSessionBeginTransaction fires only for an actual
	// QueryService.BeginTransaction RPC (eager transactions and
	// Tx.UnLazy). Lazy transactions started via DoTx do not produce
	// this event because they fuse the begin into the first
	// ExecuteQuery RPC.
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionBeginTransaction func(
		QuerySessionBeginTransactionStartInfo,
	) func(QuerySessionBeginTransactionDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxCommit func(QueryTxCommitStartInfo) func(info QueryTxCommitDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxRollback func(QueryTxRollbackStartInfo) func(info QueryTxRollbackDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxExec func(QueryTxExecStartInfo) func(info QueryTxExecDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxQuery func(QueryTxQueryStartInfo) func(info QueryTxQueryDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxQueryResultSet func(QueryTxQueryResultSetStartInfo) func(QueryTxQueryResultSetDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxQueryRow func(QueryTxQueryRowStartInfo) func(QueryTxQueryRowDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnResultNew func(QueryResultNewStartInfo) func(info QueryResultNewDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnResultNextPart func(QueryResultNextPartStartInfo) func(info QueryResultNextPartDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnResultNextResultSet func(QueryResultNextResultSetStartInfo) func(info QueryResultNextResultSetDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnResultClose func(QueryResultCloseStartInfo) func(info QueryResultCloseDoneInfo)
}

Query specified trace of query client activity. gtrace:gen gtrace:out internal/query/gtrace Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryCloseDoneInfo added in v3.58.0

type QueryCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryCloseStartInfo added in v3.58.0

type QueryCloseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryDoDoneInfo added in v3.57.0

type QueryDoDoneInfo struct {
	Attempts int
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryDoStartInfo added in v3.57.0

type QueryDoStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Label   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryDoTxDoneInfo added in v3.57.0

type QueryDoTxDoneInfo struct {
	Attempts int
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryDoTxStartInfo added in v3.57.0

type QueryDoTxStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Label   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryExecDoneInfo added in v3.77.0

type QueryExecDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryExecStartInfo added in v3.77.0

type QueryExecStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Query string
	Label string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryNewDoneInfo added in v3.58.0

type QueryNewDoneInfo struct{}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryNewStartInfo added in v3.58.0

type QueryNewStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolChange added in v3.59.0

type QueryPoolChange struct {
	Limit            int
	Idle             int
	CreateInProgress int
	Concurrency      int
	Size             int

	// Deprecated: will be removed after November 2026.
	// Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated
	Index int
	// Deprecated: will be removed after November 2026.
	// Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated
	Wait int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolCloseDoneInfo added in v3.58.0

type QueryPoolCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolCloseStartInfo added in v3.58.0

type QueryPoolCloseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolGetDoneInfo added in v3.58.0

type QueryPoolGetDoneInfo struct {
	Session      SessionInfo
	Attempts     int
	NodeHintInfo *NodeHintInfo
	Error        error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolGetStartInfo added in v3.58.0

type QueryPoolGetStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolNewDoneInfo added in v3.58.0

type QueryPoolNewDoneInfo struct {
	Limit int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolNewStartInfo added in v3.58.0

type QueryPoolNewStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolPutDoneInfo added in v3.58.0

type QueryPoolPutDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolPutStartInfo added in v3.58.0

type QueryPoolPutStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolTryDoneInfo added in v3.58.0

type QueryPoolTryDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolTryStartInfo added in v3.58.0

type QueryPoolTryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolWithDoneInfo added in v3.58.0

type QueryPoolWithDoneInfo struct {
	Attempts int
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryPoolWithStartInfo added in v3.58.0

type QueryPoolWithStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryQueryDoneInfo added in v3.77.0

type QueryQueryDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryQueryResultSetDoneInfo added in v3.77.0

type QueryQueryResultSetDoneInfo struct {
	Error     error
	RowsCount int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryQueryResultSetStartInfo added in v3.77.0

type QueryQueryResultSetStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Query string
	Label string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryQueryRowDoneInfo added in v3.77.0

type QueryQueryRowDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryQueryRowStartInfo added in v3.77.0

type QueryQueryRowStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Query string
	Label string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryQueryStartInfo added in v3.77.0

type QueryQueryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Query string
	Label string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryReadResultSetDoneInfo added in v3.69.0

type QueryReadResultSetDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryReadResultSetStartInfo added in v3.69.0

type QueryReadResultSetStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Query string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryReadRowDoneInfo added in v3.69.0

type QueryReadRowDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryReadRowStartInfo added in v3.69.0

type QueryReadRowStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Query string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryResultCloseDoneInfo added in v3.58.2

type QueryResultCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryResultCloseStartInfo added in v3.58.2

type QueryResultCloseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryResultNewDoneInfo added in v3.58.2

type QueryResultNewDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryResultNewStartInfo added in v3.58.2

type QueryResultNewStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryResultNextPartDoneInfo added in v3.58.2

type QueryResultNextPartDoneInfo struct {
	Stats *Ydb_TableStats.QueryStats
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryResultNextPartStartInfo added in v3.58.2

type QueryResultNextPartStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryResultNextResultSetDoneInfo added in v3.58.2

type QueryResultNextResultSetDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryResultNextResultSetStartInfo added in v3.58.2

type QueryResultNextResultSetStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionAttachDoneInfo added in v3.58.0

type QuerySessionAttachDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionAttachStartInfo added in v3.58.0

type QuerySessionAttachStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionBeginDoneInfo added in v3.58.2

type QuerySessionBeginDoneInfo struct {
	Error error
	Tx    TxInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionBeginStartInfo added in v3.58.2

type QuerySessionBeginStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionBeginTransactionDoneInfo added in v3.139.0

type QuerySessionBeginTransactionDoneInfo struct {
	Error error
	TxID  string
}

QuerySessionBeginTransactionDoneInfo carries the outcome of an actual QueryService.BeginTransaction RPC.

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionBeginTransactionStartInfo added in v3.139.0

type QuerySessionBeginTransactionStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Session SessionInfo
}

QuerySessionBeginTransactionStartInfo carries the context for an actual QueryService.BeginTransaction RPC.

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionClosedInfo added in v3.151.0

type QuerySessionClosedInfo struct {
	PoolName string
	Reason   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionCreateDoneInfo added in v3.58.0

type QuerySessionCreateDoneInfo struct {
	Session SessionInfo
	Error   error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionCreateStartInfo added in v3.58.0

type QuerySessionCreateStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionDeleteDoneInfo added in v3.58.0

type QuerySessionDeleteDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionDeleteStartInfo added in v3.58.0

type QuerySessionDeleteStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionExecDoneInfo added in v3.77.0

type QuerySessionExecDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionExecStartInfo added in v3.77.0

type QuerySessionExecStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Session SessionInfo
	Query   string
	Label   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionQueryDoneInfo added in v3.77.0

type QuerySessionQueryDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionQueryResultSetDoneInfo added in v3.77.0

type QuerySessionQueryResultSetDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionQueryResultSetStartInfo added in v3.77.0

type QuerySessionQueryResultSetStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Session SessionInfo
	Query   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionQueryRowDoneInfo added in v3.77.0

type QuerySessionQueryRowDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionQueryRowStartInfo added in v3.77.0

type QuerySessionQueryRowStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Session SessionInfo
	Query   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QuerySessionQueryStartInfo added in v3.77.0

type QuerySessionQueryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Session SessionInfo
	Query   string
	Label   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxCommitDoneInfo added in v3.100.1

type QueryTxCommitDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxCommitStartInfo added in v3.100.1

type QueryTxCommitStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Session SessionInfo
	Tx      TxInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxExecDoneInfo added in v3.77.0

type QueryTxExecDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxExecStartInfo added in v3.77.0

type QueryTxExecStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Session    SessionInfo
	Tx         TxInfo
	Query      string
	Label      string
	WithCommit bool
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxQueryDoneInfo added in v3.77.0

type QueryTxQueryDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxQueryResultSetDoneInfo added in v3.77.0

type QueryTxQueryResultSetDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxQueryResultSetStartInfo added in v3.77.0

type QueryTxQueryResultSetStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Tx         TxInfo
	Session    SessionInfo
	Query      string
	Label      string
	WithCommit bool
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxQueryRowDoneInfo added in v3.77.0

type QueryTxQueryRowDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxQueryRowStartInfo added in v3.77.0

type QueryTxQueryRowStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Tx         TxInfo
	Session    SessionInfo
	Query      string
	Label      string
	WithCommit bool
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxQueryStartInfo added in v3.77.0

type QueryTxQueryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Session    SessionInfo
	Tx         TxInfo
	Query      string
	Label      string
	WithCommit bool
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxRollbackDoneInfo added in v3.100.1

type QueryTxRollbackDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type QueryTxRollbackStartInfo added in v3.100.1

type QueryTxRollbackStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Session SessionInfo
	Tx      TxInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type Ratelimiter added in v3.10.0

type Ratelimiter struct{}

Ratelimiter specified trace of ratelimiter client activity. gtrace:gen gtrace:out internal/ratelimiter/gtrace Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type Retry

type Retry struct {
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnRetry func(RetryLoopStartInfo) func(RetryLoopDoneInfo)

	// OnRetryAttempt is fired once per retry attempt, including the first
	// one. The reported Backoff is the duration that was waited *before*
	// this attempt was started (zero for the first attempt).
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnRetryAttempt func(RetryAttemptStartInfo) func(RetryAttemptDoneInfo)
}

Retry specified trace of retry call activity. gtrace:gen gtrace:out internal/retry/gtrace Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type RetryAttemptDoneInfo added in v3.139.0

type RetryAttemptDoneInfo struct {
	Error error
}

RetryAttemptDoneInfo carries the per-attempt outcome.

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type RetryAttemptStartInfo added in v3.139.0

type RetryAttemptStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context

	Call       Call
	Label      string
	Idempotent bool

	// Attempt is the 1-based attempt number.
	Attempt int

	// Backoff is the duration that was waited before this attempt was
	// started (always zero for the first attempt).
	Backoff time.Duration
}

RetryAttemptStartInfo carries the per-attempt context for retry tracing.

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type RetryLoopDoneInfo

type RetryLoopDoneInfo struct {
	Attempts int
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type RetryLoopStartInfo

type RetryLoopStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context

	Call       Call
	Label      string
	Idempotent bool

	NestedCall bool // a sign for detect Retry calls inside head Retry
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type SchemeDescribePathDoneInfo added in v3.54.2

type SchemeDescribePathDoneInfo struct {
	EntryType string
	Error     error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type SchemeDescribePathStartInfo added in v3.54.2

type SchemeDescribePathStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Path    string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type SchemeListDirectoryDoneInfo added in v3.54.2

type SchemeListDirectoryDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type SchemeListDirectoryStartInfo added in v3.54.2

type SchemeListDirectoryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type SchemeMakeDirectoryDoneInfo added in v3.54.2

type SchemeMakeDirectoryDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type SchemeMakeDirectoryStartInfo added in v3.54.2

type SchemeMakeDirectoryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Path    string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type SchemeModifyPermissionsDoneInfo added in v3.54.2

type SchemeModifyPermissionsDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type SchemeModifyPermissionsStartInfo added in v3.54.2

type SchemeModifyPermissionsStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Path    string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type SchemeRemoveDirectoryDoneInfo added in v3.54.2

type SchemeRemoveDirectoryDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type SchemeRemoveDirectoryStartInfo added in v3.54.2

type SchemeRemoveDirectoryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Path    string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type ScriptingCloseDoneInfo added in v3.13.1

type ScriptingCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type ScriptingCloseStartInfo added in v3.13.1

type ScriptingCloseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type ScriptingExecuteDoneInfo added in v3.13.1

type ScriptingExecuteDoneInfo struct {
	Result ScriptingResult
	Error  error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type ScriptingExecuteStartInfo added in v3.13.1

type ScriptingExecuteStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context    *context.Context
	Call       Call
	Query      string
	Parameters ScriptingQueryParameters
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type ScriptingExplainDoneInfo added in v3.13.1

type ScriptingExplainDoneInfo struct {
	Plan  string
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type ScriptingExplainStartInfo added in v3.13.1

type ScriptingExplainStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Query   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type ScriptingQueryParameters added in v3.138.1

type ScriptingQueryParameters interface {
	String() string
}

ScriptingQueryParameters contains query parameters metadata for trace hooks.

type ScriptingResult added in v3.138.1

type ScriptingResult interface {
	ScriptingResultErr
	ResultSetCount() int
}

ScriptingResult contains result metadata for trace hooks.

type ScriptingResultErr added in v3.138.1

type ScriptingResultErr interface {
	Err() error
}

ScriptingResultErr contains result error metadata for trace hooks.

type ScriptingStreamExecuteDoneInfo added in v3.13.1

type ScriptingStreamExecuteDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type ScriptingStreamExecuteIntermediateInfo added in v3.13.1

type ScriptingStreamExecuteIntermediateInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type ScriptingStreamExecuteStartInfo added in v3.13.1

type ScriptingStreamExecuteStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context    *context.Context
	Call       Call
	Query      string
	Parameters ScriptingQueryParameters
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type SessionInfo added in v3.138.1

type SessionInfo interface {
	ID() string
	NodeID() uint32
	Status() string
}

SessionInfo contains session metadata for trace hooks.

type Table

type Table struct {
	// Client events
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnInit func(TableInitStartInfo) func(TableInitDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnClose func(TableCloseStartInfo) func(TableCloseDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnDo func(TableDoStartInfo) func(TableDoDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnDoTx func(TableDoTxStartInfo) func(TableDoTxDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnBulkUpsert func(TableBulkUpsertStartInfo) func(TableBulkUpsertDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnCreateSession func(TableCreateSessionStartInfo) func(TableCreateSessionDoneInfo)
	// Session events
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionNew func(TableSessionNewStartInfo) func(TableSessionNewDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionDelete func(TableSessionDeleteStartInfo) func(TableSessionDeleteDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionKeepAlive func(TableKeepAliveStartInfo) func(TableKeepAliveDoneInfo)
	// Query events
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionBulkUpsert func(TableSessionBulkUpsertStartInfo) func(TableSessionBulkUpsertDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionQueryPrepare func(TablePrepareDataQueryStartInfo) func(TablePrepareDataQueryDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionQueryExecute func(TableExecuteDataQueryStartInfo) func(TableExecuteDataQueryDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionQueryExplain func(TableExplainQueryStartInfo) func(TableExplainQueryDoneInfo)
	// Stream events
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionQueryStreamExecute func(TableSessionQueryStreamExecuteStartInfo) func(TableSessionQueryStreamExecuteDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnSessionQueryStreamRead func(TableSessionQueryStreamReadStartInfo) func(TableSessionQueryStreamReadDoneInfo)
	// Transaction events
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxBegin func(TableTxBeginStartInfo) func(
		TableTxBeginDoneInfo,
	)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxExecute func(TableTransactionExecuteStartInfo) func(
		TableTransactionExecuteDoneInfo,
	)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxExecuteStatement func(TableTransactionExecuteStatementStartInfo) func(
		TableTransactionExecuteStatementDoneInfo,
	)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxCommit func(TableTxCommitStartInfo) func(
		TableTxCommitDoneInfo,
	)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnTxRollback func(TableTxRollbackStartInfo) func(TableTxRollbackDoneInfo)

	// Pool common API events
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolPut func(TablePoolPutStartInfo) func(TablePoolPutDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolGet func(TablePoolGetStartInfo) func(TablePoolGetDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolWith func(TablePoolWithStartInfo) func(TablePoolWithDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPoolStateChange func(TablePoolStateChangeInfo)

	// Deprecated
	// Will be removed after March 2025.
	// Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated
	OnPoolSessionAdd func(info TablePoolSessionAddInfo)
	// Deprecated
	// Will be removed after March 2025.
	// Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated
	OnPoolSessionRemove func(info TablePoolSessionRemoveInfo)
	// Deprecated
	// Will be removed after March 2025.
	// Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated
	OnPoolWait func(TablePoolWaitStartInfo) func(TablePoolWaitDoneInfo)
}

Table specified trace of table client activity. gtrace:gen gtrace:out internal/table/gtrace Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableBulkUpsertDoneInfo added in v3.54.2

type TableBulkUpsertDoneInfo struct {
	Error    error
	Attempts int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableBulkUpsertStartInfo added in v3.54.2

type TableBulkUpsertStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableCloseDoneInfo added in v3.13.1

type TableCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableCloseStartInfo added in v3.13.1

type TableCloseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableCreateSessionDoneInfo added in v3.15.0

type TableCreateSessionDoneInfo struct {
	Session  SessionInfo
	Attempts int
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableCreateSessionStartInfo added in v3.15.0

type TableCreateSessionStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableDataQuery added in v3.138.1

type TableDataQuery interface {
	String() string
	ID() string
	YQL() string
}

TableDataQuery contains data query metadata for trace hooks.

type TableDoDoneInfo added in v3.15.0

type TableDoDoneInfo struct {
	Attempts int
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableDoStartInfo added in v3.15.0

type TableDoStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Label      string
	Idempotent bool
	NestedCall bool // flag when Retry called inside head Retry
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableDoTxDoneInfo added in v3.15.0

type TableDoTxDoneInfo struct {
	Attempts int
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableDoTxStartInfo added in v3.15.0

type TableDoTxStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Label      string
	Idempotent bool
	NestedCall bool // flag when Retry called inside head Retry
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableExecuteDataQueryDoneInfo added in v3.15.0

type TableExecuteDataQueryDoneInfo struct {
	Tx       TxInfo
	Prepared bool
	Result   TableResult
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableExecuteDataQueryStartInfo added in v3.15.0

type TableExecuteDataQueryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context     *context.Context
	Call        Call
	Session     SessionInfo
	Query       TableDataQuery
	Parameters  TableQueryParameters
	KeepInCache bool
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableExplainQueryDoneInfo added in v3.15.0

type TableExplainQueryDoneInfo struct {
	AST   string
	Plan  string
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableExplainQueryStartInfo added in v3.15.0

type TableExplainQueryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
	Query   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableInitDoneInfo added in v3.13.1

type TableInitDoneInfo struct {
	Limit int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableInitStartInfo added in v3.13.1

type TableInitStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableKeepAliveDoneInfo added in v3.15.0

type TableKeepAliveDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableKeepAliveStartInfo added in v3.15.0

type TableKeepAliveStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePoolGetDoneInfo added in v3.15.0

type TablePoolGetDoneInfo struct {
	Session      SessionInfo
	Attempts     int
	NodeHintInfo *NodeHintInfo
	Error        error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePoolGetStartInfo added in v3.15.0

type TablePoolGetStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePoolPutDoneInfo added in v3.15.0

type TablePoolPutDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePoolPutStartInfo added in v3.15.0

type TablePoolPutStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePoolSessionAddInfo added in v3.33.0

type TablePoolSessionAddInfo struct {
	Session SessionInfo
}

Deprecated Will be removed after March 2025. Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated

type TablePoolSessionCloseDoneInfo added in v3.15.0

type TablePoolSessionCloseDoneInfo struct{}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePoolSessionCloseStartInfo added in v3.15.0

type TablePoolSessionCloseStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePoolSessionNewDoneInfo added in v3.15.0

type TablePoolSessionNewDoneInfo struct {
	Session SessionInfo
	Error   error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePoolSessionNewStartInfo added in v3.15.0

type TablePoolSessionNewStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePoolSessionRemoveInfo added in v3.33.0

type TablePoolSessionRemoveInfo struct {
	Session SessionInfo
}

Deprecated Will be removed after March 2025. Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated

type TablePoolStateChangeInfo added in v3.26.10

type TablePoolStateChangeInfo struct {
	Limit            int
	Idle             int
	CreateInProgress int
	Concurrency      int
	Size             int

	// Deprecated: will be removed after November 2026.
	// Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated
	Index int
	// Deprecated: will be removed after November 2026.
	// Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated
	Wait int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePoolWaitDoneInfo added in v3.15.0

type TablePoolWaitDoneInfo struct {
	Session SessionInfo
	Error   error
}

Deprecated Will be removed after March 2025. Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated

type TablePoolWaitStartInfo added in v3.15.0

type TablePoolWaitStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Deprecated Will be removed after March 2025. Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated

type TablePoolWithDoneInfo added in v3.79.1

type TablePoolWithDoneInfo struct {
	Attempts int
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePoolWithStartInfo added in v3.79.1

type TablePoolWithStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePrepareDataQueryDoneInfo added in v3.15.0

type TablePrepareDataQueryDoneInfo struct {
	Result TableDataQuery
	Error  error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TablePrepareDataQueryStartInfo added in v3.15.0

type TablePrepareDataQueryStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
	Query   string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableQueryParameters added in v3.138.1

type TableQueryParameters interface {
	String() string
}

TableQueryParameters contains query parameters metadata for trace hooks.

type TableResult added in v3.138.1

type TableResult interface {
	TableResultErr
	ResultSetCount() int
}

TableResult contains result metadata for trace hooks.

type TableResultErr added in v3.138.1

type TableResultErr interface {
	Err() error
}

TableResultErr contains result error metadata for trace hooks.

type TableSessionBulkUpsertDoneInfo added in v3.83.0

type TableSessionBulkUpsertDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableSessionBulkUpsertStartInfo added in v3.83.0

type TableSessionBulkUpsertStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call

	Session SessionInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableSessionDeleteDoneInfo added in v3.15.0

type TableSessionDeleteDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableSessionDeleteStartInfo added in v3.15.0

type TableSessionDeleteStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableSessionNewDoneInfo added in v3.15.0

type TableSessionNewDoneInfo struct {
	Session SessionInfo
	Error   error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableSessionNewStartInfo added in v3.15.0

type TableSessionNewStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableSessionQueryStreamExecuteDoneInfo added in v3.15.0

type TableSessionQueryStreamExecuteDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableSessionQueryStreamExecuteStartInfo added in v3.15.0

type TableSessionQueryStreamExecuteStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context    *context.Context
	Call       Call
	Session    SessionInfo
	Query      TableDataQuery
	Parameters TableQueryParameters
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableSessionQueryStreamReadDoneInfo added in v3.15.0

type TableSessionQueryStreamReadDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableSessionQueryStreamReadStartInfo added in v3.15.0

type TableSessionQueryStreamReadStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableTransactionExecuteDoneInfo added in v3.34.2

type TableTransactionExecuteDoneInfo struct {
	Result TableResult
	Error  error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableTransactionExecuteStartInfo added in v3.34.2

type TableTransactionExecuteStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context    *context.Context
	Call       Call
	Session    SessionInfo
	Tx         TxInfo
	Query      TableDataQuery
	Parameters TableQueryParameters
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableTransactionExecuteStatementDoneInfo added in v3.34.2

type TableTransactionExecuteStatementDoneInfo struct {
	Result TableResult
	Error  error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableTransactionExecuteStatementStartInfo added in v3.34.2

type TableTransactionExecuteStatementStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context        *context.Context
	Call           Call
	Session        SessionInfo
	Tx             TxInfo
	StatementQuery TableDataQuery
	Parameters     TableQueryParameters
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableTxBeginDoneInfo added in v3.59.0

type TableTxBeginDoneInfo struct {
	Tx    TxInfo
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableTxBeginStartInfo added in v3.59.0

type TableTxBeginStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableTxCommitDoneInfo added in v3.59.0

type TableTxCommitDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableTxCommitStartInfo added in v3.59.0

type TableTxCommitStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
	Tx      TxInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableTxRollbackDoneInfo added in v3.59.0

type TableTxRollbackDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TableTxRollbackStartInfo added in v3.59.0

type TableTxRollbackStartInfo struct {
	// Context make available context in trace callback function.
	// Pointer to context provide replacement of context in trace callback function.
	// Warning: concurrent access to pointer on client side must be excluded.
	// Safe replacement of context are provided only inside callback function
	Context *context.Context
	Call    Call
	Session SessionInfo
	Tx      TxInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type Topic added in v3.31.0

type Topic struct {

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderStart func(info TopicReaderStartInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderReconnect func(TopicReaderReconnectStartInfo) func(TopicReaderReconnectDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderReconnectRequest func(TopicReaderReconnectRequestInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderPartitionReadStartResponse func(
		TopicReaderPartitionReadStartResponseStartInfo,
	) func(
		TopicReaderPartitionReadStartResponseDoneInfo,
	)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderPartitionReadStopResponse func(
		TopicReaderPartitionReadStopResponseStartInfo,
	) func(
		TopicReaderPartitionReadStopResponseDoneInfo,
	)

	OnReaderEndPartitionSession func(TopicReaderEndPartitionSessionInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderCommit func(TopicReaderCommitStartInfo) func(TopicReaderCommitDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderSendCommitMessage func(TopicReaderSendCommitMessageStartInfo) func(TopicReaderSendCommitMessageDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderCommittedNotify func(TopicReaderCommittedNotifyInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderClose func(TopicReaderCloseStartInfo) func(TopicReaderCloseDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderInit func(TopicReaderInitStartInfo) func(TopicReaderInitDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderError func(TopicReaderErrorInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderUpdateToken func(
		OnReadUpdateTokenStartInfo,
	) func(
		OnReadUpdateTokenMiddleTokenReceivedInfo,
	) func(
		OnReadStreamUpdateTokenDoneInfo,
	)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderPopBatchTx func(TopicReaderPopBatchTxStartInfo) func(TopicReaderPopBatchTxDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderStreamPopBatchTx func(
		TopicReaderStreamPopBatchTxStartInfo,
	) func(
		TopicReaderStreamPopBatchTxDoneInfo,
	)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderUpdateOffsetsInTransaction func(
		TopicReaderOnUpdateOffsetsInTransactionStartInfo,
	) func(
		TopicReaderOnUpdateOffsetsInTransactionDoneInfo,
	)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderTransactionCompleted func(
		TopicReaderTransactionCompletedStartInfo,
	) func(
		TopicReaderTransactionCompletedDoneInfo,
	)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderTransactionRollback func(
		TopicReaderTransactionRollbackStartInfo,
	) func(
		TopicReaderTransactionRollbackDoneInfo,
	)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderSentGRPCMessage func(TopicReaderSentGRPCMessageInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderReceiveGRPCMessage func(TopicReaderReceiveGRPCMessageInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderSentDataRequest func(TopicReaderSentDataRequestInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderReceiveDataResponse func(TopicReaderReceiveDataResponseStartInfo) func(TopicReaderReceiveDataResponseDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderReadMessages func(TopicReaderReadMessagesStartInfo) func(TopicReaderReadMessagesDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnReaderUnknownGrpcMessage func(OnReadUnknownGrpcMessageInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWriterReconnect func(TopicWriterReconnectStartInfo) func(TopicWriterReconnectConnectedInfo) func(TopicWriterReconnectDoneInfo) //nolint:lll
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWriterInitStream func(TopicWriterInitStreamStartInfo) func(TopicWriterInitStreamDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWriterClose func(TopicWriterCloseStartInfo) func(TopicWriterCloseDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWriterBeforeCommitTransaction func(
		TopicOnWriterBeforeCommitTransactionStartInfo,
	) func(TopicOnWriterBeforeCommitTransactionDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWriterAfterFinishTransaction func(
		TopicOnWriterAfterFinishTransactionStartInfo,
	) func(TopicOnWriterAfterFinishTransactionDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWriterCompressMessages func(TopicWriterCompressMessagesStartInfo) func(TopicWriterCompressMessagesDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWriterSendMessages func(TopicWriterSendMessagesStartInfo) func(TopicWriterSendMessagesDoneInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWriterReceiveResult func(TopicWriterResultMessagesInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWriterSentGRPCMessage func(TopicWriterSentGRPCMessageInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWriterReceiveGRPCMessage func(TopicWriterReceiveGRPCMessageInfo)
	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnWriterReadUnknownGrpcMessage func(TopicOnWriterReadUnknownGrpcMessageInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnListenerStart func(TopicListenerStartInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnListenerInit func(TopicListenerInitStartInfo) func(TopicListenerInitDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnListenerReceiveMessage func(TopicListenerReceiveMessageInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnListenerRouteMessage func(TopicListenerRouteMessageInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnListenerSplitMessage func(TopicListenerSplitMessageInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnListenerError func(TopicListenerErrorInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnListenerClose func(TopicListenerCloseStartInfo) func(TopicListenerCloseDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPartitionWorkerStart func(TopicPartitionWorkerStartInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPartitionWorkerProcessMessage func(TopicPartitionWorkerProcessMessageStartInfo) func(
		TopicPartitionWorkerProcessMessageDoneInfo,
	)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPartitionWorkerHandlerCall func(TopicPartitionWorkerHandlerCallStartInfo) func(
		TopicPartitionWorkerHandlerCallDoneInfo,
	)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnPartitionWorkerStop func(TopicPartitionWorkerStopStartInfo) func(TopicPartitionWorkerStopDoneInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnListenerSendDataRequest func(TopicListenerSendDataRequestInfo)

	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
	OnListenerUnknownMessage func(TopicListenerUnknownMessageInfo)
}

Topic specified trace of topic reader client activity. gtrace:gen gtrace:out internal/topic/gtrace Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicListenerCloseDoneInfo added in v3.110.0

type TopicListenerCloseDoneInfo struct {
	WorkersClosed int
	Error         error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicListenerCloseStartInfo added in v3.110.0

type TopicListenerCloseStartInfo struct {
	Context    *context.Context
	ListenerID string
	SessionID  string
	Reason     error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicListenerErrorInfo added in v3.110.0

type TopicListenerErrorInfo struct {
	Context    *context.Context
	ListenerID string
	SessionID  string
	Error      error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicListenerInitDoneInfo added in v3.110.0

type TopicListenerInitDoneInfo struct {
	SessionID string
	Error     error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicListenerInitStartInfo added in v3.110.0

type TopicListenerInitStartInfo struct {
	Context        *context.Context
	ListenerID     string
	Consumer       string
	TopicSelectors []string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicListenerReceiveMessageInfo added in v3.110.0

type TopicListenerReceiveMessageInfo struct {
	Context     *context.Context
	ListenerID  string
	SessionID   string
	MessageType string
	BytesSize   int
	Error       error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicListenerRouteMessageInfo added in v3.110.0

type TopicListenerRouteMessageInfo struct {
	Context            *context.Context
	ListenerID         string
	SessionID          string
	MessageType        string
	PartitionSessionID *int64
	WorkerFound        bool
	Error              error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicListenerSendDataRequestInfo added in v3.110.0

type TopicListenerSendDataRequestInfo struct {
	Context     *context.Context
	ListenerID  string
	SessionID   string
	MessageType string
	Error       error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicListenerSplitMessageInfo added in v3.110.0

type TopicListenerSplitMessageInfo struct {
	Context         *context.Context
	ListenerID      string
	SessionID       string
	MessageType     string
	TotalBatches    int
	TotalPartitions int
	SplitBatches    int
	RoutedBatches   int
	Error           error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicListenerStartInfo added in v3.110.0

type TopicListenerStartInfo struct {
	Context    *context.Context
	ListenerID string
	Consumer   string
	Error      error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicListenerUnknownMessageInfo added in v3.110.0

type TopicListenerUnknownMessageInfo struct {
	Context     *context.Context
	ListenerID  string
	SessionID   string
	MessageType string
	Error       error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicOnWriterAfterFinishTransactionDoneInfo added in v3.81.0

type TopicOnWriterAfterFinishTransactionDoneInfo struct {
	CloseError error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicOnWriterAfterFinishTransactionStartInfo added in v3.81.0

type TopicOnWriterAfterFinishTransactionStartInfo struct {
	Context       *context.Context
	Error         error
	SessionID     string
	TransactionID string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicOnWriterBeforeCommitTransactionDoneInfo added in v3.81.0

type TopicOnWriterBeforeCommitTransactionDoneInfo struct {
	Error          error
	TopicSessionID string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicOnWriterBeforeCommitTransactionStartInfo added in v3.81.0

type TopicOnWriterBeforeCommitTransactionStartInfo struct {
	Context        *context.Context
	KqpSessionID   string
	TopicSessionID string
	TransactionID  string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicOnWriterReadUnknownGrpcMessageInfo added in v3.38.0

type TopicOnWriterReadUnknownGrpcMessageInfo struct {
	Context          *context.Context
	WriterInstanceID string
	SessionID        string
	Error            error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicPartitionWorkerHandlerCallDoneInfo added in v3.110.0

type TopicPartitionWorkerHandlerCallDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicPartitionWorkerHandlerCallStartInfo added in v3.110.0

type TopicPartitionWorkerHandlerCallStartInfo struct {
	Context            *context.Context
	ListenerID         string
	SessionID          string
	PartitionSessionID int64
	PartitionID        int64
	Topic              string
	HandlerType        string // "OnReadMessages", "OnStartPartition", "OnStopPartition"
	MessagesCount      int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicPartitionWorkerProcessMessageDoneInfo added in v3.110.0

type TopicPartitionWorkerProcessMessageDoneInfo struct {
	ProcessedMessages int
	Error             error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicPartitionWorkerProcessMessageStartInfo added in v3.110.0

type TopicPartitionWorkerProcessMessageStartInfo struct {
	Context            *context.Context
	ListenerID         string
	SessionID          string
	PartitionSessionID int64
	PartitionID        int64
	Topic              string
	MessageType        string
	MessagesCount      int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicPartitionWorkerStartInfo added in v3.110.0

type TopicPartitionWorkerStartInfo struct {
	Context            *context.Context
	ListenerID         string
	SessionID          string
	PartitionSessionID int64
	PartitionID        int64
	Topic              string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicPartitionWorkerStopDoneInfo added in v3.110.0

type TopicPartitionWorkerStopDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicPartitionWorkerStopStartInfo added in v3.110.0

type TopicPartitionWorkerStopStartInfo struct {
	Context            *context.Context
	ListenerID         string
	SessionID          string
	PartitionSessionID int64
	PartitionID        int64
	Topic              string
	Reason             error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReadStreamInitRequestInfo added in v3.32.0

type TopicReadStreamInitRequestInfo interface {
	GetConsumer() string
	GetTopics() []string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderCloseDoneInfo added in v3.32.0

type TopicReaderCloseDoneInfo struct {
	CloseError error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderCloseStartInfo added in v3.32.0

type TopicReaderCloseStartInfo struct {
	Context            *context.Context
	ReaderConnectionID string
	CloseReason        error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderCommitDoneInfo added in v3.32.0

type TopicReaderCommitDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderCommitStartInfo added in v3.32.0

type TopicReaderCommitStartInfo struct {
	Context            *context.Context
	Topic              string
	PartitionID        int64
	PartitionSessionID int64
	StartOffset        int64
	EndOffset          int64
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderCommittedNotifyInfo added in v3.32.0

type TopicReaderCommittedNotifyInfo struct {
	Context            *context.Context
	ReaderConnectionID string
	Topic              string
	PartitionID        int64
	PartitionSessionID int64
	CommittedOffset    int64
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderDataResponseInfo added in v3.32.0

type TopicReaderDataResponseInfo interface {
	GetBytesSize() int
	GetPartitionBatchMessagesCounts() (partitionCount, batchCount, messagesCount int)
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderEndPartitionSessionInfo added in v3.105.0

type TopicReaderEndPartitionSessionInfo struct {
	ReaderConnectionID   string
	PartitionContext     context.Context //nolint:containedctx
	Topic                string
	PartitionID          int64
	PartitionSessionID   int64
	AdjacentPartitionIDs []int64
	ChildPartitionIDs    []int64
}

type TopicReaderErrorInfo added in v3.32.0

type TopicReaderErrorInfo struct {
	Context            *context.Context
	ReaderConnectionID string
	Error              error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderInitDoneInfo added in v3.32.0

type TopicReaderInitDoneInfo struct {
	ReaderConnectionID string
	Error              error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderInitStartInfo added in v3.32.0

type TopicReaderInitStartInfo struct {
	Context                   *context.Context
	PreInitReaderConnectionID string
	InitRequestInfo           TopicReadStreamInitRequestInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderOnUpdateOffsetsInTransactionDoneInfo added in v3.76.4

type TopicReaderOnUpdateOffsetsInTransactionDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderOnUpdateOffsetsInTransactionStartInfo added in v3.76.4

type TopicReaderOnUpdateOffsetsInTransactionStartInfo struct {
	Context              *context.Context
	ReaderID             int64
	ReaderConnectionID   string
	TransactionSessionID string
	Tx                   TxInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderPartitionReadStartResponseDoneInfo added in v3.32.0

type TopicReaderPartitionReadStartResponseDoneInfo struct {
	ReadOffset   *int64
	CommitOffset *int64
	Error        error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderPartitionReadStartResponseStartInfo added in v3.32.0

type TopicReaderPartitionReadStartResponseStartInfo struct {
	ReaderConnectionID string
	PartitionContext   *context.Context
	Topic              string
	PartitionID        int64
	PartitionSessionID int64
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderPartitionReadStopResponseDoneInfo added in v3.32.0

type TopicReaderPartitionReadStopResponseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderPartitionReadStopResponseStartInfo added in v3.32.0

type TopicReaderPartitionReadStopResponseStartInfo struct {
	ReaderConnectionID string
	PartitionContext   context.Context //nolint:containedctx
	Topic              string
	PartitionID        int64
	PartitionSessionID int64
	CommittedOffset    int64
	Graceful           bool
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderPopBatchTxDoneInfo added in v3.76.4

type TopicReaderPopBatchTxDoneInfo struct {
	StartOffset   int64
	EndOffset     int64
	MessagesCount int
	Error         error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderPopBatchTxStartInfo added in v3.76.4

type TopicReaderPopBatchTxStartInfo struct {
	Context              *context.Context
	ReaderID             int64
	TransactionSessionID string
	Tx                   TxInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderReadMessagesDoneInfo added in v3.32.0

type TopicReaderReadMessagesDoneInfo struct {
	MessagesCount      int
	Topic              string
	PartitionID        int64
	PartitionSessionID int64
	OffsetStart        int64
	OffsetEnd          int64
	FreeBufferCapacity int
	Error              error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderReadMessagesStartInfo added in v3.32.0

type TopicReaderReadMessagesStartInfo struct {
	Context            *context.Context
	MinCount           int
	MaxCount           int
	FreeBufferCapacity int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderReceiveDataResponseDoneInfo added in v3.32.0

type TopicReaderReceiveDataResponseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderReceiveDataResponseStartInfo added in v3.32.0

type TopicReaderReceiveDataResponseStartInfo struct {
	Context                     *context.Context
	ReaderConnectionID          string
	LocalBufferSizeAfterReceive int
	DataResponse                TopicReaderDataResponseInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderReceiveGRPCMessageInfo added in v3.105.0

type TopicReaderReceiveGRPCMessageInfo struct {
	ReaderID      int64
	SessionID     string
	MessageNumber int
	Message       *Ydb_Topic.StreamReadMessage_FromServer // may be nil if err != nil
	Error         error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderReconnectDoneInfo added in v3.32.0

type TopicReaderReconnectDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderReconnectRequestInfo added in v3.32.0

type TopicReaderReconnectRequestInfo struct {
	Context *context.Context
	Reason  error
	WasSent bool
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderReconnectStartInfo added in v3.32.0

type TopicReaderReconnectStartInfo struct {
	Context *context.Context
	Reason  error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderSendCommitMessageDoneInfo added in v3.32.0

type TopicReaderSendCommitMessageDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderSentDataRequestInfo added in v3.32.0

type TopicReaderSentDataRequestInfo struct {
	Context                  *context.Context
	ReaderConnectionID       string
	RequestBytes             int
	LocalBufferSizeAfterSent int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderSentGRPCMessageInfo added in v3.105.0

type TopicReaderSentGRPCMessageInfo struct {
	ReaderID      int64
	SessionID     string
	MessageNumber int
	Message       *Ydb_Topic.StreamReadMessage_FromClient // may be nil if err != nil
	Error         error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderStartInfo added in v3.52.0

type TopicReaderStartInfo struct {
	Context  *context.Context
	ReaderID int64
	Consumer string
	Error    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderStreamCommitInfo added in v3.52.0

type TopicReaderStreamCommitInfo struct {
	Context            *context.Context
	Topic              string
	PartitionID        int64
	PartitionSessionID int64
	StartOffset        int64
	EndOffset          int64
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderStreamPopBatchTxDoneInfo added in v3.76.4

type TopicReaderStreamPopBatchTxDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderStreamPopBatchTxStartInfo added in v3.76.4

type TopicReaderStreamPopBatchTxStartInfo struct {
	Context              *context.Context
	ReaderID             int64
	ReaderConnectionID   string
	TransactionSessionID string
	Tx                   TxInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderStreamSendCommitMessageStartMessageInfo added in v3.32.0

type TopicReaderStreamSendCommitMessageStartMessageInfo interface {
	GetCommitsInfo() []TopicReaderStreamCommitInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderTransactionCompletedDoneInfo added in v3.76.4

type TopicReaderTransactionCompletedDoneInfo struct{}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderTransactionCompletedStartInfo added in v3.76.4

type TopicReaderTransactionCompletedStartInfo struct {
	Context              *context.Context
	ReaderID             int64
	ReaderConnectionID   string
	TransactionSessionID string
	Tx                   TxInfo
	TransactionResult    error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderTransactionRollbackDoneInfo added in v3.76.4

type TopicReaderTransactionRollbackDoneInfo struct {
	RollbackError error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicReaderTransactionRollbackStartInfo added in v3.76.4

type TopicReaderTransactionRollbackStartInfo struct {
	Context              *context.Context
	ReaderID             int64
	ReaderConnectionID   string
	TransactionSessionID string
	Tx                   TxInfo
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterCloseDoneInfo added in v3.38.0

type TopicWriterCloseDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterCloseStartInfo added in v3.38.0

type TopicWriterCloseStartInfo struct {
	Context          *context.Context
	WriterInstanceID string
	Reason           error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterCompressMessagesDoneInfo added in v3.38.0

type TopicWriterCompressMessagesDoneInfo struct {
	Error error

	// UncompressedSize is the total size in bytes of the messages before compression.
	// It is zero when Error is non-nil.
	UncompressedSize int

	// CompressedSize is the total size in bytes of the messages after compression
	// with the Codec from TopicWriterCompressMessagesStartInfo (equal to UncompressedSize
	// for the raw codec). It is zero when Error is non-nil.
	CompressedSize int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterCompressMessagesReason added in v3.38.0

type TopicWriterCompressMessagesReason string

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

func (TopicWriterCompressMessagesReason) String added in v3.38.0

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterCompressMessagesStartInfo added in v3.38.0

type TopicWriterCompressMessagesStartInfo struct {
	Context          *context.Context
	WriterInstanceID string
	SessionID        string
	Codec            int32
	FirstSeqNo       int64
	MessagesCount    int
	Reason           TopicWriterCompressMessagesReason
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterInitStreamDoneInfo added in v3.38.0

type TopicWriterInitStreamDoneInfo struct {
	SessionID string
	Endpoint  EndpointInfo
	Error     error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterInitStreamStartInfo added in v3.38.0

type TopicWriterInitStreamStartInfo struct {
	Context          *context.Context
	WriterInstanceID string
	Topic            string
	ProducerID       string
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterReceiveGRPCMessageInfo added in v3.99.6

type TopicWriterReceiveGRPCMessageInfo struct {
	Context               *context.Context
	TopicStreamInternalID string
	SessionID             string
	MessageNumber         int
	Message               *Ydb_Topic.StreamWriteMessage_FromServer
	Error                 error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterReconnectConnectedInfo added in v3.99.4

type TopicWriterReconnectConnectedInfo struct {
	ConnectionResult error
}

type TopicWriterReconnectDoneInfo added in v3.38.0

type TopicWriterReconnectDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterReconnectStartInfo added in v3.38.0

type TopicWriterReconnectStartInfo struct {
	Context          *context.Context
	WriterInstanceID string
	Topic            string
	ProducerID       string
	Attempt          int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterResultMessagesInfo added in v3.77.1

type TopicWriterResultMessagesInfo struct {
	Context          *context.Context
	WriterInstanceID string
	SessionID        string
	PartitionID      int64
	Acks             TopicWriterResultMessagesInfoAcks
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterResultMessagesInfoAcks added in v3.77.1

type TopicWriterResultMessagesInfoAcks interface {
	GetAcks() struct {
		AcksCount        int
		SeqNoMin         int64
		SeqNoMax         int64
		WrittenOffsetMin int64
		WrittenOffsetMax int64
		WrittenCount     int
		WrittenInTxCount int
		SkipCount        int
	}
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterSendMessagesDoneInfo added in v3.38.0

type TopicWriterSendMessagesDoneInfo struct {
	Error error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterSendMessagesStartInfo added in v3.38.0

type TopicWriterSendMessagesStartInfo struct {
	Context          *context.Context
	WriterInstanceID string
	SessionID        string
	Codec            int32
	FirstSeqNo       int64
	MessagesCount    int
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TopicWriterSentGRPCMessageInfo added in v3.99.6

type TopicWriterSentGRPCMessageInfo struct {
	Context               *context.Context
	TopicStreamInternalID string
	SessionID             string
	MessageNumber         int
	Message               *Ydb_Topic.StreamWriteMessage_FromClient
	Error                 error
}

Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals

type TxInfo added in v3.138.1

type TxInfo interface {
	ID() string
}

TxInfo contains transaction metadata for trace hooks.

Jump to

Keyboard shortcuts

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