org.pentaho.di.trans.steps.univariatestats
Class UnivariateStatsData

java.lang.Object
  extended by org.pentaho.di.trans.step.BaseStepData
      extended by org.pentaho.di.trans.steps.univariatestats.UnivariateStatsData
All Implemented Interfaces:
StepDataInterface

public class UnivariateStatsData
extends BaseStepData
implements StepDataInterface

Holds temporary data and has routines for computing derived statistics.

Version:
1.0
Author:
Mark Hall (mhall{[at]}pentaho.org)

Nested Class Summary
static class UnivariateStatsData.FieldIndex
          Inner class used to hold operating field index, intermediate data and final results for a stats calculation.
 
Nested classes/interfaces inherited from class org.pentaho.di.trans.step.BaseStepData
BaseStepData.StepExecutionStatus
 
Constructor Summary
UnivariateStatsData()
          Creates a new UnivariateStatsData instance.
 
Method Summary
 UnivariateStatsData.FieldIndex[] getFieldIndexes()
          Get the fieldIndexes
 RowMetaInterface getInputRowMeta()
          Get the meta data for the input format
 RowMetaInterface getOutputRowMeta()
          Get the meta data for the output format
 void setFieldIndexes(UnivariateStatsData.FieldIndex[] fis)
          Set the FieldIndexes
 void setInputRowMeta(RowMetaInterface rmi)
          Save the meta data for the input format.
 void setOutputRowMeta(RowMetaInterface rmi)
          Set the meta data for the output format
 
Methods inherited from class org.pentaho.di.trans.step.BaseStepData
getStatus, isDisposed, isEmpty, isFinished, isIdle, isInitialising, isRunning, isStopped, setStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.di.trans.step.StepDataInterface
getStatus, isDisposed, isEmpty, isFinished, isIdle, isInitialising, isRunning, setStatus
 

Constructor Detail

UnivariateStatsData

public UnivariateStatsData()
Creates a new UnivariateStatsData instance.

Method Detail

setFieldIndexes

public void setFieldIndexes(UnivariateStatsData.FieldIndex[] fis)
Set the FieldIndexes

Parameters:
fis - a FieldIndex[] value

getFieldIndexes

public UnivariateStatsData.FieldIndex[] getFieldIndexes()
Get the fieldIndexes

Returns:
a FieldIndex[] value

getInputRowMeta

public RowMetaInterface getInputRowMeta()
Get the meta data for the input format

Returns:
a RowMetaInterface value

setInputRowMeta

public void setInputRowMeta(RowMetaInterface rmi)
Save the meta data for the input format. (I'm not sure that this is really needed)

Parameters:
rmi - a RowMetaInterface value

getOutputRowMeta

public RowMetaInterface getOutputRowMeta()
Get the meta data for the output format

Returns:
a RowMetaInterface value

setOutputRowMeta

public void setOutputRowMeta(RowMetaInterface rmi)
Set the meta data for the output format

Parameters:
rmi - a RowMetaInterface value