public abstract class BaseStreamStepMeta extends StepWithMappingMeta implements StepMetaInterface
Modifier and Type | Field and Description |
---|---|
protected String |
batchDuration |
protected String |
batchSize |
static String |
DURATION |
static String |
NUM_MESSAGES |
static String |
SUB_STEP |
protected String |
subStep |
static String |
TRANSFORMATION_PATH |
protected String |
transformationPath |
directoryPath, fileName, specificationMethod, transName, transObjectId
attributes, databases, ioMeta, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
Constructor and Description |
---|
BaseStreamStepMeta() |
Modifier and Type | Method and Description |
---|---|
void |
check(List<CheckResultInterface> remarks,
TransMeta transMeta,
StepMeta stepMeta,
RowMetaInterface prev,
String[] input,
String[] output,
RowMetaInterface info,
VariableSpace space,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
Checks the settings of this step and puts the findings in a remarks List.
|
String |
getBatchDuration() |
String |
getBatchSize() |
void |
getFields(RowMetaInterface rowMeta,
String origin,
RowMetaInterface[] info,
StepMeta nextStep,
VariableSpace space,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
Gets the fields.
|
String[] |
getReferencedObjectDescriptions() |
List<ResourceReference> |
getResourceDependencies(TransMeta transMeta,
StepMeta stepInfo)
Get a list of all the resource dependencies that the step is depending on.
|
abstract RowMeta |
getRowMeta(String origin,
VariableSpace space) |
String |
getSubStep() |
String |
getTransformationPath() |
boolean[] |
isReferencedObjectEnabled() |
Object |
loadReferencedObject(int index,
Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
VariableSpace space)
Load the referenced object
|
void |
replaceFileName(String fileName) |
void |
setBatchDuration(String batchDuration) |
void |
setBatchSize(String batchSize) |
void |
setDefault()
Set default values
|
void |
setSubStep(String subStep) |
void |
setTransformationPath(String transformationPath) |
activateParams, addMissingVariables, exportResources, getDirectories, getDirectoryPath, getFileName, getSpecificationMethod, getSpecificationMethods, getTransName, getTransObjectId, loadMappingMeta, loadMappingMeta, replaceVariableValues, setDirectories, setDirectoryPath, setFileName, setSpecificationMethod, setTransName, setTransObjectId
getXML, loadXML, readRep, saveRep, withVariables
analyseImpact, analyseImpact, cancelQueries, check, check, clone, createEntry, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, extractStepMetadataEntries, findAttribute, findParent, findParentEntry, getActiveReferencedObjectDescription, getDescription, getDialogClassName, getFields, getLog, getLogChannelId, getName, getObjectCopy, getObjectId, getObjectRevision, getObjectType, getOptionalStreams, getParent, getParentStepMeta, getRepCode, getRepositoryDirectory, getRequiredFields, getRequiredFields, getSQLStatements, getSQLStatements, getStepInjectionMetadataEntries, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getTooltip, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, getXmlCode, handleStreamSelection, hasChanged, hasRepositoryReferences, isBasic, isDebug, isDetailed, isRowLevel, loadReferencedObject, loadStepAttributes, loadXML, loadXML, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, lookupRepositoryReferences, readRep, readRep, resetStepIoMeta, saveRep, searchInfoAndTargetSteps, setChanged, setChanged, setParentStepMeta, supportsErrorHandling
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyseImpact, analyseImpact, cancelQueries, check, cleanAfterHopFromRemove, clone, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, getActiveReferencedObjectDescription, getDialogClassName, getFields, getOptionalStreams, getParentStepMeta, getRequiredFields, getSQLStatements, getSQLStatements, getStep, getStepData, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, getXML, handleStreamSelection, hasChanged, hasRepositoryReferences, loadXML, loadXML, lookupRepositoryReferences, passDataToServletOutput, readRep, readRep, resetStepIoMeta, saveRep, saveRep, searchInfoAndTargetSteps, setChanged, setParentStepMeta, supportsErrorHandling
public static final String TRANSFORMATION_PATH
public static final String NUM_MESSAGES
public static final String DURATION
public static final String SUB_STEP
protected String transformationPath
protected String batchSize
protected String batchDuration
protected String subStep
public String getSubStep()
public void setSubStep(String subStep)
public void setTransformationPath(String transformationPath)
public void setBatchSize(String batchSize)
public void setBatchDuration(String batchDuration)
public void setDefault()
StepMetaInterface
setDefault
in interface StepMetaInterface
public String getTransformationPath()
public String getBatchSize()
public String getBatchDuration()
public void replaceFileName(String fileName)
replaceFileName
in class StepWithMappingMeta
fileName
- the fileName to setpublic void check(List<CheckResultInterface> remarks, TransMeta transMeta, StepMeta stepMeta, RowMetaInterface prev, String[] input, String[] output, RowMetaInterface info, VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore)
StepMetaInterface
check
in interface StepMetaInterface
check
in class BaseStepMeta
remarks
- The list to put the remarks in @see org.pentaho.di.core.CheckResultstepMeta
- The stepMeta to help checkingprev
- The fields coming from the previous stepinput
- The input step namesoutput
- The output step namesinfo
- The fields that are used as information by the stepspace
- the variable space to resolve variable expressions withrepository
- the repository to use to load Kettle metadata objects impacting the output fieldsmetaStore
- the MetaStore to use to load additional external data or metadata impacting the output fieldspublic List<ResourceReference> getResourceDependencies(TransMeta transMeta, StepMeta stepInfo)
BaseStepMeta
getResourceDependencies
in interface StepMetaInterface
getResourceDependencies
in class BaseStepMeta
public String[] getReferencedObjectDescriptions()
getReferencedObjectDescriptions
in interface StepMetaInterface
getReferencedObjectDescriptions
in class BaseStepMeta
public boolean[] isReferencedObjectEnabled()
isReferencedObjectEnabled
in interface StepMetaInterface
isReferencedObjectEnabled
in class BaseStepMeta
public Object loadReferencedObject(int index, Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, VariableSpace space) throws KettleException
StepMetaInterface
loadReferencedObject
in interface StepMetaInterface
loadReferencedObject
in class BaseStepMeta
index
- the referenced object index to load (in case there are multiple references)rep
- the repositorymetaStore
- the MetaStore to usespace
- the variable space to useKettleException
public abstract RowMeta getRowMeta(String origin, VariableSpace space) throws KettleStepException
KettleStepException
public void getFields(RowMetaInterface rowMeta, String origin, RowMetaInterface[] info, StepMeta nextStep, VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) throws KettleStepException
BaseStepMeta
getFields
in interface StepMetaInterface
getFields
in class BaseStepMeta
rowMeta
- the input row meta that is modified in this method to reflect the output row metadata of the steporigin
- Name of the step to use as input for the origin field in the valuesinfo
- Fields used as extra lookup informationnextStep
- the next step that is targetedspace
- the space The variable space to use to replace variablesrepository
- the repository to use to load Kettle metadata objects impacting the output fieldsmetaStore
- the MetaStore to use to load additional external data or metadata impacting the output fieldsKettleStepException
- the kettle step exceptionCopyright © 2018 Hitachi Vantara. All rights reserved.