public class PageReader extends Object implements IPageReader
| Modifier and Type | Field and Description |
|---|---|
protected TSDataType |
dataType |
protected Filter |
filter |
protected ByteBuffer |
timeBuffer
time column in memory
|
protected Decoder |
timeDecoder
decoder for time column
|
protected ByteBuffer |
valueBuffer
value column in memory
|
protected Decoder |
valueDecoder
decoder for value column
|
| Constructor and Description |
|---|
PageReader(ByteBuffer pageData,
TSDataType dataType,
Decoder valueDecoder,
Decoder timeDecoder,
Filter filter) |
PageReader(PageHeader pageHeader,
ByteBuffer pageData,
TSDataType dataType,
Decoder valueDecoder,
Decoder timeDecoder,
Filter filter) |
| Modifier and Type | Method and Description |
|---|---|
TsBlock |
getAllSatisfiedData() |
BatchData |
getAllSatisfiedPageData(boolean ascending) |
List<TimeRange> |
getDeleteIntervalList() |
Statistics |
getStatistics() |
void |
initTsBlockBuilder(List<TSDataType> dataTypes) |
protected boolean |
isDeleted(long timestamp) |
boolean |
isModified() |
void |
setDeleteIntervalList(List<TimeRange> list) |
void |
setFilter(Filter filter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllSatisfiedPageDataprotected TSDataType dataType
protected Decoder valueDecoder
protected Decoder timeDecoder
protected ByteBuffer timeBuffer
protected ByteBuffer valueBuffer
protected Filter filter
public PageReader(ByteBuffer pageData, TSDataType dataType, Decoder valueDecoder, Decoder timeDecoder, Filter filter)
public PageReader(PageHeader pageHeader, ByteBuffer pageData, TSDataType dataType, Decoder valueDecoder, Decoder timeDecoder, Filter filter)
public BatchData getAllSatisfiedPageData(boolean ascending) throws IOException
getAllSatisfiedPageData in interface IPageReaderIOExceptionpublic TsBlock getAllSatisfiedData() throws IOException
getAllSatisfiedData in interface IPageReaderIOExceptionpublic Statistics getStatistics()
getStatistics in interface IPageReaderpublic void setFilter(Filter filter)
setFilter in interface IPageReaderpublic boolean isModified()
isModified in interface IPageReaderpublic void initTsBlockBuilder(List<TSDataType> dataTypes)
initTsBlockBuilder in interface IPageReaderprotected boolean isDeleted(long timestamp)
Copyright © 2022 The Apache Software Foundation. All rights reserved.