Interface QueryStagePlanNode.Builder

All Superinterfaces:
Buildable, CopyableBuilder<QueryStagePlanNode.Builder,QueryStagePlanNode>, SdkBuilder<QueryStagePlanNode.Builder,QueryStagePlanNode>, SdkPojo
Enclosing class:
QueryStagePlanNode

@Mutable @NotThreadSafe public static interface QueryStagePlanNode.Builder extends SdkPojo, CopyableBuilder<QueryStagePlanNode.Builder,QueryStagePlanNode>
  • Method Details

    • name

      Name of the query stage plan that describes the operation this stage is performing as part of query execution.

      Parameters:
      name - Name of the query stage plan that describes the operation this stage is performing as part of query execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identifier

      QueryStagePlanNode.Builder identifier(String identifier)

      Information about the operation this query stage plan node is performing.

      Parameters:
      identifier - Information about the operation this query stage plan node is performing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • children

      Stage plan information such as name, identifier, sub plans, and remote sources of child plan nodes/

      Parameters:
      children - Stage plan information such as name, identifier, sub plans, and remote sources of child plan nodes/
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • children

      Stage plan information such as name, identifier, sub plans, and remote sources of child plan nodes/

      Parameters:
      children - Stage plan information such as name, identifier, sub plans, and remote sources of child plan nodes/
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • children

      Stage plan information such as name, identifier, sub plans, and remote sources of child plan nodes/

      This is a convenience method that creates an instance of the QueryStagePlanNode.Builder avoiding the need to create one manually via QueryStagePlanNode.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to children(List<QueryStagePlanNode>).

      Parameters:
      children - a consumer that will call methods on QueryStagePlanNode.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • remoteSources

      QueryStagePlanNode.Builder remoteSources(Collection<String> remoteSources)

      Source plan node IDs.

      Parameters:
      remoteSources - Source plan node IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remoteSources

      QueryStagePlanNode.Builder remoteSources(String... remoteSources)

      Source plan node IDs.

      Parameters:
      remoteSources - Source plan node IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.