Package org.openrefine.history.dag
Class TransformationSlice
- java.lang.Object
-
- org.openrefine.history.dag.TransformationSlice
-
-
Constructor Summary
Constructors Constructor Description TransformationSlice(String columnName, Set<String> inputColumns)
-
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)
String
getColumnName()
Set<String>
getInputColumns()
int
hashCode()
String
toString()
-
-
-
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
-
getColumnName
public String getColumnName()
- Returns:
- the name of the column transformed by this operation
-
getInputColumns
public Set<String> getInputColumns()
- Returns:
- the set of column names this slice depends on, which may or may not include the transformed column itself.
-
-