Package org.openrefine.operations
Class RowMapOperation.GridMap
- java.lang.Object
-
- org.openrefine.operations.RowMapOperation.GridMap
-
- Enclosing class:
- RowMapOperation
public static class RowMapOperation.GridMap extends Object
Stores the new column model to be applied on the new grid, and the row mappers used to derive the new grid.The positive mapper is applied to the rows matched by the filter, the negative one is applied to the other rows.
Computing both the
ColumnModel
and theRowMapper
s can be useful in certain situations where computing both separately would be wasteful.
-
-
Field Summary
Fields Modifier and Type Field Description protected ColumnModel
columnModel
protected RowInRecordMapper
negativeMapper
protected Map<String,OverlayModel>
overlayModels
protected RowInRecordMapper
positiveMapper
-
Constructor Summary
Constructors Constructor Description GridMap(ColumnModel columnModel, RowInRecordMapper positiveMapper, RowInRecordMapper negativeMapper, Map<String,OverlayModel> overlayModels)
-
-
-
Field Detail
-
columnModel
protected final ColumnModel columnModel
-
positiveMapper
protected final RowInRecordMapper positiveMapper
-
negativeMapper
protected final RowInRecordMapper negativeMapper
-
overlayModels
protected final Map<String,OverlayModel> overlayModels
-
-
Constructor Detail
-
GridMap
public GridMap(ColumnModel columnModel, RowInRecordMapper positiveMapper, RowInRecordMapper negativeMapper, Map<String,OverlayModel> overlayModels)
-
-