public class DescReadBatchData extends BatchData
BatchData.BatchDataTypebatchDataType, binaryRet, booleanRet, capacity, CAPACITY_THRESHOLD, count, dataType, doubleRet, floatRet, intRet, longRet, readCurArrayIndex, readCurListIndex, timeRet, vectorRet, writeCurArrayIndex, writeCurListIndex| Constructor and Description |
|---|
DescReadBatchData() |
DescReadBatchData(TSDataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
BatchData |
flip()
When put data, the writeIndex increases while the readIndex remains 0.
|
Object |
getValueInTimestamp(long time) |
boolean |
hasCurrent() |
void |
next() |
void |
resetBatchData()
This method is used to reset batch data when more than one group by aggregation functions visit
the same batch data
|
currentTime, currentTsPrimitiveType, currentValue, getBatchDataIterator, getBatchDataIterator, getBatchDataType, getBinary, getBinaryByIndex, getBoolean, getBooleanByIndex, getDataType, getDouble, getDoubleByIndex, getFloat, getFloatByIndex, getInt, getIntByIndex, getLastPairBeforeOrEqualTimestamp, getLong, getLongByIndex, getMaxTimestamp, getMinTimestamp, getReadCurArrayIndex, getReadCurListIndex, getTimeByIndex, getVector, getVectorByIndex, init, isEmpty, length, putAnObject, putBinary, putBoolean, putDouble, putFloat, putInt, putLong, putVector, resetBatchData, serializeData, setBinary, setBoolean, setDataType, setDouble, setFloat, setInt, setLong, setTime, setVectorpublic DescReadBatchData()
public DescReadBatchData(TSDataType dataType)
public boolean hasCurrent()
hasCurrent in class BatchDatapublic void resetBatchData()
BatchDataresetBatchData in class BatchDatapublic BatchData flip()
public Object getValueInTimestamp(long time)
getValueInTimestamp in class BatchDataCopyright © 2022 The Apache Software Foundation. All rights reserved.