Interface QueryStage.Builder

    • Method Detail

      • stageId

        QueryStage.Builder stageId​(Long stageId)

        The identifier for a stage.

        Parameters:
        stageId - The identifier for a stage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        QueryStage.Builder state​(String state)

        State of the stage after query execution.

        Parameters:
        state - State of the stage after query execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputBytes

        QueryStage.Builder outputBytes​(Long outputBytes)

        The number of bytes output from the stage after execution.

        Parameters:
        outputBytes - The number of bytes output from the stage after execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputRows

        QueryStage.Builder outputRows​(Long outputRows)

        The number of rows output from the stage after execution.

        Parameters:
        outputRows - The number of rows output from the stage after execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputBytes

        QueryStage.Builder inputBytes​(Long inputBytes)

        The number of bytes input into the stage for execution.

        Parameters:
        inputBytes - The number of bytes input into the stage for execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputRows

        QueryStage.Builder inputRows​(Long inputRows)

        The number of rows input into the stage for execution.

        Parameters:
        inputRows - The number of rows input into the stage for execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • executionTime

        QueryStage.Builder executionTime​(Long executionTime)

        Time taken to execute this stage.

        Parameters:
        executionTime - Time taken to execute this stage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryStagePlan

        QueryStage.Builder queryStagePlan​(QueryStagePlanNode queryStagePlan)

        Stage plan information such as name, identifier, sub plans, and source stages.

        Parameters:
        queryStagePlan - Stage plan information such as name, identifier, sub plans, and source stages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subStages

        QueryStage.Builder subStages​(Collection<QueryStage> subStages)

        List of sub query stages that form this stage execution plan.

        Parameters:
        subStages - List of sub query stages that form this stage execution plan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subStages

        QueryStage.Builder subStages​(QueryStage... subStages)

        List of sub query stages that form this stage execution plan.

        Parameters:
        subStages - List of sub query stages that form this stage execution plan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.