arrow.jsonread_options

Module for [JSONReadOptions] class

Types 3

Methods
GType _gType() @property
JSONReadOptions self()Returns `this`, for use in `with` statements.
JSONReadOptionsGidBuilder builder()Get builder for [arrow.jsonread_options.JSONReadOptions] Returns: New builder object
bool allowNewlinesInValues() @propertyGet `allowNewlinesInValues` property. Returns: Whether objects may be printed across multiple lines (for example pretty printed). if false, input must end with an empty line.
void allowNewlinesInValues(bool propval) @propertySet `allowNewlinesInValues` property. Params: propval = Whether objects may be printed across multiple lines (for example pretty printed). if false, input must end with an empty line.
int blockSize() @propertyGet `blockSize` property. Returns: Block size we request from the IO layer; also determines the size of chunks when #GArrowJSONReadOptions:use-threads is true.
void blockSize(int propval) @propertySet `blockSize` property. Params: propval = Block size we request from the IO layer; also determines the size of chunks when #GArrowJSONReadOptions:use-threads is true.
arrow.schema.Schema schema() @propertyGet `schema` property. Returns: Schema for passing custom conversion rules.
void schema(arrow.schema.Schema propval) @propertySet `schema` property. Params: propval = Schema for passing custom conversion rules.
arrow.types.JSONReadUnexpectedFieldBehavior unexpectedFieldBehavior() @propertyGet `unexpectedFieldBehavior` property. Returns: How to parse handle fields outside the explicit schema.
void unexpectedFieldBehavior(arrow.types.JSONReadUnexpectedFieldBehavior propval) @propertySet `unexpectedFieldBehavior` property. Params: propval = How to parse handle fields outside the explicit schema.
bool useThreads() @propertyGet `useThreads` property. Returns: Whether to use the global CPU thread pool.
void useThreads(bool propval) @propertySet `useThreads` property. Params: propval = Whether to use the global CPU thread pool.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T allowNewlinesInValues(bool propval)Set `allowNewlinesInValues` property. Params: propval = Whether objects may be printed across multiple lines (for example pretty printed). if false, input must end with an empty line. Returns: Buil...
T blockSize(int propval)Set `blockSize` property. Params: propval = Block size we request from the IO layer; also determines the size of chunks when #GArrowJSONReadOptions:use-threads is true. Returns: Builder instance fo...
T schema(arrow.schema.Schema propval)Set `schema` property. Params: propval = Schema for passing custom conversion rules. Returns: Builder instance for fluent chaining
T unexpectedFieldBehavior(arrow.types.JSONReadUnexpectedFieldBehavior propval)Set `unexpectedFieldBehavior` property. Params: propval = How to parse handle fields outside the explicit schema. Returns: Builder instance for fluent chaining
T useThreads(bool propval)Set `useThreads` property. Params: propval = Whether to use the global CPU thread pool. Returns: Builder instance for fluent chaining

Fluent builder for [arrow.jsonread_options.JSONReadOptions]