Package org.openrefine.history.dag
Class OpaqueSlice
- java.lang.Object
-
- org.openrefine.history.dag.OpaqueSlice
-
-
Field Summary
Fields Modifier and Type Field Description ColumnModelcolumnModel
-
Constructor Summary
Constructors Constructor Description OpaqueSlice(ColumnModel columnModel)Creates an opaque slice.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnModelapplyToColumns(ColumnModel columns)Given the list of columns before the change, return the list of columns after the slice.booleanequals(Object other)ColumnModelgetColumnModel()inthashCode()StringtoString()
-
-
-
Field Detail
-
columnModel
public final ColumnModel columnModel
-
-
Constructor Detail
-
OpaqueSlice
public OpaqueSlice(ColumnModel columnModel)
Creates an opaque slice.- Parameters:
columnModel- the state of the column model after execution of the slice.
-
-
Method Detail
-
applyToColumns
public ColumnModel applyToColumns(ColumnModel columns) throws IncompatibleSliceException
Description copied from interface:DagSliceGiven the list of columns before the change, return the list of columns after the slice.- Specified by:
applyToColumnsin interfaceDagSlice- Parameters:
columns- the column metadata before the change, in project order- Returns:
- the column metadata after the change
- Throws:
IncompatibleSliceException
-
getColumnModel
public ColumnModel getColumnModel()
- Returns:
- columnModel the state of the column model after execution of the slice
-
-