Enum FragmentInstanceState

    • Enum Constant Detail

      • PLANNED

        public static final FragmentInstanceState PLANNED
        Instance is planned but has not been scheduled yet. An instance will be in the planned state until, the dependencies of the instance have begun producing output.
      • FLUSHING

        public static final FragmentInstanceState FLUSHING
        Instance has finished executing and output is left to be consumed. In this state, there will be no new drivers, the existing drivers have finished and the output buffer of the instance is at-least in a 'no-more-tsBlocks' state.
      • FINISHED

        public static final FragmentInstanceState FINISHED
        Instance has finished executing and all output has been consumed.
      • ABORTED

        public static final FragmentInstanceState ABORTED
        Instance was aborted due to a failure in the query. The failure was not in this instance.
    • Field Detail

      • TERMINAL_INSTANCE_STATES

        public static final java.util.Set<FragmentInstanceState> TERMINAL_INSTANCE_STATES
      • FAILURE_INSTANCE_STATES

        public static final java.util.Set<FragmentInstanceState> FAILURE_INSTANCE_STATES
    • Method Detail

      • values

        public static FragmentInstanceState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FragmentInstanceState c : FragmentInstanceState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FragmentInstanceState valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isDone

        public boolean isDone()
        Is this a terminal state.
      • isFailed

        public boolean isFailed()