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, transObjectIdattributes, databases, 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 |
getFileName() |
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, activateParams, addMissingVariables, exportResources, getDirectories, getDirectoryPath, getInputMappings, getOutputMappings, getSpecificationMethod, getSpecificationMethods, getTransName, getTransObjectId, loadMappingMeta, loadMappingMeta, replaceVariableValues, setDirectories, setDirectoryPath, setFileName, setSpecificationMethod, setTransName, setTransObjectIdcopyObject, getXML, loadXML, readRep, saveRep, withVariablesanalyseImpact, 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, 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, setStepIOMeta, supportsErrorHandlingequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanalyseImpact, analyseImpact, cancelQueries, check, cleanAfterHopFromRemove, cleanAfterHopFromRemove, cleanAfterHopToRemove, clone, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, fetchTransMeta, 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, supportsErrorHandlingpublic 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()
StepMetaInterfacesetDefault in interface StepMetaInterfacepublic String getTransformationPath()
public String getBatchSize()
public String getBatchDuration()
public void replaceFileName(String fileName)
replaceFileName in class StepWithMappingMetafileName - 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)
StepMetaInterfacecheck in interface StepMetaInterfacecheck in class BaseStepMetaremarks - 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 String getFileName()
getFileName in class StepWithMappingMetapublic List<ResourceReference> getResourceDependencies(TransMeta transMeta, StepMeta stepInfo)
BaseStepMetagetResourceDependencies in interface StepMetaInterfacegetResourceDependencies in class BaseStepMetapublic String[] getReferencedObjectDescriptions()
getReferencedObjectDescriptions in interface StepMetaInterfacegetReferencedObjectDescriptions in class BaseStepMetapublic boolean[] isReferencedObjectEnabled()
isReferencedObjectEnabled in interface StepMetaInterfaceisReferencedObjectEnabled in class BaseStepMetapublic Object loadReferencedObject(int index, Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, VariableSpace space) throws KettleException
StepMetaInterfaceloadReferencedObject in interface StepMetaInterfaceloadReferencedObject in class BaseStepMetaindex - the referenced object index to load (in case there are multiple references)rep - the repositorymetaStore - the MetaStore to usespace - the variable space to useKettleExceptionpublic abstract RowMeta getRowMeta(String origin, VariableSpace space) throws KettleStepException
KettleStepExceptionpublic void getFields(RowMetaInterface rowMeta, String origin, RowMetaInterface[] info, StepMeta nextStep, VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) throws KettleStepException
BaseStepMetagetFields in interface StepMetaInterfacegetFields in class BaseStepMetarowMeta - 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.