Class BaseStreamStepMeta

    • Constructor Detail

      • BaseStreamStepMeta

        public BaseStreamStepMeta()
    • Method Detail

      • getSubStep

        public String getSubStep()
      • setSubStep

        public void setSubStep​(String subStep)
      • setTransformationPath

        public void setTransformationPath​(String transformationPath)
      • setBatchSize

        public void setBatchSize​(String batchSize)
      • setPrefetchCount

        public void setPrefetchCount​(String prefetchCount)
      • setBatchDuration

        public void setBatchDuration​(String batchDuration)
      • setParallelism

        public void setParallelism​(String parallelism)
      • getTransformationPath

        public String getTransformationPath()
      • getBatchSize

        public String getBatchSize()
      • getPrefetchCount

        public String getPrefetchCount()
      • getBatchDuration

        public String getBatchDuration()
      • getParallelism

        public String getParallelism()
      • getMessageDataType

        public int getMessageDataType()
      • check

        public void check​(List<org.pentaho.di.core.CheckResultInterface> remarks,
                          TransMeta transMeta,
                          StepMeta stepMeta,
                          org.pentaho.di.core.row.RowMetaInterface prev,
                          String[] input,
                          String[] output,
                          org.pentaho.di.core.row.RowMetaInterface info,
                          org.pentaho.di.core.variables.VariableSpace space,
                          Repository repository,
                          org.pentaho.metastore.api.IMetaStore metaStore)
        Description copied from interface: StepMetaInterface
        Checks the settings of this step and puts the findings in a remarks List.
        Specified by:
        check in interface StepMetaInterface
        Overrides:
        check in class BaseStepMeta
        Parameters:
        remarks - The list to put the remarks in @see org.pentaho.di.core.CheckResult
        stepMeta - The stepMeta to help checking
        prev - The fields coming from the previous step
        input - The input step names
        output - The output step names
        info - The fields that are used as information by the step
        space - the variable space to resolve variable expressions with
        repository - the repository to use to load Kettle metadata objects impacting the output fields
        metaStore - the MetaStore to use to load additional external data or metadata impacting the output fields
      • loadReferencedObject

        public Object loadReferencedObject​(int index,
                                           Repository rep,
                                           org.pentaho.metastore.api.IMetaStore metaStore,
                                           org.pentaho.di.core.variables.VariableSpace space)
                                    throws org.pentaho.di.core.exception.KettleException
        Description copied from interface: StepMetaInterface
        Load the referenced object
        Specified by:
        loadReferencedObject in interface StepMetaInterface
        Overrides:
        loadReferencedObject in class BaseStepMeta
        Parameters:
        index - the referenced object index to load (in case there are multiple references)
        rep - the repository
        metaStore - the MetaStore to use
        space - the variable space to use
        Returns:
        the referenced object once loaded
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getRowMeta

        public abstract org.pentaho.di.core.row.RowMeta getRowMeta​(String origin,
                                                                   org.pentaho.di.core.variables.VariableSpace space)
                                                            throws org.pentaho.di.core.exception.KettleStepException
        Throws:
        org.pentaho.di.core.exception.KettleStepException
      • getFields

        public void getFields​(org.pentaho.di.core.row.RowMetaInterface rowMeta,
                              String origin,
                              org.pentaho.di.core.row.RowMetaInterface[] info,
                              StepMeta nextStep,
                              org.pentaho.di.core.variables.VariableSpace space,
                              Repository repository,
                              org.pentaho.metastore.api.IMetaStore metaStore)
                       throws org.pentaho.di.core.exception.KettleStepException
        Description copied from class: BaseStepMeta
        Gets the fields.
        Specified by:
        getFields in interface StepMetaInterface
        Overrides:
        getFields in class BaseStepMeta
        Parameters:
        rowMeta - the input row meta that is modified in this method to reflect the output row metadata of the step
        origin - Name of the step to use as input for the origin field in the values
        info - Fields used as extra lookup information
        nextStep - the next step that is targeted
        space - the space The variable space to use to replace variables
        repository - the repository to use to load Kettle metadata objects impacting the output fields
        metaStore - the MetaStore to use to load additional external data or metadata impacting the output fields
        Throws:
        org.pentaho.di.core.exception.KettleStepException - the kettle step exception