github.com/ydb-platform/ydb-go-sdk/v3@v3.89.2/trace/query.go (about)

     1  package trace
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/ydb-platform/ydb-go-genproto/protos/Ydb_TableStats"
     7  )
     8  
     9  // tool gtrace used from ./internal/cmd/gtrace
    10  
    11  //go:generate gtrace
    12  
    13  type (
    14  	// Query specified trace of retry call activity.
    15  	// gtrace:gen
    16  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    17  	Query struct {
    18  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    19  		OnNew func(QueryNewStartInfo) func(info QueryNewDoneInfo)
    20  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    21  		OnClose func(QueryCloseStartInfo) func(info QueryCloseDoneInfo)
    22  
    23  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    24  		OnPoolNew func(QueryPoolNewStartInfo) func(QueryPoolNewDoneInfo)
    25  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    26  		OnPoolClose func(QueryPoolCloseStartInfo) func(QueryPoolCloseDoneInfo)
    27  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    28  		OnPoolTry func(QueryPoolTryStartInfo) func(QueryPoolTryDoneInfo)
    29  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    30  		OnPoolWith func(QueryPoolWithStartInfo) func(QueryPoolWithDoneInfo)
    31  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    32  		OnPoolPut func(QueryPoolPutStartInfo) func(QueryPoolPutDoneInfo)
    33  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    34  		OnPoolGet func(QueryPoolGetStartInfo) func(QueryPoolGetDoneInfo)
    35  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    36  		OnPoolChange func(QueryPoolChange)
    37  
    38  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    39  		OnDo func(QueryDoStartInfo) func(QueryDoDoneInfo)
    40  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    41  		OnDoTx func(QueryDoTxStartInfo) func(QueryDoTxDoneInfo)
    42  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    43  		OnExec func(QueryExecStartInfo) func(QueryExecDoneInfo)
    44  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    45  		OnQuery func(QueryQueryStartInfo) func(QueryQueryDoneInfo)
    46  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    47  		OnQueryResultSet func(QueryQueryResultSetStartInfo) func(QueryQueryResultSetDoneInfo)
    48  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    49  		OnQueryRow func(QueryQueryRowStartInfo) func(QueryQueryRowDoneInfo)
    50  
    51  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    52  		OnSessionCreate func(QuerySessionCreateStartInfo) func(info QuerySessionCreateDoneInfo)
    53  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    54  		OnSessionAttach func(QuerySessionAttachStartInfo) func(info QuerySessionAttachDoneInfo)
    55  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    56  		OnSessionDelete func(QuerySessionDeleteStartInfo) func(info QuerySessionDeleteDoneInfo)
    57  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    58  		OnSessionExec func(QuerySessionExecStartInfo) func(info QuerySessionExecDoneInfo)
    59  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    60  		OnSessionQuery func(QuerySessionQueryStartInfo) func(info QuerySessionQueryDoneInfo)
    61  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    62  		OnSessionQueryResultSet func(QuerySessionQueryResultSetStartInfo) func(QuerySessionQueryResultSetDoneInfo)
    63  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    64  		OnSessionQueryRow func(QuerySessionQueryRowStartInfo) func(QuerySessionQueryRowDoneInfo)
    65  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    66  		OnSessionBegin func(QuerySessionBeginStartInfo) func(info QuerySessionBeginDoneInfo)
    67  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    68  		OnTxExec func(QueryTxExecStartInfo) func(info QueryTxExecDoneInfo)
    69  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    70  		OnTxQuery func(QueryTxQueryStartInfo) func(info QueryTxQueryDoneInfo)
    71  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    72  		OnTxQueryResultSet func(QueryTxQueryResultSetStartInfo) func(QueryTxQueryResultSetDoneInfo)
    73  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    74  		OnTxQueryRow func(QueryTxQueryRowStartInfo) func(QueryTxQueryRowDoneInfo)
    75  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    76  		OnResultNew func(QueryResultNewStartInfo) func(info QueryResultNewDoneInfo)
    77  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    78  		OnResultNextPart func(QueryResultNextPartStartInfo) func(info QueryResultNextPartDoneInfo)
    79  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    80  		OnResultNextResultSet func(QueryResultNextResultSetStartInfo) func(info QueryResultNextResultSetDoneInfo)
    81  		// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    82  		OnResultClose func(QueryResultCloseStartInfo) func(info QueryResultCloseDoneInfo)
    83  	}
    84  
    85  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    86  	QueryDoStartInfo struct {
    87  		// Context make available context in trace callback function.
    88  		// Pointer to context provide replacement of context in trace callback function.
    89  		// Warning: concurrent access to pointer on client side must be excluded.
    90  		// Safe replacement of context are provided only inside callback function
    91  		Context *context.Context
    92  		Call    call
    93  	}
    94  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
    95  	QueryDoDoneInfo struct {
    96  		Attempts int
    97  		Error    error
    98  	}
    99  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   100  	QueryDoTxStartInfo struct {
   101  		// Context make available context in trace callback function.
   102  		// Pointer to context provide replacement of context in trace callback function.
   103  		// Warning: concurrent access to pointer on client side must be excluded.
   104  		// Safe replacement of context are provided only inside callback function
   105  		Context *context.Context
   106  		Call    call
   107  	}
   108  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   109  	QueryDoTxDoneInfo struct {
   110  		Attempts int
   111  		Error    error
   112  	}
   113  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   114  	QueryExecStartInfo struct {
   115  		// Context make available context in trace callback function.
   116  		// Pointer to context provide replacement of context in trace callback function.
   117  		// Warning: concurrent access to pointer on client side must be excluded.
   118  		// Safe replacement of context are provided only inside callback function
   119  		Context *context.Context
   120  		Call    call
   121  
   122  		Query string
   123  	}
   124  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   125  	QueryExecDoneInfo struct {
   126  		Error error
   127  	}
   128  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   129  	QueryQueryStartInfo struct {
   130  		// Context make available context in trace callback function.
   131  		// Pointer to context provide replacement of context in trace callback function.
   132  		// Warning: concurrent access to pointer on client side must be excluded.
   133  		// Safe replacement of context are provided only inside callback function
   134  		Context *context.Context
   135  		Call    call
   136  
   137  		Query string
   138  	}
   139  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   140  	QueryQueryDoneInfo struct {
   141  		Error error
   142  	}
   143  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   144  	QueryQueryResultSetStartInfo struct {
   145  		// Context make available context in trace callback function.
   146  		// Pointer to context provide replacement of context in trace callback function.
   147  		// Warning: concurrent access to pointer on client side must be excluded.
   148  		// Safe replacement of context are provided only inside callback function
   149  		Context *context.Context
   150  		Call    call
   151  
   152  		Query string
   153  	}
   154  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   155  	QueryQueryResultSetDoneInfo struct {
   156  		Error error
   157  	}
   158  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   159  	QuerySessionQueryResultSetStartInfo struct {
   160  		// Context make available context in trace callback function.
   161  		// Pointer to context provide replacement of context in trace callback function.
   162  		// Warning: concurrent access to pointer on client side must be excluded.
   163  		// Safe replacement of context are provided only inside callback function
   164  		Context *context.Context
   165  		Call    call
   166  
   167  		Session sessionInfo
   168  		Query   string
   169  	}
   170  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   171  	QuerySessionQueryResultSetDoneInfo struct {
   172  		Error error
   173  	}
   174  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   175  	QueryTxQueryResultSetStartInfo struct {
   176  		// Context make available context in trace callback function.
   177  		// Pointer to context provide replacement of context in trace callback function.
   178  		// Warning: concurrent access to pointer on client side must be excluded.
   179  		// Safe replacement of context are provided only inside callback function
   180  		Context *context.Context
   181  		Call    call
   182  
   183  		Tx    txInfo
   184  		Query string
   185  	}
   186  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   187  	QueryTxQueryResultSetDoneInfo struct {
   188  		Error error
   189  	}
   190  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   191  	QueryQueryRowStartInfo struct {
   192  		// Context make available context in trace callback function.
   193  		// Pointer to context provide replacement of context in trace callback function.
   194  		// Warning: concurrent access to pointer on client side must be excluded.
   195  		// Safe replacement of context are provided only inside callback function
   196  		Context *context.Context
   197  		Call    call
   198  
   199  		Query string
   200  	}
   201  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   202  	QueryQueryRowDoneInfo struct {
   203  		Error error
   204  	}
   205  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   206  	QuerySessionQueryRowStartInfo struct {
   207  		// Context make available context in trace callback function.
   208  		// Pointer to context provide replacement of context in trace callback function.
   209  		// Warning: concurrent access to pointer on client side must be excluded.
   210  		// Safe replacement of context are provided only inside callback function
   211  		Context *context.Context
   212  		Call    call
   213  
   214  		Session sessionInfo
   215  		Query   string
   216  	}
   217  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   218  	QuerySessionQueryRowDoneInfo struct {
   219  		Error error
   220  	}
   221  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   222  	QueryTxQueryRowStartInfo struct {
   223  		// Context make available context in trace callback function.
   224  		// Pointer to context provide replacement of context in trace callback function.
   225  		// Warning: concurrent access to pointer on client side must be excluded.
   226  		// Safe replacement of context are provided only inside callback function
   227  		Context *context.Context
   228  		Call    call
   229  
   230  		Tx    txInfo
   231  		Query string
   232  	}
   233  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   234  	QueryTxQueryRowDoneInfo struct {
   235  		Error error
   236  	}
   237  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   238  	QueryReadRowStartInfo struct {
   239  		// Context make available context in trace callback function.
   240  		// Pointer to context provide replacement of context in trace callback function.
   241  		// Warning: concurrent access to pointer on client side must be excluded.
   242  		// Safe replacement of context are provided only inside callback function
   243  		Context *context.Context
   244  		Call    call
   245  
   246  		Query string
   247  	}
   248  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   249  	QueryReadRowDoneInfo struct {
   250  		Error error
   251  	}
   252  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   253  	QueryReadResultSetStartInfo struct {
   254  		// Context make available context in trace callback function.
   255  		// Pointer to context provide replacement of context in trace callback function.
   256  		// Warning: concurrent access to pointer on client side must be excluded.
   257  		// Safe replacement of context are provided only inside callback function
   258  		Context *context.Context
   259  		Call    call
   260  
   261  		Query string
   262  	}
   263  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   264  	QueryReadResultSetDoneInfo struct {
   265  		Error error
   266  	}
   267  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   268  	QuerySessionCreateStartInfo struct {
   269  		// Context make available context in trace callback function.
   270  		// Pointer to context provide replacement of context in trace callback function.
   271  		// Warning: concurrent access to pointer on client side must be excluded.
   272  		// Safe replacement of context are provided only inside callback function
   273  		Context *context.Context
   274  		Call    call
   275  	}
   276  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   277  	QuerySessionCreateDoneInfo struct {
   278  		Session sessionInfo
   279  		Error   error
   280  	}
   281  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   282  	QuerySessionExecStartInfo struct {
   283  		// Context make available context in trace callback function.
   284  		// Pointer to context provide replacement of context in trace callback function.
   285  		// Warning: concurrent access to pointer on client side must be excluded.
   286  		// Safe replacement of context are provided only inside callback function
   287  		Context *context.Context
   288  		Call    call
   289  
   290  		Session sessionInfo
   291  		Query   string
   292  	}
   293  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   294  	QuerySessionExecDoneInfo struct {
   295  		Error error
   296  	}
   297  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   298  	QuerySessionQueryStartInfo struct {
   299  		// Context make available context in trace callback function.
   300  		// Pointer to context provide replacement of context in trace callback function.
   301  		// Warning: concurrent access to pointer on client side must be excluded.
   302  		// Safe replacement of context are provided only inside callback function
   303  		Context *context.Context
   304  		Call    call
   305  
   306  		Session sessionInfo
   307  		Query   string
   308  	}
   309  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   310  	QuerySessionQueryDoneInfo struct {
   311  		Error error
   312  	}
   313  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   314  	QueryTxExecStartInfo struct {
   315  		// Context make available context in trace callback function.
   316  		// Pointer to context provide replacement of context in trace callback function.
   317  		// Warning: concurrent access to pointer on client side must be excluded.
   318  		// Safe replacement of context are provided only inside callback function
   319  		Context *context.Context
   320  		Call    call
   321  
   322  		Session sessionInfo
   323  		Tx      txInfo
   324  		Query   string
   325  	}
   326  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   327  	QueryTxExecDoneInfo struct {
   328  		Error error
   329  	}
   330  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   331  	QueryTxQueryStartInfo struct {
   332  		// Context make available context in trace callback function.
   333  		// Pointer to context provide replacement of context in trace callback function.
   334  		// Warning: concurrent access to pointer on client side must be excluded.
   335  		// Safe replacement of context are provided only inside callback function
   336  		Context *context.Context
   337  		Call    call
   338  
   339  		Session sessionInfo
   340  		Tx      txInfo
   341  		Query   string
   342  	}
   343  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   344  	QueryTxQueryDoneInfo struct {
   345  		Error error
   346  	}
   347  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   348  	QuerySessionAttachStartInfo struct {
   349  		// Context make available context in trace callback function.
   350  		// Pointer to context provide replacement of context in trace callback function.
   351  		// Warning: concurrent access to pointer on client side must be excluded.
   352  		// Safe replacement of context are provided only inside callback function
   353  		Context *context.Context
   354  		Call    call
   355  		Session sessionInfo
   356  	}
   357  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   358  	QuerySessionAttachDoneInfo struct {
   359  		Error error
   360  	}
   361  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   362  	QuerySessionBeginStartInfo struct {
   363  		// Context make available context in trace callback function.
   364  		// Pointer to context provide replacement of context in trace callback function.
   365  		// Warning: concurrent access to pointer on client side must be excluded.
   366  		// Safe replacement of context are provided only inside callback function
   367  		Context *context.Context
   368  		Call    call
   369  		Session sessionInfo
   370  	}
   371  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   372  	QuerySessionBeginDoneInfo struct {
   373  		Error error
   374  		Tx    txInfo
   375  	}
   376  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   377  	QueryResultNewStartInfo struct {
   378  		// Context make available context in trace callback function.
   379  		// Pointer to context provide replacement of context in trace callback function.
   380  		// Warning: concurrent access to pointer on client side must be excluded.
   381  		// Safe replacement of context are provided only inside callback function
   382  		Context *context.Context
   383  		Call    call
   384  	}
   385  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   386  	QueryResultNewDoneInfo struct {
   387  		Error error
   388  	}
   389  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   390  	QueryResultCloseStartInfo struct {
   391  		// Context make available context in trace callback function.
   392  		// Pointer to context provide replacement of context in trace callback function.
   393  		// Warning: concurrent access to pointer on client side must be excluded.
   394  		// Safe replacement of context are provided only inside callback function
   395  		Context *context.Context
   396  		Call    call
   397  	}
   398  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   399  	QueryResultCloseDoneInfo struct {
   400  		Error error
   401  	}
   402  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   403  	QueryResultNextPartStartInfo struct {
   404  		// Context make available context in trace callback function.
   405  		// Pointer to context provide replacement of context in trace callback function.
   406  		// Warning: concurrent access to pointer on client side must be excluded.
   407  		// Safe replacement of context are provided only inside callback function
   408  		Context *context.Context
   409  		Call    call
   410  	}
   411  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   412  	QueryResultNextPartDoneInfo struct {
   413  		Stats *Ydb_TableStats.QueryStats
   414  		Error error
   415  	}
   416  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   417  	QueryResultNextResultSetStartInfo struct {
   418  		// Context make available context in trace callback function.
   419  		// Pointer to context provide replacement of context in trace callback function.
   420  		// Warning: concurrent access to pointer on client side must be excluded.
   421  		// Safe replacement of context are provided only inside callback function
   422  		Context *context.Context
   423  		Call    call
   424  	}
   425  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   426  	QueryResultNextResultSetDoneInfo struct {
   427  		Error error
   428  	}
   429  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   430  	QuerySessionDeleteStartInfo struct {
   431  		// Context make available context in trace callback function.
   432  		// Pointer to context provide replacement of context in trace callback function.
   433  		// Warning: concurrent access to pointer on client side must be excluded.
   434  		// Safe replacement of context are provided only inside callback function
   435  		Context *context.Context
   436  		Call    call
   437  		Session sessionInfo
   438  	}
   439  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   440  	QuerySessionDeleteDoneInfo struct {
   441  		Error error
   442  	}
   443  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   444  	QueryNewStartInfo struct {
   445  		// Context make available context in trace callback function.
   446  		// Pointer to context provide replacement of context in trace callback function.
   447  		// Warning: concurrent access to pointer on client side must be excluded.
   448  		// Safe replacement of context are provided only inside callback function
   449  		Context *context.Context
   450  		Call    call
   451  	}
   452  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   453  	QueryNewDoneInfo struct{}
   454  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   455  	QueryCloseStartInfo struct {
   456  		// Context make available context in trace callback function.
   457  		// Pointer to context provide replacement of context in trace callback function.
   458  		// Warning: concurrent access to pointer on client side must be excluded.
   459  		// Safe replacement of context are provided only inside callback function
   460  		Context *context.Context
   461  		Call    call
   462  	}
   463  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   464  	QueryCloseDoneInfo struct {
   465  		Error error
   466  	}
   467  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   468  	QueryPoolNewStartInfo struct {
   469  		// Context make available context in trace callback function.
   470  		// Pointer to context provide replacement of context in trace callback function.
   471  		// Warning: concurrent access to pointer on client side must be excluded.
   472  		// Safe replacement of context are provided only inside callback function
   473  		Context *context.Context
   474  		Call    call
   475  	}
   476  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   477  	QueryPoolNewDoneInfo struct {
   478  		Limit int
   479  	}
   480  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   481  	QueryPoolCloseStartInfo struct {
   482  		// Context make available context in trace callback function.
   483  		// Pointer to context provide replacement of context in trace callback function.
   484  		// Warning: concurrent access to pointer on client side must be excluded.
   485  		// Safe replacement of context are provided only inside callback function
   486  		Context *context.Context
   487  		Call    call
   488  	}
   489  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   490  	QueryPoolCloseDoneInfo struct {
   491  		Error error
   492  	}
   493  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   494  	QueryPoolTryStartInfo struct {
   495  		// Context make available context in trace callback function.
   496  		// Pointer to context provide replacement of context in trace callback function.
   497  		// Warning: concurrent access to pointer on client side must be excluded.
   498  		// Safe replacement of context are provided only inside callback function
   499  		Context *context.Context
   500  		Call    call
   501  	}
   502  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   503  	QueryPoolTryDoneInfo struct {
   504  		Error error
   505  	}
   506  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   507  	QueryPoolWithStartInfo struct {
   508  		// Context make available context in trace callback function.
   509  		// Pointer to context provide replacement of context in trace callback function.
   510  		// Warning: concurrent access to pointer on client side must be excluded.
   511  		// Safe replacement of context are provided only inside callback function
   512  		Context *context.Context
   513  		Call    call
   514  	}
   515  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   516  	QueryPoolWithDoneInfo struct {
   517  		Attempts int
   518  		Error    error
   519  	}
   520  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   521  	QueryPoolPutStartInfo struct {
   522  		// Context make available context in trace callback function.
   523  		// Pointer to context provide replacement of context in trace callback function.
   524  		// Warning: concurrent access to pointer on client side must be excluded.
   525  		// Safe replacement of context are provided only inside callback function
   526  		Context *context.Context
   527  		Call    call
   528  		Session sessionInfo
   529  	}
   530  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   531  	QueryPoolPutDoneInfo struct {
   532  		Error error
   533  	}
   534  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   535  	QueryPoolGetStartInfo struct {
   536  		// Context make available context in trace callback function.
   537  		// Pointer to context provide replacement of context in trace callback function.
   538  		// Warning: concurrent access to pointer on client side must be excluded.
   539  		// Safe replacement of context are provided only inside callback function
   540  		Context *context.Context
   541  		Call    call
   542  	}
   543  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   544  	QueryPoolGetDoneInfo struct {
   545  		Session  sessionInfo
   546  		Attempts int
   547  		Error    error
   548  	}
   549  	// Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals
   550  	QueryPoolChange struct {
   551  		Limit            int
   552  		Index            int
   553  		Idle             int
   554  		Wait             int
   555  		CreateInProgress int
   556  	}
   557  )