|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.trans.step.BaseStep
org.pentaho.di.trans.steps.univariatestats.UnivariateStats
public class UnivariateStats
Calculate univariate statistics based on one column of the input data.
Calculates N, mean, standard deviation, minimum, maximum, median and arbitrary percentiles. Percentiles can be calculated using interpolation or a simple method. See The Engineering Statistics Handbook for details.
| Field Summary |
|---|
| Fields inherited from class org.pentaho.di.trans.step.BaseStep |
|---|
first, linesInput, linesOutput, linesRead, linesRejected, linesSkipped, linesUpdated, linesWritten, terminator, terminator_rows |
| Constructor Summary | |
|---|---|
UnivariateStats(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int copyNr,
TransMeta transMeta,
Trans trans)
Creates a new UnivariateStats instance. |
|
| Method Summary | |
|---|---|
boolean |
init(StepMetaInterface smi,
StepDataInterface sdi)
Initialize the step. |
boolean |
processRow(StepMetaInterface smi,
StepDataInterface sdi)
Process an incoming row of data. |
void |
run()
Run is where the action happens! |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.pentaho.di.core.variables.VariableSpace |
|---|
copyVariablesFrom, environmentSubstitute, environmentSubstitute, getBooleanValueOfVariable, getParentVariableSpace, getVariable, getVariable, initializeVariablesFrom, injectVariables, listVariables, setParentVariableSpace, setVariable, shareVariablesWith |
| Constructor Detail |
|---|
public UnivariateStats(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int copyNr,
TransMeta transMeta,
Trans trans)
UnivariateStats instance.
stepMeta - holds the step's meta datastepDataInterface - holds the step's temporary datacopyNr - the number assigned to the steptransMeta - meta data for the transformationtrans - a Trans value| Method Detail |
|---|
public boolean processRow(StepMetaInterface smi,
StepDataInterface sdi)
throws KettleException
processRow in interface StepInterfaceprocessRow in class BaseStepsmi - a StepMetaInterface valuesdi - a StepDataInterface value
boolean value
KettleException - if an error occurs
public boolean init(StepMetaInterface smi,
StepDataInterface sdi)
init in interface StepInterfaceinit in class BaseStepsmi - a StepMetaInterface valuesdi - a StepDataInterface value
boolean valuepublic void run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||