|
| 1 | +[](https://www.npmjs.com/package/kronos-interceptor-object-data-processor-chunk) |
| 2 | +[](https://github.com/Kronos-integration/kronos-interceptor-object-data-processor-chunk) |
| 3 | +[](http://travis-ci.org/Kronos-integration/kronos-interceptor-object-data-processor-chunk) |
| 4 | +[](https://www.bithound.io/github/Kronos-integration/kronos-interceptor-object-data-processor-chunk) |
| 5 | +[](http://codecov.io/github/Kronos-integration/kronos-interceptor-object-data-processor-chunk?branch=master) |
| 6 | +[](https://coveralls.io/r/Kronos-integration/kronos-interceptor-object-data-processor-chunk) |
| 7 | +[](https://codeclimate.com/github/Kronos-integration/kronos-interceptor-object-data-processor-chunk) |
| 8 | +[](https://snyk.io/test/github/Kronos-integration/kronos-interceptor-object-data-processor-chunk) |
| 9 | +[](https://github.com/Kronos-integration/kronos-interceptor-object-data-processor-chunk/issues) |
| 10 | +[](http://waffle.io/Kronos-integration/kronos-interceptor-object-data-processor-chunk) |
| 11 | +[](https://david-dm.org/Kronos-integration/kronos-interceptor-object-data-processor-chunk) |
| 12 | +[](https://david-dm.org/Kronos-integration/kronos-interceptor-object-data-processor-chunk#info=devDependencies) |
| 13 | +[](http://inch-ci.org/github/Kronos-integration/kronos-interceptor-object-data-processor-chunk) |
| 14 | +[](https://npmjs.org/package/kronos-interceptor-object-data-processor-chunk) |
| 15 | +[](http://commitizen.github.io/cz-cli/) |
| 16 | + |
| 17 | + |
| 18 | +kronos-interceptor-object-data-processor-chunk |
| 19 | +===== |
| 20 | +Splits a line by a sparator into tokens |
| 21 | + |
| 22 | +# API Reference |
| 23 | + |
| 24 | +* <a name="createFunctions"></a> |
| 25 | + |
| 26 | +## createFunctions(chunkDefinition) |
| 27 | +Creates the checks for checking boolean values |
| 28 | + |
| 29 | +**Kind**: global function |
| 30 | + |
| 31 | +| Param | Description | |
| 32 | +| --- | --- | |
| 33 | +| chunkDefinition | The chunk definition for these records. | |
| 34 | + |
| 35 | + |
| 36 | +* <a name="createHashFunction"></a> |
| 37 | + |
| 38 | +## createHashFunction(hashFields, hashName) |
| 39 | +Creates a function which generates a hash from the given content and stores the generated Hash under the given name in the record |
| 40 | + |
| 41 | +**Kind**: global function |
| 42 | + |
| 43 | +| Param | Description | |
| 44 | +| --- | --- | |
| 45 | +| hashFields | All the field names used to create the hash | |
| 46 | +| hashName | The name to be used to store the hash value back in the record | |
| 47 | + |
| 48 | + |
| 49 | +* <a name="addError"></a> |
| 50 | + |
| 51 | +## addError(data, error) |
| 52 | +Adds an error to the stream data |
| 53 | + |
| 54 | +**Kind**: global function |
| 55 | + |
| 56 | +| Param | Description | |
| 57 | +| --- | --- | |
| 58 | +| data | The current stream data | |
| 59 | +| error | The error to be added. | |
| 60 | + |
| 61 | + |
| 62 | +* <a name="createTmpHashAction"></a> |
| 63 | + |
| 64 | +## createTmpHashAction() |
| 65 | +Creates a hash function to compute a content hash without the multirow fields |
| 66 | + |
| 67 | +**Kind**: global function |
| 68 | + |
| 69 | +* <a name="DataProcessorChunk+addRowActions"></a> |
| 70 | + |
| 71 | +## dataProcessorChunk.addRowActions() |
| 72 | +Add custom actions to the rowActions. |
| 73 | +These actions will be executed per row |
| 74 | + |
| 75 | +**Kind**: instance method of <code>[DataProcessorChunk](#DataProcessorChunk)</code> |
| 76 | + |
| 77 | +* <a name="DataProcessorChunk+_transform"></a> |
| 78 | + |
| 79 | +## dataProcessorChunk._transform() |
| 80 | +Reads the stream data and split it into lines. |
| 81 | + |
| 82 | +**Kind**: instance method of <code>[DataProcessorChunk](#DataProcessorChunk)</code> |
| 83 | + |
| 84 | +* <a name="DataProcessorChunk+_flush"></a> |
| 85 | + |
| 86 | +## dataProcessorChunk._flush() |
| 87 | +Flushes the data. |
| 88 | +Only needed if there are multi row fields used |
| 89 | + |
| 90 | +**Kind**: instance method of <code>[DataProcessorChunk](#DataProcessorChunk)</code> |
| 91 | + |
| 92 | +* * * |
| 93 | + |
| 94 | +install |
| 95 | +======= |
| 96 | + |
| 97 | +With [npm](http://npmjs.org) do: |
| 98 | + |
| 99 | +```shell |
| 100 | +npm install kronos-interceptor-object-data-processor-chunk |
| 101 | +``` |
| 102 | + |
| 103 | +license |
| 104 | +======= |
| 105 | + |
| 106 | +BSD-2-Clause |
0 commit comments