Interface BatchPlan

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getBatchSize()
      Return how many sub-plans are in the plan
      java.util.List<org.apache.iotdb.commons.path.PartialPath> getPrefixPaths()
      Return prefix paths of all sub-plans
      java.util.Map<java.lang.Integer,​org.apache.iotdb.common.rpc.thrift.TSStatus> getResults()
      Return execution status for each path
      boolean isExecuted​(int i)
      Whether the sub-plan at position i has been executed.
      void setIsExecuted​(int i)
      Mark the sub-plan at position i as executed.
      void unsetIsExecuted​(int i)
      Mark the sub-plan at position i as not executed.
    • Method Detail

      • setIsExecuted

        void setIsExecuted​(int i)
        Mark the sub-plan at position i as executed.
        Parameters:
        i - the position of the sub-plan
      • unsetIsExecuted

        void unsetIsExecuted​(int i)
        Mark the sub-plan at position i as not executed.
        Parameters:
        i - the position of the sub-plan
      • isExecuted

        boolean isExecuted​(int i)
        Whether the sub-plan at position i has been executed.
        Parameters:
        i - the position of the sub-plan
        Returns:
        whether the sub-plan at position i has been executed.
      • getBatchSize

        int getBatchSize()
        Return how many sub-plans are in the plan
        Returns:
        how many sub-plans are in the plan.
      • getResults

        java.util.Map<java.lang.Integer,​org.apache.iotdb.common.rpc.thrift.TSStatus> getResults()
        Return execution status for each path
        Returns:
        execution status for each path
      • getPrefixPaths

        java.util.List<org.apache.iotdb.commons.path.PartialPath> getPrefixPaths()
        Return prefix paths of all sub-plans
        Returns:
        prefix paths of all sub-plans