Table of Contents

Search

  1. Preface
  2. Transformations
  3. Source transformation
  4. Target transformation
  5. Aggregator transformation
  6. Cleanse transformation
  7. Data Masking transformation
  8. Deduplicate transformation
  9. Expression transformation
  10. Filter transformation
  11. Hierarchy Builder transformation
  12. Hierarchy Parser transformation
  13. Hierarchy Processor transformation
  14. Input transformation
  15. Java transformation
  16. Java transformation API reference
  17. Joiner transformation
  18. Labeler transformation
  19. Lookup transformation
  20. Mapplet transformation
  21. Normalizer transformation
  22. Output transformation
  23. Parse transformation
  24. Python transformation
  25. Rank transformation
  26. Router transformation
  27. Rule Specification transformation
  28. Sequence Generator transformation
  29. Sorter transformation
  30. SQL transformation
  31. Structure Parser transformation
  32. Transaction Control transformation
  33. Union transformation
  34. Velocity transformation
  35. Verifier transformation
  36. Web Services transformation

Transformations

Transformations

Step 2. Configure field selection criteria

Step 2. Configure field selection criteria

When you configure a field rule, you specify the field selection criteria to determine which incoming fields apply to the field rule.
You can choose one of the following field selection criteria:
All Fields
Includes all of the incoming fields. You can rename the incoming fields in bulk when you use this option in combination with the
Includes
operator.
Named Fields
Includes or excludes the incoming fields that you specify. Use the
Named Fields
selection criteria to specify individual incoming fields to rename or to include or exclude from the incoming transformation. When you enter the field selection criteria details, you can review all of the incoming fields and select the fields to include or exclude. You can add a field that exists in the source if it does not display in the list. You can also create a parameter to represent a field to include or exclude.
Fields by Data Type
Includes or excludes incoming fields with the data types that you specify. When you enter the field selection criteria details, you can select the data types that you want to include or exclude.
Fields by Text or Pattern
Includes or excludes incoming fields by prefix, suffix, or pattern. You can use this option to select fields that you renamed earlier in the data flow. When you enter the field selection criteria details, you can select a prefix, suffix, or pattern, and define the rule to use.
When you select the prefix option or suffix option, you enter the text to use as the prefix or suffix. For example, to find all fields that start with the string, "Cust," enter
Cust
as the prefix.
When you select the pattern option, you can enter a regular expression or you can use a parameter for the pattern. The expression must use perl compatible regular expression syntax. For example, to find all fields that start with the strings "Cust" or "Addr," enter the pattern
Cust.*|Addr.*
. To find all fields that contain the string "Cust" or "CUST" anywhere in the field name, enter the pattern
.*Cust.*|.*CUST.*
. For more information about perl compatible regular expression syntax, see the help for the REG_EXTRACT function in
Function Reference
.
The following image shows the selection of the
Fields by Data Types
field selection criteria:
The image shows a rule in the Field Rules area with the Exclude Fields by Data Types field selection criteria selected. The Detail column shows the Configure link, which means the specific data type needs to be selected.
The following image shows the selection of the
date/time
data type for the field selection criteria details:
The Configure Field Rules dialog box shows the available data types that can be selected to determine which fields to exclude.