public class ValuePageReader extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ByteBuffer |
valueBuffer
value column in memory
|
| Constructor and Description |
|---|
ValuePageReader(PageHeader pageHeader,
ByteBuffer pageData,
TSDataType dataType,
Decoder valueDecoder) |
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
getDataType() |
List<TimeRange> |
getDeleteIntervalList() |
Statistics |
getStatistics() |
protected boolean |
isDeleted(long timestamp) |
boolean |
isModified() |
BatchData |
nextBatch(long[] timeBatch,
boolean ascending,
Filter filter)
return a BatchData with the corresponding timeBatch, the BatchData's dataType is same as this
sub sensor
|
TsPrimitiveType |
nextValue(long timestamp,
int timeIndex) |
TsPrimitiveType[] |
nextValueBatch(long[] timeBatch)
return the value array of the corresponding time, if this sub sensor don't have a value in a
time, just fill it with null
|
void |
setDeleteIntervalList(List<TimeRange> list) |
protected ByteBuffer valueBuffer
public ValuePageReader(PageHeader pageHeader, ByteBuffer pageData, TSDataType dataType, Decoder valueDecoder)
public BatchData nextBatch(long[] timeBatch, boolean ascending, Filter filter)
public TsPrimitiveType nextValue(long timestamp, int timeIndex)
public TsPrimitiveType[] nextValueBatch(long[] timeBatch)
public Statistics getStatistics()
public boolean isModified()
protected boolean isDeleted(long timestamp)
public TSDataType getDataType()
Copyright © 2022 The Apache Software Foundation. All rights reserved.