Package org.openrefine.history.dag
Class OpaqueSlice
- java.lang.Object
-
- org.openrefine.history.dag.OpaqueSlice
-
-
Field Summary
Fields Modifier and Type Field Description ColumnModel
columnModel
-
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 ColumnModel
applyToColumns(ColumnModel columns)
Given the list of columns before the change, return the list of columns after the slice.boolean
equals(Object other)
ColumnModel
getColumnModel()
int
hashCode()
String
toString()
-
-
-
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:DagSlice
Given the list of columns before the change, return the list of columns after the slice.- Specified by:
applyToColumns
in 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
-
-