Class JoinOperatorInfo

java.lang.Object
io.trino.operator.join.JoinOperatorInfo
All Implemented Interfaces:
OperatorInfo, Mergeable<JoinOperatorInfo>

public class JoinOperatorInfo extends Object implements Mergeable<JoinOperatorInfo>, OperatorInfo
  • Constructor Details

  • Method Details

    • createJoinOperatorInfo

      public static JoinOperatorInfo createJoinOperatorInfo(LookupJoinOperatorFactory.JoinType joinType, long[] logHistogramCounters, Optional<Long> lookupSourcePositions, long rleProbes, long totalProbes)
    • getJoinType

      public LookupJoinOperatorFactory.JoinType getJoinType()
    • getLogHistogramProbes

      public long[] getLogHistogramProbes()
    • getLogHistogramOutput

      public long[] getLogHistogramOutput()
    • getLookupSourcePositions

      public Optional<Long> getLookupSourcePositions()
      Estimated number of positions in on the build side
    • getRleProbes

      public long getRleProbes()
    • getTotalProbes

      public long getTotalProbes()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • mergeWith

      public JoinOperatorInfo mergeWith(JoinOperatorInfo other)
      Specified by:
      mergeWith in interface Mergeable<JoinOperatorInfo>
    • isFinal

      public boolean isFinal()
      Specified by:
      isFinal in interface OperatorInfo
      Returns:
      true if this OperatorInfo should be collected and sent to the coordinator when the task completes (i.e. it will not be stripped away during summarization).