Class GroupByData
- java.lang.Object
-
- org.pentaho.di.trans.step.BaseStepData
-
- org.pentaho.di.trans.steps.groupby.GroupByData
-
- All Implemented Interfaces:
StepDataInterface
public class GroupByData extends BaseStepData implements StepDataInterface
- Since:
- 24-jan-2005
- Author:
- Matt
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.di.trans.step.BaseStepData
BaseStepData.StepExecutionStatus
-
-
Field Summary
Fields Modifier and Type Field Description Object[]aggorg.pentaho.di.core.row.RowMetaInterfaceaggMetatarget value meta for aggregation fieldsArrayList<Object[]>bufferListlong[]countsList<Integer>cumulativeAvgSourceIndexesList<Integer>cumulativeAvgTargetIndexesList<Integer>cumulativeSumSourceIndexesList<Integer>cumulativeSumTargetIndexesSet<Object>[]distinctObjsDataInputStreamdisToTmpFileDataOutputStreamdosToTempFilebooleanfirstReadFileInputStreamfisToTmpFileFileOutputStreamfosToTempFileorg.pentaho.di.core.row.RowMetaInterfacegroupAggMetaorg.pentaho.di.core.row.RowMetaInterfacegroupMetaint[]groupnrsObject[]groupResultbooleanhasOutputorg.pentaho.di.core.row.RowMetaInterfaceinputRowMetadouble[]meanbooleannewBatchorg.pentaho.di.core.row.RowMetaInterfaceoutputRowMetaObject[]previouslong[]previousAvgCountObject[]previousAvgSumObject[]previousSumsintrowsOnFileint[]subjectnrsarray, length is equal to aggMeta value meta list size and metadata subject fields length.FiletempFileorg.pentaho.di.core.row.ValueMetaInterfacevalueMetaIntegerorg.pentaho.di.core.row.ValueMetaInterfacevalueMetaNumber
-
Constructor Summary
Constructors Constructor Description GroupByData()
-
Method Summary
-
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
clone, equals, finalize, 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
-
-
-
-
Field Detail
-
previous
public Object[] previous
-
aggMeta
public org.pentaho.di.core.row.RowMetaInterface aggMeta
target value meta for aggregation fields
-
agg
public Object[] agg
-
groupMeta
public org.pentaho.di.core.row.RowMetaInterface groupMeta
-
groupAggMeta
public org.pentaho.di.core.row.RowMetaInterface groupAggMeta
-
groupnrs
public int[] groupnrs
-
subjectnrs
public int[] subjectnrs
array, length is equal to aggMeta value meta list size and metadata subject fields length. Values corresponds to input values used to calculate target results.
-
counts
public long[] counts
-
tempFile
public File tempFile
-
fosToTempFile
public FileOutputStream fosToTempFile
-
dosToTempFile
public DataOutputStream dosToTempFile
-
rowsOnFile
public int rowsOnFile
-
firstRead
public boolean firstRead
-
fisToTmpFile
public FileInputStream fisToTmpFile
-
disToTmpFile
public DataInputStream disToTmpFile
-
groupResult
public Object[] groupResult
-
hasOutput
public boolean hasOutput
-
inputRowMeta
public org.pentaho.di.core.row.RowMetaInterface inputRowMeta
-
outputRowMeta
public org.pentaho.di.core.row.RowMetaInterface outputRowMeta
-
previousSums
public Object[] previousSums
-
previousAvgSum
public Object[] previousAvgSum
-
previousAvgCount
public long[] previousAvgCount
-
valueMetaInteger
public org.pentaho.di.core.row.ValueMetaInterface valueMetaInteger
-
valueMetaNumber
public org.pentaho.di.core.row.ValueMetaInterface valueMetaNumber
-
mean
public double[] mean
-
newBatch
public boolean newBatch
-
-