@terascope/file-asset-apis / interfaces / ChunkedFileReaderConfig
Interface: ChunkedFileReaderConfig
Defined in: interfaces.ts:36
Extends
Extended by
Properties
Property | Type | Description | Inherited from | Defined in |
---|---|---|---|---|
compression? | Compression | - | - | interfaces.ts:38 |
file_per_slice? | boolean | - | - | interfaces.ts:44 |
format | Format | - | - | interfaces.ts:37 |
line_delimiter? | string | Specifies the ending line format, override for non unix like file endings Default \n | - | interfaces.ts:43 |
on_reject_action? | string | Parameter to determine how the default rejectFn works, may be set to "throw", "log", or "none" Default "throw" | - | interfaces.ts:50 |
rejectFn? | (input , err ) => null | Can pass in your own custom error handler, if you do so it will ignore the "on_reject_action" configuration which only works for the default error handler | ChunkedAPIMethods .rejectFn | interfaces.ts:25 |
tryFn? | (fn ) => (input ) => null | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> | can pass in your own custom try/catch logic or use the default | ChunkedAPIMethods .tryFn | interfaces.ts:20 |