Home > Cloud Cruiser 3 > Batch XML Reference > Transform processors > CreateLookupFromIdentifier

CreateLookupFromIdentifier

Table of contents
No headers

Creates a new lookup table from existing identifier values. For more information on lookup tables, also known as translation tables, see Translation process.

Class

<bean class="com.cloudcruiser.batch.transform.CreateLookupFromIdentifier">

Properties

<property name="patternIdentifier" value="patternIdentifier
" />

Sets the pattern identifier value.

<property name="lowIdentifier" value="lowIdentifier
" />

Sets the low identifier value.

<property name="highIdentifier" value="highIdentifier
" />

Sets the high identifier value.

<property name="valueIdentifier" value="valueIdentifier
" />

Sets the lookup identifier value.

<property name="lookupFile" value="lookupFile
" />

Sets a resource to a file-based translation table.

<property name="encoding" value="encoding
" />

Sets the encoding.

<property name="transactional" value="true" />

Sets the transactional flag.

Spring Batch XML Example

<batch:step id="transform" next="charge">
  <batch:tasklet>
    <bean class="com.cloudcruiser.batch.CCRecordTransformTasklet">
      <property name="processors">
        <list>
          <bean class="com.cloudcruiser.batch.transform.CreateLookupFromIdentifier">
            <property name="active" value="true" />
            <property name="lookupFile" value="${env.processDir}/${env.selectDate}_templateName_lookup.csv" />
            <property name="patternIdentifier" value="ServiceName" />
            <property name="valueIdentifier" value="TemplateName" />
          </bean>
        </list>
      </property>
    </bean>
  </batch:tasklet>
</batch:step>
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP