pyarrow.json.ReadOptions¶
-
class
pyarrow.json.
ReadOptions
(use_threads=None, block_size=None)¶ Bases:
pyarrow.lib._Weakrefable
Options for reading JSON files.
- Parameters
use_threads (bool, optional (default True)) – Whether to use multiple threads to accelerate reading
block_size (int, optional) – How much bytes to process at a time from the input stream. This will determine multi-threading granularity as well as the size of individual chunks in the Table.
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(*args, **kwargs)Initialize self.
Attributes
How much bytes to process at a time from the input stream.
Whether to use multiple threads to accelerate reading.
-
block_size
¶ How much bytes to process at a time from the input stream.
This will determine multi-threading granularity as well as the size of individual chunks in the Table.
-
use_threads
¶ Whether to use multiple threads to accelerate reading.