public class FileSeriesReaderByTimestamp extends Object
| Modifier and Type | Field and Description |
|---|---|
protected IChunkLoader |
chunkLoader |
protected List<IChunkMetadata> |
chunkMetadataList |
| Constructor and Description |
|---|
FileSeriesReaderByTimestamp(IChunkLoader chunkLoader,
List<IChunkMetadata> chunkMetadataList)
init with chunkLoader and chunkMetaDataList.
|
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
getDataType() |
Object |
getValueInTimestamp(long timestamp)
get value with time equals timestamp.
|
boolean |
hasNext()
Judge if the series reader has next time-value pair.
|
protected IChunkLoader chunkLoader
protected List<IChunkMetadata> chunkMetadataList
public FileSeriesReaderByTimestamp(IChunkLoader chunkLoader, List<IChunkMetadata> chunkMetadataList)
public TSDataType getDataType()
public Object getValueInTimestamp(long timestamp) throws IOException
IOExceptionpublic boolean hasNext()
throws IOException
IOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.