Class FieldIndex
java.lang.Object
org.pentaho.di.trans.steps.univariatestats.FieldIndex
Class used to hold operating field index, intermediate data and final results for a stats calculation.
 Has functions to compute the mean, standard deviation and arbitrary percentiles. Percentiles can be computed using
 interpolation or a simple method. See 
 The Engineering Statistics Handbook for details.
- 
Field SummaryFieldsModifier and TypeFieldDescriptiondoubleintdoubledoubledoubledoubledoubledoubledoubledouble
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidObject[]generateOutputValues(UnivariateStatsMetaFunction usmf, ArrayList<Number> cache) Constructs an array of Objects containing the requested statistics for one univariate stats meta function using thisFieldIndex.
- 
Field Details- 
m_columnIndexpublic int m_columnIndex
- 
m_countpublic double m_count
- 
m_meanpublic double m_mean
- 
m_stdDevpublic double m_stdDev
- 
m_maxpublic double m_max
- 
m_minpublic double m_min
- 
m_medianpublic double m_median
- 
m_arbitraryPercentilepublic double m_arbitraryPercentile
- 
m_sumpublic double m_sum
- 
m_sumSqpublic double m_sumSq
 
- 
- 
Constructor Details- 
FieldIndexpublic FieldIndex()
 
- 
- 
Method Details- 
calculateDerivedpublic void calculateDerived()
- 
generateOutputValuesConstructs an array of Objects containing the requested statistics for one univariate stats meta function using thisFieldIndex.- Parameters:
- usmf- the- UnivariateStatsMetaFunctionto compute stats for. This contains the input field selected by the user along with which stats to compute for it.
- Returns:
- an array of computed statistics
 
 
-