Inhaltsverzeichnis

Search

  1. Preface
  2. Einführung in Umwandlungen
  3. Umwandlungsports
  4. Umwandlungs-Caches
  5. Adressvalidator-Umwandlung
  6. Aggregator-Umwandlung
  7. Assoziations-Umwandlung
  8. Ausnahmeumwandlung bei fehlerhaftem Datensatz
  9. Fallumwandlerumwandlung
  10. Klassifizierumwandlung
  11. Vergleichsumwandlung
  12. Konsolidierungsumwandlung
  13. Datenmaskierungsumwandlung
  14. Datenprozessor-Umwandlung
  15. Entscheidungsumwandlung
  16. Ausnahmeumwandlung bei dupliziertem Datensatz
  17. Ausdrucksumwandlung
  18. Filterumwandlung
  19. Umwandlung von hierarchisch in relational
  20. Java-Umwandlung
  21. Java-Umwandlungs-API-Referenz
  22. Java-Ausdrücke
  23. Joiner-Umwandlung
  24. Schlüsselgeneratorumwandlung
  25. Labeler-Umwandlung
  26. Lookup-Umwandlung
  27. Lookup-Caches
  28. Dynamischer Lookup-Cache
  29. Match-Umwandlung
  30. Match-Umwandlungen in der Feldanalyse
  31. Match-Umwandlungen in der Identitätsanalyse
  32. Merge-Umwandlung
  33. Normalizer-Umwandlung
  34. Parser-Umwandlung
  35. Python-Umwandlung
  36. Rang-Umwandlung
  37. Leseumwandlung
  38. Relational-in-hierarchisch-Umwandlung
  39. REST-Webdienst-Verbraucher-Umwandlung
  40. Router-Umwandlung
  41. Sequenzgeneratorumwandlung
  42. Sortierer-Umwandlung
  43. SQL-Umwandlung
  44. Standardisierungs-Umwandlung
  45. Union-Umwandlung
  46. Update-Strategie-Umwandlung
  47. Web-Dienst-Verbraucher-Umwandlung
  48. Parsen von Webdienst-SOAP-Meldungen
  49. Generieren von Webdienst-SOAP-Meldungen
  50. Umwandlung für gewichteten Durchschnitt
  51. Schreibumwandlung
  52. Umwandlungs-Delimiter

Developer Transformation Guide

Developer Transformation Guide

Java Transformation Advanced Properties

Java Transformation Advanced Properties

The Java transformation includes advanced properties for both the transformation code and the transformation.
When you use the transformation in a mapping, you can override the transformation properties.
You can define the following advanced properties for the Java transformation on the
Advanced
tab:
Tracingebene
Die Menge an Detail, die im Protokoll für diese Umwandlung erscheint. Sie können „Kurz“, „Normal“, „Ausführliche Intialisierung“ oder „Ausführliche Daten“ wählen. Standardwert ist „Normal“.
Partitionable
Die Umwandlung kann mit mehreren Threads verarbeitet werden. Löschen Sie diese Option, wenn der Datenintegrationsdienst einen Thread verwenden soll, um die Umwandlung zu verarbeiten. Der Datenintegrationsdienst kann mehrere Threads verwenden, um die verbleibenden Mapping-Pipeline-Stages zu verarbeiten.
Disable partitioning for a Java transformation when the Java code requires that the transformation be processed with one thread.
Enable high precision
Processes a decimal data type port with a precision less than or equal to 38 as a Java BigDecimal data type port.
Disable high precision to process a decimal data type port as a Java Double data type port.
The following table shows how a Java transformation treats a value in a decimal data type input port based on whether you have enabled or disabled the high precision option:
Example
High Precision Processing Enabled
High Precision Processing Disabled
A decimal type input port receives a value of 40012030304957666903.
The Java transformation leaves the value as is.
The Java transformation converts the value to the following value:
4.00120303049577 x 10^19
Use nanoseconds in
Date/Time
Converts
date/time
datatype ports to Java BigDecimal datatype ports with nanosecond precision.
Disable nanosecond processing so that the generated Java code converts
date/time
datatype ports to Java Long datatype ports with millisecond precision.
Classpath
Sets the classpath for jar or class file directories that are associated with non-standard Java packages that you import on the
Imports
tab.
The jar or class file directories must be accessible on the Developer tool client machine for compilation of the Java code.
Based on the operating system, separate classpath entries as follows:
  • On UNIX, use a colon to separate classpath entries.
  • On Windows, use a semicolon to separate classpath entries.
For example, if you import the Java converter package on the
Imports
tab and you define the package in converter.jar, you must add the location of the converter.jar file to the classpath before you compile the Java code for the Java transformation.
You do not need to set the classpath for built-in Java packages. For example, because java.io is a built-in Java package, you do not need to set the classpath for java.io.
Is Active
The transformation can generate more than one output row for each input row.
You cannot change this property after you create the Java transformation. If you need to change this property, create a new Java transformation.
Transformation Scope
Defines the method that the Data Integration Service uses to apply the transformation logic to incoming data. You can choose one of the following values:
  • Row. Applies the transformation logic to one row of data at a time. Choose Row when the results of the procedure depend on a single row of data.
  • Transaction. Applies the transformation logic to all rows in a transaction. Choose Transaction when the results of the procedure depend on all rows in the same transaction, but not on rows in other transactions. When you choose Transaction, you must connect all input groups to the same transaction control point.
  • All Input. Applies the transformation logic to all incoming data. when you choose All Input, the Data Integration Service drops transaction boundaries. Choose All Input when the results of the procedure depend on all rows of data in the source.
The Transformation Scope property is valid only in a Hive environment.
Stateless
Beibehalten der Zeilenreihenfolge der Eingabedaten für die Umwandlung. Wählen Sie diese Option aus, wenn der Datenintegrationsdienst keine Optimierung durchführen soll, die die Zeilenreihenfolge verändern könnte.
Wenn der Datenintegrationsdienst Optimierungen durchführt, geht eine zu einem vorherigen Zeitpunkt im Mapping erstellte Reihenfolge möglicherweise verloren. Die Reihenfolge in einem Mapping können Sie mit einer Einfachdateiquelle, einer sortierten relationalen Quelle oder einer Sortierer-Umwandlung erstellen. Wenn Sie eine Umwandlung konfigurieren, um die Zeilenreihenfolge beizubehalten, berücksichtigt der Datenintegrationsdienst diese Konfiguration beim Durchführen von Optimierungen für das Mapping. Der Datenintegrationsdienst führt Optimierungen für die Umwandlung durch, wenn er die Reihenfolge beibehalten kann. Der Datenintegrationsdienst führt keine Optimierungen für die Umwandlung durch, wenn die Optimierungen die Zeilenreihenfolge verändern würden.