Class RowAdditionOperation

java.lang.Object
com.google.refine.model.AbstractOperation
com.google.refine.operations.row.RowAdditionOperation

public class RowAdditionOperation extends AbstractOperation
  • Constructor Details

    • RowAdditionOperation

      public RowAdditionOperation(List<Row> rows, int insertionIndex)
    • RowAdditionOperation

      @Deprecated public RowAdditionOperation(List<Row> addedRows, List<Object> rows, int insertionIndex)
      Deprecated.
      should not be called directly, is only provided for JSON deserialization.
      Deserialization constructor to provide compatibility for the legacy serialization format. In this format, only the number of rows is relevant: the contents of the rows must be ignored, because they might have been corrupted due to mutability issues in https://github.com/OpenRefine/OpenRefine/issues/7245.
      Parameters:
      addedRows - the rows to add to the project
      rows - a legacy serialization field, whose length is is the only thing that matters. If provided, it will be converted to a list of empty rows of the same size.
      insertionIndex - the place in the grid where to insert this list.
  • Method Details