Class ReadPointPerformerSubTask

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Void>

    public class ReadPointPerformerSubTask
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.lang.Void>
    This class is used to implement reading the measurements and writing to the target files in parallel in the compaction. Currently, it only works for nonAligned data in cross space compaction and unseq inner space compaction.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Void call()  
      • Methods inherited from class java.lang.Object

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

      • ReadPointPerformerSubTask

        public ReadPointPerformerSubTask​(java.lang.String device,
                                         java.util.Set<java.lang.String> measurementList,
                                         FragmentInstanceContext fragmentInstanceContext,
                                         QueryDataSource queryDataSource,
                                         AbstractCompactionWriter compactionWriter,
                                         java.util.Map<java.lang.String,​org.apache.iotdb.tsfile.write.schema.MeasurementSchema> schemaMap,
                                         int taskId)
    • Method Detail

      • call

        public java.lang.Void call()
                            throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Void>
        Throws:
        java.lang.Exception