Class FixLengthIExternalSortFileDeserializer

  • All Implemented Interfaces:
    IExternalSortFileDeserializer, org.apache.iotdb.tsfile.read.reader.IPointReader

    public class FixLengthIExternalSortFileDeserializer
    extends java.lang.Object
    implements IExternalSortFileDeserializer
    FileFormat: [Header][Body]

    [Header] = [DataTypeLength] + [DataTypeInStringBytes]

    [DataTypeLength] = 4 bytes.

    • Constructor Detail

      • FixLengthIExternalSortFileDeserializer

        public FixLengthIExternalSortFileDeserializer​(java.lang.String tmpFilePath)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • hasNextTimeValuePair

        public boolean hasNextTimeValuePair()
                                     throws java.io.IOException
        Specified by:
        hasNextTimeValuePair in interface org.apache.iotdb.tsfile.read.reader.IPointReader
        Throws:
        java.io.IOException
      • nextTimeValuePair

        public org.apache.iotdb.tsfile.read.TimeValuePair nextTimeValuePair()
                                                                     throws java.io.IOException
        Specified by:
        nextTimeValuePair in interface org.apache.iotdb.tsfile.read.reader.IPointReader
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface org.apache.iotdb.tsfile.read.reader.IPointReader
        Throws:
        java.io.IOException
      • getTmpFilePath

        public java.lang.String getTmpFilePath()