kronos-interceptor-object-data-processor-chunk

2.1.8 • Public • Published

npm Greenkeeper semantic-release Build Status bithound codecov.io Coverage Status Code Climate Known Vulnerabilities GitHub Issues Stories in Ready Dependency Status devDependency Status docs downloads Commitizen friendly

kronos-interceptor-object-data-processor-chunk

Splits a line by a sparator into tokens

API Reference

createFunctions(chunkDefinition)

Creates the checks for checking boolean values

Kind: global function

Param Description
chunkDefinition The chunk definition for these records.

createHashFunction(hashFields, hashName)

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

Kind: global function

Param Description
hashFields All the field names used to create the hash
hashName The name to be used to store the hash value back in the record

addError(data, error)

Adds an error to the stream data

Kind: global function

Param Description
data The current stream data
error The error to be added.

createTmpHashAction()

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

Kind: global function

dataProcessorChunk.addRowActions()

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

Kind: instance method of DataProcessorChunk

dataProcessorChunk._transform()

Reads the stream data and split it into lines.

Kind: instance method of DataProcessorChunk

dataProcessorChunk._flush()

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

Kind: instance method of DataProcessorChunk


install

With npm do:

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

license

BSD-2-Clause

Package Sidebar

Install

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

Weekly Downloads

23

Version

2.1.8

License

BSD-2-Clause

Last publish

Collaborators

  • darlenya