|
C++ YT Wrapper
C++ library for working with YT clusters
|
Options for NYT::IClient::CreateTableWriter. More...
#include <client_method_options.h>
Public Member Functions | |
| TSelf & | SingleHttpRequest (bool) |
| Enable or disable retryful writing. | |
| TSelf & | BufferSize (size_t) |
| Allows to change the size of locally buffered rows before flushing to yt. | |
| TSelf & | FormatHints (TFormatHints) |
| Allows to fine tune format that is used for writing tables. | |
| TSelf & | InferSchema (bool) |
| Try to infer schema of inexistent table from the type of written rows. | |
| TSelf & | AutoFinish (bool) |
| Wheter to call Finish automatically in writer destructor. | |
| TSelf & | WriterOptions (TWriterOptions) |
| Options to control how YT server side writes data. | |
| Public Member Functions inherited from NYT::TIOOptions< TTableWriterOptions > | |
| TSelf & | Config (TNode) |
| Advanced options for reader/writer. | |
| TSelf & | CreateTransaction (bool) |
| Whether to create internal client transaction for reading / writing table. | |
Options for NYT::IClient::CreateTableWriter.
| TSelf & NYT::TTableWriterOptions::AutoFinish | ( | bool | ) |
Wheter to call Finish automatically in writer destructor.
If set to true (default) Finish() is called automatically in the destructor of writer. It is convenient for simple usecases but might be error-prone if writing exception safe code (In case of exceptions it's common to abort writer and not commit partial data).
If set to false Finish() has to be called explicitly.
| TSelf & NYT::TTableWriterOptions::BufferSize | ( | size_t | ) |
Allows to change the size of locally buffered rows before flushing to yt.
Used only with NYT::TTableWriterOptions::SingleHttpRequest
| TSelf & NYT::TTableWriterOptions::FormatHints | ( | TFormatHints | ) |
Allows to fine tune format that is used for writing tables.
Has no effect when used with raw-writer.
| TSelf & NYT::TTableWriterOptions::InferSchema | ( | bool | ) |
Try to infer schema of inexistent table from the type of written rows.
| TSelf & NYT::TTableWriterOptions::SingleHttpRequest | ( | bool | ) |
Enable or disable retryful writing.
If set to true no retry is made but we also make less requests to master. If set to false writer can make up to TConfig::RetryCount attempts to send each block of data.
| TSelf & NYT::TTableWriterOptions::WriterOptions | ( | TWriterOptions | ) |
Options to control how YT server side writes data.