Class ValuePageReader


  • public class ValuePageReader
    extends java.lang.Object
    • Field Detail

      • valueBuffer

        protected java.nio.ByteBuffer valueBuffer
        value column in memory
    • Constructor Detail

      • ValuePageReader

        public ValuePageReader​(PageHeader pageHeader,
                               java.nio.ByteBuffer pageData,
                               TSDataType dataType,
                               Decoder valueDecoder)
    • Method Detail

      • nextBatch

        public 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
      • nextValue

        public TsPrimitiveType nextValue​(long timestamp,
                                         int timeIndex)
      • nextValueBatch

        public 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
      • writeColumnBuilderWithNextBatch

        public void writeColumnBuilderWithNextBatch​(int readEndIndex,
                                                    ColumnBuilder columnBuilder,
                                                    boolean[] keepCurrentRow,
                                                    boolean[] isDeleted)
      • getStatistics

        public Statistics getStatistics()
      • setDeleteIntervalList

        public void setDeleteIntervalList​(java.util.List<TimeRange> list)
      • getDeleteIntervalList

        public java.util.List<TimeRange> getDeleteIntervalList()
      • isModified

        public boolean isModified()
      • isDeleted

        protected boolean isDeleted​(long timestamp)
      • fillIsDeleted

        public void fillIsDeleted​(long[] timestamp,
                                  boolean[] isDeleted)
      • getBitmap

        public byte[] getBitmap()