Class ParGzipCsvInputMetaInjection
- java.lang.Object
-
- org.pentaho.di.trans.steps.parallelgzipcsv.ParGzipCsvInputMetaInjection
-
- All Implemented Interfaces:
StepMetaInjectionInterface
public class ParGzipCsvInputMetaInjection extends Object implements StepMetaInjectionInterface
This takes care of the external metadata injection into the ParGzipCsvInputMeta class- Author:
- Matt
-
-
Constructor Summary
Constructors Constructor Description ParGzipCsvInputMetaInjection(ParGzipCsvInputMeta meta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<StepInjectionMetaEntry>
extractStepMetadataEntries()
Extracts the step metadata in a standard fashion.ParGzipCsvInputMeta
getMeta()
List<StepInjectionMetaEntry>
getStepInjectionMetadataEntries()
void
injectStepMetadataEntries(List<StepInjectionMetaEntry> all)
Inject the metadata specified into the step metadata
-
-
-
Constructor Detail
-
ParGzipCsvInputMetaInjection
public ParGzipCsvInputMetaInjection(ParGzipCsvInputMeta meta)
-
-
Method Detail
-
getStepInjectionMetadataEntries
public List<StepInjectionMetaEntry> getStepInjectionMetadataEntries() throws org.pentaho.di.core.exception.KettleException
- Specified by:
getStepInjectionMetadataEntries
in interfaceStepMetaInjectionInterface
- Returns:
- A list of step injection metadata entries. In case the data type of the entry is NONE (0) you will get at least one entry in the details section. You can use this list to see a description of all the metadata.
- Throws:
org.pentaho.di.core.exception.KettleException
-
injectStepMetadataEntries
public void injectStepMetadataEntries(List<StepInjectionMetaEntry> all) throws org.pentaho.di.core.exception.KettleException
Description copied from interface:StepMetaInjectionInterface
Inject the metadata specified into the step metadata- Specified by:
injectStepMetadataEntries
in interfaceStepMetaInjectionInterface
- Parameters:
all
- the metadata to inject.- Throws:
org.pentaho.di.core.exception.KettleException
-
extractStepMetadataEntries
public List<StepInjectionMetaEntry> extractStepMetadataEntries() throws org.pentaho.di.core.exception.KettleException
Description copied from interface:StepMetaInjectionInterface
Extracts the step metadata in a standard fashion. Enables unit testing more easily by extracting the step metadata and then doing the re-injection into an empty step.- Specified by:
extractStepMetadataEntries
in interfaceStepMetaInjectionInterface
- Returns:
- A list of step injection metadata entries in a standard fashion. Includes both the entry and the value for the entry.
- Throws:
org.pentaho.di.core.exception.KettleException
-
getMeta
public ParGzipCsvInputMeta getMeta()
-
-