Class ShiftedColumnOperation

java.lang.Object
io.deephaven.engine.table.impl.ShiftedColumnOperation

public class ShiftedColumnOperation extends Object
Tools for creating a new ShiftedColumn(s) for a given input table and a source column(s)
  • Method Details

    • addShiftedColumns

      public static Table addShiftedColumns(@NotNull @NotNull Table source, @NotNull @NotNull ShiftedColumnDefinition... shifted)
      Creates a new table that has all the columns of the source table plus includes the new shifted column(s).
      Parameters:
      source - source table
      shifted - the shifted column definition(s) that define the operation
      Returns:
      a new Table that includes the shifted column
    • addShiftedColumns

      public static Table addShiftedColumns(@NotNull @NotNull Table source, @NotNull @NotNull Set<ShiftedColumnDefinition> shifted)
      Creates a new table that has all the columns of the source table plus includes the new shifted column(s).
      Parameters:
      source - source table
      shifted - the shifted column definition(s) that define the operation
      Returns:
      a new Table that includes the shifted column