-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from robertrichter/master
Added features - mentioned in readme
- Loading branch information
Showing
24 changed files
with
1,615 additions
and
431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ | |
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/target/ | ||
/talend_component/.classpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 | ||
org.eclipse.jdt.core.compiler.compliance=1.5 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
org.eclipse.jdt.core.compiler.compliance=1.8 | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning | ||
org.eclipse.jdt.core.compiler.source=1.5 | ||
org.eclipse.jdt.core.compiler.source=1.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<faceted-project> | ||
<installed facet="java" version="1.8"/> | ||
</faceted-project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,77 @@ | ||
# Talend component tHashRow | ||
This component creates a hash value for a schema. | ||
This component creates a hash value. All configured input columns will be concateneded with the given delimiter. The resulting string will be used to calculate the hash value. Every configured hash input manipulation will be applied, before the hash is calculated and populated to the selected output column. | ||
|
||
# Basic Settings | ||
|
||
## Basic configuration | ||
### Hash type | ||
Algorithm that will be used to generate the hash | ||
|
||
### Hash output | ||
Column of the output schema in which the hash value will be written | ||
|
||
## Hash input manipulation | ||
|
||
### Relevant fields | ||
|
||
|Column|Use|Trim|Case Sensitive| | ||
|------|---|----|--------------| | ||
|List of input columns| Check if column should added to the hash| Check if column should be trimmed| Select if column should be upper case, lower case, case sensitive or not in use (eg. in case of numeric values) | ||
|
||
### Delimiter | ||
Delimter to seperate the input values | ||
|
||
### Null replacement | ||
Value that will be used to calculate the hash, if input value is null | ||
- Example if replacement value is set to "#NULL#"" | ||
+ COLUMN_1 = "Test" | ||
+ COLUMN_2 = null | ||
+ COLUMN_3 = 123 | ||
+ Hash Input results in "Test";#NULL#;123 | ||
|
||
### Fraction size (float) | ||
Maximum precision of float values | ||
|
||
### Fraction size (double) | ||
Maximum precision of double values | ||
|
||
### Number format | ||
List of available number formats. Grouping is gernerally disabled. | ||
|
||
### Date format | ||
#### Format date as miliseconds | ||
- if checked | ||
+ all date fields will be represented as miliseconds since unix epoch | ||
- if unchecked | ||
+ all date fields will be represented in the given date format | ||
|
||
### Enable string quoting | ||
String based fields will be surrounded with the given quotation mark | ||
|
||
### Cut of empty trialing hash input values | ||
If checked all empty trailing values will be truncated before hash will be calculated | ||
- Example without quoting | ||
+ Hash Input = CUSTOMER A;1234;STREET 1;;; | ||
+ results in CUSTOMER A;1234;STREET 1 | ||
- Example with quoting | ||
+ Hash Input = "CUSTOMER A";1234;"STREET 1";"";;"" | ||
+ results also in CUSTOMER A;1234;STREET 1 | ||
|
||
# Advanced Settings | ||
|
||
## Hash output manipulation | ||
### Modify hash output | ||
If all input values are null, the hash value will be replaced with the given value | ||
- Example 1 | ||
+ checked and value is set to "22222222222222222222222222222222" | ||
+ Hash input = ;;;;; | ||
+ Hash value = "22222222222222222222222222222222" | ||
- Example 2 | ||
+ unchecked | ||
+ Hash input = ;;;;; | ||
+ Hash value = 8f0158355357e8302939ea687dba9363 | ||
|
||
## Additional settings | ||
### Show hash input | ||
If checked the hash input (concatenation of all input values) will be exposed to the selected column | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.