Package org.openrefine.model.changes
Interface RowChangeDataJoiner<T>
-
- Type Parameters:
T-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ColumnAdditionOperation.Joiner,PerformWikibaseEditsOperation.NewReconRowJoiner,ReconOperation.Joiner,RowInRecordChangeDataJoiner,TextTransformOperation.Joiner
public interface RowChangeDataJoiner<T> extends Serializable
Joins grid data to change data to produce a new grid. This is to be used only for expensive changes whose data must be persisted to disk - other changes should just useRowMapper. If the mapper can return no or multiple rows for each original row, useRowChangeDataFlatJoiner.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rowcall(Row row, IndexedData<T> indexedData)Given a row, its id and the pre-computed change data for this row, return the new row after the change.booleanpreservesRecordStructure()Indicates whether this joiner is guaranteed to preserve the record boundaries on the grid it is applied to.
-
-
-
Method Detail
-
call
Row call(Row row, IndexedData<T> indexedData)
Given a row, its id and the pre-computed change data for this row, return the new row after the change.- Parameters:
indexedData- may not be null, but the wrapped data inside may.
-
preservesRecordStructure
boolean preservesRecordStructure()
Indicates whether this joiner is guaranteed to preserve the record boundaries on the grid it is applied to.
-
-