Skip to main content

@terascope/file-asset-apis / interfaces / ChunkedFileReaderConfig

Interface: ChunkedFileReaderConfig

Defined in: interfaces.ts:36

Extends

Extended by

Properties

PropertyTypeDescriptionInherited fromDefined in
compression?Compression--interfaces.ts:38
file_per_slice?boolean--interfaces.ts:44
formatFormat--interfaces.ts:37
line_delimiter?stringSpecifies the ending line format, override for non unix like file endings Default \n-interfaces.ts:43
on_reject_action?stringParameter to determine how the default rejectFn works, may be set to "throw", "log", or "none" Default "throw"-interfaces.ts:50
rejectFn?(input, err) => nullCan 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 handlerChunkedAPIMethods.rejectFninterfaces.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 defaultChunkedAPIMethods.tryFninterfaces.ts:20