Class ReaderConfig
Read-time behaviour knobs for ParquetFileReader.
A ReaderConfig is an immutable value carrying per-read behaviour, as opposed
to HardwoodContext, which holds the shared, stateful runtime
resources (the decode executor, the native decompression pools). A single
context can back many reads with different configurations, so a behaviour knob
never forces a fresh thread pool.
Knobs are string-keyed (see ReaderConfig.Builder.option(String, String)) so an experimental or
transitional flag can be added and later retired without changing this type.
The reader resolves and validates the keys it recognises; an unrecognised key
is ignored, but the reader logs it at WARNING when the config is used, so a
typo surfaces rather than silently taking the default.
Obtain the defaults with defaults() or set options through builder().
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ReaderConfig.Builderbuilder()A builder for setting reader options.static ReaderConfigdefaults()The default configuration (no options set).options()The options set on this config, as an immutable map.
-
Method Details
-
defaults
The default configuration (no options set). -
builder
A builder for setting reader options. -
options
-