Class AbstractExchangeRel.ExchangeTarget

java.lang.Object
io.substrait.relation.physical.AbstractExchangeRel.ExchangeTarget
Direct Known Subclasses:
ImmutableExchangeTarget
Enclosing class:
AbstractExchangeRel

@Immutable public abstract static class AbstractExchangeRel.ExchangeTarget extends Object
Exchange target specification: partition IDs and target type.
  • Constructor Details

    • ExchangeTarget

      public ExchangeTarget()
  • Method Details

    • getPartitionIds

      public abstract List<Integer> getPartitionIds()
      Returns the partition IDs served by this target.
      Returns:
      list of partition IDs
    • getType

      public abstract TargetType getType()
      Returns the target type (e.g., local, remote).
      Returns:
      the target type
    • builder

      public static ImmutableExchangeTarget.Builder builder()
      Creates a builder for ImmutableExchangeTarget.
      Returns:
      a new builder instance