github.com/ydb-platform/ydb-go-sdk/v3@v3.89.2/trace/table.go (about) 1 package trace 2 3 import ( 4 "context" 5 ) 6 7 // tool gtrace used from ./internal/cmd/gtrace 8 9 //go:generate gtrace 10 11 type ( 12 // Table specified trace of table client activity. 13 // gtrace:gen 14 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 15 Table struct { 16 // Client events 17 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 18 OnInit func(TableInitStartInfo) func(TableInitDoneInfo) 19 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 20 OnClose func(TableCloseStartInfo) func(TableCloseDoneInfo) 21 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 22 OnDo func(TableDoStartInfo) func(TableDoDoneInfo) 23 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 24 OnDoTx func(TableDoTxStartInfo) func(TableDoTxDoneInfo) 25 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 26 OnBulkUpsert func(TableBulkUpsertStartInfo) func(TableBulkUpsertDoneInfo) 27 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 28 OnCreateSession func(TableCreateSessionStartInfo) func(TableCreateSessionDoneInfo) 29 // Session events 30 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 31 OnSessionNew func(TableSessionNewStartInfo) func(TableSessionNewDoneInfo) 32 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 33 OnSessionDelete func(TableSessionDeleteStartInfo) func(TableSessionDeleteDoneInfo) 34 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 35 OnSessionKeepAlive func(TableKeepAliveStartInfo) func(TableKeepAliveDoneInfo) 36 // Query events 37 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 38 OnSessionBulkUpsert func(TableSessionBulkUpsertStartInfo) func(TableSessionBulkUpsertDoneInfo) 39 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 40 OnSessionQueryPrepare func(TablePrepareDataQueryStartInfo) func(TablePrepareDataQueryDoneInfo) 41 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 42 OnSessionQueryExecute func(TableExecuteDataQueryStartInfo) func(TableExecuteDataQueryDoneInfo) 43 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 44 OnSessionQueryExplain func(TableExplainQueryStartInfo) func(TableExplainQueryDoneInfo) 45 // Stream events 46 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 47 OnSessionQueryStreamExecute func(TableSessionQueryStreamExecuteStartInfo) func(TableSessionQueryStreamExecuteDoneInfo) 48 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 49 OnSessionQueryStreamRead func(TableSessionQueryStreamReadStartInfo) func(TableSessionQueryStreamReadDoneInfo) 50 // Transaction events 51 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 52 OnTxBegin func(TableTxBeginStartInfo) func( 53 TableTxBeginDoneInfo, 54 ) 55 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 56 OnTxExecute func(TableTransactionExecuteStartInfo) func( 57 TableTransactionExecuteDoneInfo, 58 ) 59 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 60 OnTxExecuteStatement func(TableTransactionExecuteStatementStartInfo) func( 61 TableTransactionExecuteStatementDoneInfo, 62 ) 63 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 64 OnTxCommit func(TableTxCommitStartInfo) func( 65 TableTxCommitDoneInfo, 66 ) 67 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 68 OnTxRollback func(TableTxRollbackStartInfo) func(TableTxRollbackDoneInfo) 69 70 // Pool common API events 71 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 72 OnPoolPut func(TablePoolPutStartInfo) func(TablePoolPutDoneInfo) 73 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 74 OnPoolGet func(TablePoolGetStartInfo) func(TablePoolGetDoneInfo) 75 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 76 OnPoolWith func(TablePoolWithStartInfo) func(TablePoolWithDoneInfo) 77 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 78 OnPoolStateChange func(TablePoolStateChangeInfo) 79 80 // Deprecated 81 // Will be removed after March 2025. 82 // Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated 83 OnPoolSessionAdd func(info TablePoolSessionAddInfo) 84 // Deprecated 85 // Will be removed after March 2025. 86 // Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated 87 OnPoolSessionRemove func(info TablePoolSessionRemoveInfo) 88 // Deprecated 89 // Will be removed after March 2025. 90 // Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated 91 OnPoolWait func(TablePoolWaitStartInfo) func(TablePoolWaitDoneInfo) 92 } 93 ) 94 95 type ( 96 tableQueryParameters interface { 97 String() string 98 } 99 tableDataQuery interface { 100 String() string 101 ID() string 102 YQL() string 103 } 104 tableResultErr interface { 105 Err() error 106 } 107 tableResult interface { 108 tableResultErr 109 ResultSetCount() int 110 } 111 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 112 TableSessionNewStartInfo struct { 113 // Context make available context in trace callback function. 114 // Pointer to context provide replacement of context in trace callback function. 115 // Warning: concurrent access to pointer on client side must be excluded. 116 // Safe replacement of context are provided only inside callback function 117 Context *context.Context 118 Call call 119 } 120 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 121 TableSessionNewDoneInfo struct { 122 Session sessionInfo 123 Error error 124 } 125 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 126 TableKeepAliveStartInfo struct { 127 // Context make available context in trace callback function. 128 // Pointer to context provide replacement of context in trace callback function. 129 // Warning: concurrent access to pointer on client side must be excluded. 130 // Safe replacement of context are provided only inside callback function 131 Context *context.Context 132 Call call 133 Session sessionInfo 134 } 135 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 136 TableKeepAliveDoneInfo struct { 137 Error error 138 } 139 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 140 TableBulkUpsertStartInfo struct { 141 // Context make available context in trace callback function. 142 // Pointer to context provide replacement of context in trace callback function. 143 // Warning: concurrent access to pointer on client side must be excluded. 144 // Safe replacement of context are provided only inside callback function 145 Context *context.Context 146 Call call 147 } 148 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 149 TableBulkUpsertDoneInfo struct { 150 Error error 151 Attempts int 152 } 153 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 154 TableSessionBulkUpsertStartInfo struct { 155 // Context make available context in trace callback function. 156 // Pointer to context provide replacement of context in trace callback function. 157 // Warning: concurrent access to pointer on client side must be excluded. 158 // Safe replacement of context are provided only inside callback function 159 Context *context.Context 160 Call call 161 162 Session sessionInfo 163 } 164 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 165 TableSessionBulkUpsertDoneInfo struct { 166 Error error 167 } 168 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 169 TableSessionDeleteStartInfo struct { 170 // Context make available context in trace callback function. 171 // Pointer to context provide replacement of context in trace callback function. 172 // Warning: concurrent access to pointer on client side must be excluded. 173 // Safe replacement of context are provided only inside callback function 174 Context *context.Context 175 Call call 176 Session sessionInfo 177 } 178 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 179 TableSessionDeleteDoneInfo struct { 180 Error error 181 } 182 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 183 TablePrepareDataQueryStartInfo struct { 184 // Context make available context in trace callback function. 185 // Pointer to context provide replacement of context in trace callback function. 186 // Warning: concurrent access to pointer on client side must be excluded. 187 // Safe replacement of context are provided only inside callback function 188 Context *context.Context 189 Call call 190 Session sessionInfo 191 Query string 192 } 193 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 194 TablePrepareDataQueryDoneInfo struct { 195 Result tableDataQuery 196 Error error 197 } 198 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 199 TableExecuteDataQueryStartInfo struct { 200 // Context make available context in trace callback function. 201 // Pointer to context provide replacement of context in trace callback function. 202 // Warning: concurrent access to pointer on client side must be excluded. 203 // Safe replacement of context are provided only inside callback function 204 Context *context.Context 205 Call call 206 Session sessionInfo 207 Query tableDataQuery 208 Parameters tableQueryParameters 209 KeepInCache bool 210 } 211 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 212 TableTransactionExecuteStartInfo struct { 213 // Context make available context in trace callback function. 214 // Pointer to context provide replacement of context in trace callback function. 215 // Warning: concurrent access to pointer on client side must be excluded. 216 // Safe replacement of context are provided only inside callback function 217 Context *context.Context 218 Call call 219 Session sessionInfo 220 Tx txInfo 221 Query tableDataQuery 222 Parameters tableQueryParameters 223 } 224 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 225 TableTransactionExecuteStatementStartInfo struct { 226 // Context make available context in trace callback function. 227 // Pointer to context provide replacement of context in trace callback function. 228 // Warning: concurrent access to pointer on client side must be excluded. 229 // Safe replacement of context are provided only inside callback function 230 Context *context.Context 231 Call call 232 Session sessionInfo 233 Tx txInfo 234 StatementQuery tableDataQuery 235 Parameters tableQueryParameters 236 } 237 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 238 TableExplainQueryStartInfo 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 Session sessionInfo 246 Query string 247 } 248 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 249 TableExplainQueryDoneInfo struct { 250 AST string 251 Plan string 252 Error error 253 } 254 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 255 TableExecuteDataQueryDoneInfo struct { 256 Tx txInfo 257 Prepared bool 258 Result tableResult 259 Error error 260 } 261 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 262 TableTransactionExecuteDoneInfo struct { 263 Result tableResult 264 Error error 265 } 266 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 267 TableTransactionExecuteStatementDoneInfo struct { 268 Result tableResult 269 Error error 270 } 271 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 272 TableSessionQueryStreamReadStartInfo struct { 273 // Context make available context in trace callback function. 274 // Pointer to context provide replacement of context in trace callback function. 275 // Warning: concurrent access to pointer on client side must be excluded. 276 // Safe replacement of context are provided only inside callback function 277 Context *context.Context 278 Call call 279 Session sessionInfo 280 } 281 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 282 TableSessionQueryStreamReadDoneInfo struct { 283 Error error 284 } 285 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 286 TableSessionQueryStreamExecuteStartInfo struct { 287 // Context make available context in trace callback function. 288 // Pointer to context provide replacement of context in trace callback function. 289 // Warning: concurrent access to pointer on client side must be excluded. 290 // Safe replacement of context are provided only inside callback function 291 Context *context.Context 292 Call call 293 Session sessionInfo 294 Query tableDataQuery 295 Parameters tableQueryParameters 296 } 297 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 298 TableSessionQueryStreamExecuteDoneInfo struct { 299 Error error 300 } 301 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 302 TableTxBeginStartInfo struct { 303 // Context make available context in trace callback function. 304 // Pointer to context provide replacement of context in trace callback function. 305 // Warning: concurrent access to pointer on client side must be excluded. 306 // Safe replacement of context are provided only inside callback function 307 Context *context.Context 308 Call call 309 Session sessionInfo 310 } 311 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 312 TableTxBeginDoneInfo struct { 313 Tx txInfo 314 Error error 315 } 316 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 317 TableTxCommitStartInfo struct { 318 // Context make available context in trace callback function. 319 // Pointer to context provide replacement of context in trace callback function. 320 // Warning: concurrent access to pointer on client side must be excluded. 321 // Safe replacement of context are provided only inside callback function 322 Context *context.Context 323 Call call 324 Session sessionInfo 325 Tx txInfo 326 } 327 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 328 TableTxCommitDoneInfo struct { 329 Error error 330 } 331 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 332 TableTxRollbackStartInfo struct { 333 // Context make available context in trace callback function. 334 // Pointer to context provide replacement of context in trace callback function. 335 // Warning: concurrent access to pointer on client side must be excluded. 336 // Safe replacement of context are provided only inside callback function 337 Context *context.Context 338 Call call 339 Session sessionInfo 340 Tx txInfo 341 } 342 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 343 TableTxRollbackDoneInfo struct { 344 Error error 345 } 346 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 347 TableInitStartInfo struct { 348 // Context make available context in trace callback function. 349 // Pointer to context provide replacement of context in trace callback function. 350 // Warning: concurrent access to pointer on client side must be excluded. 351 // Safe replacement of context are provided only inside callback function 352 Context *context.Context 353 Call call 354 } 355 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 356 TableInitDoneInfo struct { 357 Limit int 358 } 359 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 360 TablePoolStateChangeInfo struct { 361 Limit int 362 Index int 363 Idle int 364 Wait int 365 CreateInProgress int 366 367 // Deprecated: use Index field instead. 368 // Will be removed after March 2025. 369 // Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated 370 Size int 371 } 372 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 373 TablePoolSessionNewStartInfo struct { 374 // Context make available context in trace callback function. 375 // Pointer to context provide replacement of context in trace callback function. 376 // Warning: concurrent access to pointer on client side must be excluded. 377 // Safe replacement of context are provided only inside callback function 378 Context *context.Context 379 Call call 380 } 381 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 382 TablePoolSessionNewDoneInfo struct { 383 Session sessionInfo 384 Error error 385 } 386 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 387 TablePoolGetStartInfo struct { 388 // Context make available context in trace callback function. 389 // Pointer to context provide replacement of context in trace callback function. 390 // Warning: concurrent access to pointer on client side must be excluded. 391 // Safe replacement of context are provided only inside callback function 392 Context *context.Context 393 Call call 394 } 395 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 396 TablePoolGetDoneInfo struct { 397 Session sessionInfo 398 Attempts int 399 Error error 400 } 401 // Deprecated 402 // Will be removed after March 2025. 403 // Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated 404 TablePoolWaitStartInfo struct { 405 // Context make available context in trace callback function. 406 // Pointer to context provide replacement of context in trace callback function. 407 // Warning: concurrent access to pointer on client side must be excluded. 408 // Safe replacement of context are provided only inside callback function 409 Context *context.Context 410 Call call 411 } 412 // Deprecated 413 // Will be removed after March 2025. 414 // Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated 415 TablePoolWaitDoneInfo struct { 416 Session sessionInfo 417 Error error 418 } 419 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 420 TablePoolWithStartInfo struct { 421 // Context make available context in trace callback function. 422 // Pointer to context provide replacement of context in trace callback function. 423 // Warning: concurrent access to pointer on client side must be excluded. 424 // Safe replacement of context are provided only inside callback function 425 Context *context.Context 426 Call call 427 } 428 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 429 TablePoolWithDoneInfo struct { 430 Attempts int 431 Error error 432 } 433 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 434 TablePoolPutStartInfo struct { 435 // Context make available context in trace callback function. 436 // Pointer to context provide replacement of context in trace callback function. 437 // Warning: concurrent access to pointer on client side must be excluded. 438 // Safe replacement of context are provided only inside callback function 439 Context *context.Context 440 Call call 441 Session sessionInfo 442 } 443 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 444 TablePoolPutDoneInfo struct { 445 Error error 446 } 447 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 448 TablePoolSessionCloseStartInfo struct { 449 // Context make available context in trace callback function. 450 // Pointer to context provide replacement of context in trace callback function. 451 // Warning: concurrent access to pointer on client side must be excluded. 452 // Safe replacement of context are provided only inside callback function 453 Context *context.Context 454 Call call 455 Session sessionInfo 456 } 457 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 458 TablePoolSessionCloseDoneInfo struct{} 459 // Deprecated 460 // Will be removed after March 2025. 461 // Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated 462 TablePoolSessionAddInfo struct { 463 Session sessionInfo 464 } 465 // Deprecated 466 // Will be removed after March 2025. 467 // Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated 468 TablePoolSessionRemoveInfo struct { 469 Session sessionInfo 470 } 471 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 472 TableCloseStartInfo struct { 473 // Context make available context in trace callback function. 474 // Pointer to context provide replacement of context in trace callback function. 475 // Warning: concurrent access to pointer on client side must be excluded. 476 // Safe replacement of context are provided only inside callback function 477 Context *context.Context 478 Call call 479 } 480 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 481 TableCloseDoneInfo struct { 482 Error error 483 } 484 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 485 TableDoStartInfo struct { 486 // Context make available context in trace callback function. 487 // Pointer to context provide replacement of context in trace callback function. 488 // Warning: concurrent access to pointer on client side must be excluded. 489 // Safe replacement of context are provided only inside callback function 490 Context *context.Context 491 Call call 492 493 Label string 494 Idempotent bool 495 NestedCall bool // flag when Retry called inside head Retry 496 } 497 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 498 TableDoDoneInfo struct { 499 Attempts int 500 Error error 501 } 502 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 503 TableDoTxStartInfo struct { 504 // Context make available context in trace callback function. 505 // Pointer to context provide replacement of context in trace callback function. 506 // Warning: concurrent access to pointer on client side must be excluded. 507 // Safe replacement of context are provided only inside callback function 508 Context *context.Context 509 Call call 510 511 Label string 512 Idempotent bool 513 NestedCall bool // flag when Retry called inside head Retry 514 } 515 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 516 TableDoTxDoneInfo struct { 517 Attempts int 518 Error error 519 } 520 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 521 TableCreateSessionStartInfo 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 } 529 // Internals: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#internals 530 TableCreateSessionDoneInfo struct { 531 Session sessionInfo 532 Attempts int 533 Error error 534 } 535 )