pyarrow.json.ReadOptions#

classpyarrow.json.ReadOptions(use_threads=None,block_size=None)#

Bases:_Weakrefable

Options for reading JSON files.

Parameters:
use_threadsbool, optional (defaultTrue)

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 asthe size of individual chunks in the Table.

__init__(*args,**kwargs)#

Methods

__init__(*args, **kwargs)

equals(self, ReadOptions other)

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 ofindividual chunks in the Table.

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

Whether to use multiple threads to accelerate reading.