arrow.jsonread_options

Module for [JSONReadOptions] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
JSONReadOptions self() nothrowReturns `this`, for use in `with` statements.
JSONReadOptionsGidBuilder builder() static nothrowGet builder for [arrow.jsonread_options.JSONReadOptions] Returns: New builder object
bool allowNewlinesInValues() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `schema` property. Returns: Schema for passing custom conversion rules.
void schema(arrow.schema.Schema propval) @property nothrowSet `schema` property. Params: propval = Schema for passing custom conversion rules.
arrow.types.JSONReadUnexpectedFieldBehavior unexpectedFieldBehavior() @property nothrowGet `unexpectedFieldBehavior` property. Returns: How to parse handle fields outside the explicit schema.
void unexpectedFieldBehavior(arrow.types.JSONReadUnexpectedFieldBehavior propval) @property nothrowSet `unexpectedFieldBehavior` property. Params: propval = How to parse handle fields outside the explicit schema.
bool useThreads() @property nothrowGet `useThreads` property. Returns: Whether to use the global CPU thread pool.
void useThreads(bool propval) @property nothrowSet `useThreads` property. Params: propval = Whether to use the global CPU thread pool.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for arrow.jsonread_options.JSONReadOptions

Methods
T allowNewlinesInValues(bool propval) nothrowSet `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) nothrowSet `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) nothrowSet `schema` property. Params: propval = Schema for passing custom conversion rules. Returns: Builder instance for fluent chaining
T unexpectedFieldBehavior(arrow.types.JSONReadUnexpectedFieldBehavior propval) nothrowSet `unexpectedFieldBehavior` property. Params: propval = How to parse handle fields outside the explicit schema. Returns: Builder instance for fluent chaining
T useThreads(bool propval) nothrowSet `useThreads` property. Params: propval = Whether to use the global CPU thread pool. Returns: Builder instance for fluent chaining
Methods
JSONReadOptions build() nothrowCreate object from builder. Returns: New object