Kronos-Integration / interceptor-object-data-processor-chunk

process and check import data streams. This checks the aggregated data
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

npm License minified size downloads Styled with prettier Commitizen friendly

kronos-interceptor-object-data-processor-chunk

Splits a line by a sparator into tokens

API

Table of Contents

ChunkProcessorInterceptor

Extends Interceptor

This interceptor cares about the handling of the messages. It will add the hops and copies the messages

Parameters

stream

This module will turn an array of tokens into an object.

constructor

Parameters

addRowActions

Add custom actions to the rowActions. These actions will be executed per row

Parameters

_transform

Reads the stream data and split it into lines.

Parameters

_flush

Flushes the data. Only needed if there are multi row fields used

Parameters

addError

Adds an error to the stream data

Parameters

createTmpHashAction

Creates a hash function to compute a content hash without the multirow fields

Parameters

createFunctions

Creates the checks for checking boolean values

Parameters

createHashFunction

Creates a function which generates a hash from the given content and stores the generated Hash under the given name in the record

Parameters

record

The function gerates the hash for the given record

Parameters

install

With npm do:

npm install kronos-interceptor-object-data-processor-chunk

license

BSD-2-Clause