Class MultiTsFileDeviceIterator.MeasurementIterator

  • Enclosing class:
    MultiTsFileDeviceIterator

    public class MultiTsFileDeviceIterator.MeasurementIterator
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getAllMeasurements()  
      java.util.LinkedList<org.apache.iotdb.tsfile.utils.Pair<org.apache.iotdb.tsfile.read.TsFileSequenceReader,​java.util.List<org.apache.iotdb.tsfile.file.metadata.ChunkMetadata>>> getMetadataListForCurrentSeries()
      Collect all the chunk metadata of current series from the source files.
      boolean hasNextSeries()  
      java.lang.String nextSeries()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAllMeasurements

        public java.util.Set<java.lang.String> getAllMeasurements()
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • hasNextSeries

        public boolean hasNextSeries()
      • nextSeries

        public java.lang.String nextSeries()
      • getMetadataListForCurrentSeries

        public java.util.LinkedList<org.apache.iotdb.tsfile.utils.Pair<org.apache.iotdb.tsfile.read.TsFileSequenceReader,​java.util.List<org.apache.iotdb.tsfile.file.metadata.ChunkMetadata>>> getMetadataListForCurrentSeries()
                                                                                                                                                                                                                              throws org.apache.iotdb.commons.exception.IllegalPathException
        Collect all the chunk metadata of current series from the source files.

        If there are any modifications for these chunk, we will apply them to the metadata. Use `ChunkMetadata.getDeleteIntervalList() == null` to judge if the chunk is modified.

        Returns:
        Throws:
        org.apache.iotdb.commons.exception.IllegalPathException