Class ValuePageReader


  • public class ValuePageReader
    extends Object
    • Field Detail

      • valueBuffer

        protected ByteBuffer valueBuffer
        value column in memory
    • 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)
      • writeColumnBuilderWithNextBatch

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

        public void writeColumnBuilderWithNextBatch​(int readStartIndex,
                                                    int readEndIndex,
                                                    ColumnBuilder columnBuilder)
      • getStatistics

        public Statistics getStatistics()
      • setDeleteIntervalList

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

        public 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()