Table of Contents

Search

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

0 COMMENTS

We’d like to hear from you!