2.1.8 • Published 6 years ago

kronos-interceptor-object-data-processor-chunk v2.1.8

Weekly downloads
12
License
BSD-2-Clause
Repository
github
Last release
6 years ago

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

ParamDescription
chunkDefinitionThe 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

ParamDescription
hashFieldsAll the field names used to create the hash
hashNameThe 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

ParamDescription
dataThe current stream data
errorThe 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

2.1.8

6 years ago

2.1.7

7 years ago

2.1.6

7 years ago

2.1.5

7 years ago

2.1.4

7 years ago

2.1.3

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.8

8 years ago

2.0.7

8 years ago

2.0.6

8 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago