|
|
static ReaderProperties | FromMap (const std::unordered_map< std::string, std::string > &properties) |
| | Create a ReaderProperties instance from a map of key-value pairs.
|
| |
|
|
static Entry< int64_t > | kBatchSize {"read.batch-size", 4096} |
| | The batch size to read.
|
| |
|
static Entry< bool > | kAvroSkipDatum {"read.avro.skip-datum", true} |
| | Skip GenericDatum in Avro reader for better performance. When true, decode directly from Avro to Arrow without GenericDatum intermediate. Default: true (skip GenericDatum for better performance).
|
| |
|
static Entry< int64_t > | kAvroBufferSize {"read.avro.buffer-size", 1024 * 1024} |
| | The buffer size used by Avro input stream.
|
| |
|
|
ConfigBase & | Set (const Entry< T > &entry, const T &val) |
| |
|
ConfigBase & | Unset (const Entry< T > &entry) |
| |
|
ConfigBase & | Reset () |
| |
|
T | Get (const Entry< T > &entry) const |
| |
|
const std::unordered_map< std::string, std::string > & | configs () const |
| |
|
std::unordered_map< std::string, std::string > & | mutable_configs () |
| |
| std::unordered_map< std::string, std::string > | Extract (std::string_view prefix) const |
| | Extracts the prefix from the configuration.
|
| |
|
std::unordered_map< std::string, std::string > | configs_ |
| |
The documentation for this class was generated from the following files: