pyarrow.json.ReadOptions#

class pyarrow.json.ReadOptions(use_threads=None, block_size=None)#

Bases: _Weakrefable

Options for reading JSON files.

Parameters:
use_threadsbool, optional (default True)

Whether to use multiple threads to accelerate reading

block_sizeint, 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)#

Methods

__init__(*args, **kwargs)

equals(self, ReadOptions other)

Parameters:

Attributes

block_size

How much bytes to process at a time from the input stream.

use_threads

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.

equals(self, ReadOptions other)#
Parameters:
otherpyarrow.json.ReadOptions
Returns:
bool
use_threads#

Whether to use multiple threads to accelerate reading.