Class BucketedUpdateBy

java.lang.Object
com.illumon.iris.db.v2.updateby.UpdateBy
com.illumon.iris.db.v2.updateby.BucketedUpdateBy

public class BucketedUpdateBy extends UpdateBy
  • Method Details

    • compute

      public static Table compute(@NotNull String description, @NotNull QueryTable source, @NotNull UpdateByOperator[] ops, @NotNull Map<String,ColumnSource> resultSources, @Nullable RedirectionIndex redirectionIndex, @NotNull ColumnSource<?>[] keySources, @NotNull MatchPair[] byColumns, @NotNull UpdateByControl control)
      Perform a bucketed updateBy.
      Parameters:
      control - the UpdateByControl to set hashing parameters
      description - the operation description
      source - the source table
      ops - the operations to perform
      resultSources - the result sources
      redirectionIndex - the redirection index, if one was used.
      keySources - the sources for key columns.
      byColumns - the grouping column pairs
      Returns:
      the result table
    • newListener

      public ShiftAwareListener newListener(@NotNull String description, @NotNull QueryTable result, @NotNull MatchPair[] byColumns)
      Create an appropriate listener to process upstream updates.
      Parameters:
      description - the table description
      result - the result table
      byColumns - the grouping column pairs
      Returns:
      a listener to process updates.