Class DoubleTVList

    • Method Detail

      • putDouble

        public void putDouble​(long timestamp,
                              double value)
        Overrides:
        putDouble in class TVList
      • getDouble

        public double getDouble​(int index)
        Overrides:
        getDouble in class TVList
      • set

        protected void set​(int index,
                           long timestamp,
                           double value)
      • sort

        public void sort()
        Specified by:
        sort in class TVList
      • setFromSorted

        protected void setFromSorted​(int src,
                                     int dest)
        Specified by:
        setFromSorted in class TVList
      • set

        protected void set​(int src,
                           int dest)
        Specified by:
        set in class TVList
      • setToSorted

        protected void setToSorted​(int src,
                                   int dest)
        Specified by:
        setToSorted in class TVList
      • reverseRange

        protected void reverseRange​(int lo,
                                    int hi)
        Specified by:
        reverseRange in class TVList
      • expandValues

        protected void expandValues()
        Specified by:
        expandValues in class TVList
      • saveAsPivot

        protected void saveAsPivot​(int pos)
        Specified by:
        saveAsPivot in class TVList
      • setPivotTo

        protected void setPivotTo​(int pos)
        Specified by:
        setPivotTo in class TVList
      • getTimeValuePair

        public org.apache.iotdb.tsfile.read.TimeValuePair getTimeValuePair​(int index)
        Description copied from class: TVList
        for log
        Specified by:
        getTimeValuePair in class TVList
      • getTimeValuePair

        protected org.apache.iotdb.tsfile.read.TimeValuePair getTimeValuePair​(int index,
                                                                              long time,
                                                                              java.lang.Integer floatPrecision,
                                                                              org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding encoding)
        Specified by:
        getTimeValuePair in class TVList
      • writeValidValuesIntoTsBlock

        protected void writeValidValuesIntoTsBlock​(org.apache.iotdb.tsfile.read.common.block.TsBlockBuilder builder,
                                                   int floatPrecision,
                                                   org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding encoding,
                                                   java.util.List<org.apache.iotdb.tsfile.read.common.TimeRange> deletionList)
        Specified by:
        writeValidValuesIntoTsBlock in class TVList
      • putDoubles

        public void putDoubles​(long[] time,
                               double[] value,
                               org.apache.iotdb.tsfile.utils.BitMap bitMap,
                               int start,
                               int end)
        Overrides:
        putDoubles in class TVList
      • getDataType

        public org.apache.iotdb.tsfile.file.metadata.enums.TSDataType getDataType()
        Specified by:
        getDataType in class TVList
      • serializedSize

        public int serializedSize()
        Description copied from interface: SerializedSize
        Calculate size after serialization.
        Returns:
        bytes number
      • serializeToWAL

        public void serializeToWAL​(IWALByteBufferView buffer)
        Description copied from interface: WALEntryValue
        Serialize using IWALByteBufferView, which encapsulates some actions to deal with BufferOverflowException occurs in ByteBuffer.
      • deserialize

        public static DoubleTVList deserialize​(java.io.DataInputStream stream)
                                        throws java.io.IOException
        Throws:
        java.io.IOException