Package io.deephaven.engine.table.impl
Class ShiftedColumnOperation
java.lang.Object
io.deephaven.engine.table.impl.ShiftedColumnOperation
Tools for creating a new ShiftedColumn(s) for a given input table and a source column(s)
-
Method Summary
Modifier and TypeMethodDescriptionstatic Table
addShiftedColumns
(@NotNull Table source, @NotNull ShiftedColumnDefinition... shifted) Creates a new table that has all the columns of the source table plus includes the new shifted column(s).static Table
addShiftedColumns
(@NotNull Table source, @NotNull Set<ShiftedColumnDefinition> shifted) Creates a new table that has all the columns of the source table plus includes the new shifted 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 tableshifted
- 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 tableshifted
- the shifted column definition(s) that define the operation- Returns:
- a new Table that includes the shifted column
-