Package org.openrefine.operations.row
Class RowStarOperation
- java.lang.Object
-
- org.openrefine.operations.EngineDependentOperation
-
- org.openrefine.operations.RowMapOperation
-
- org.openrefine.operations.row.RowStarOperation
-
- All Implemented Interfaces:
Operation
public class RowStarOperation extends RowMapOperation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openrefine.operations.RowMapOperation
RowMapOperation.GridMap
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean_starred-
Fields inherited from class org.openrefine.operations.EngineDependentOperation
_engineConfig
-
-
Constructor Summary
Constructors Constructor Description RowStarOperation(EngineConfig engineConfig, boolean starred)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()A short human-readable description of what this operation does.protected RowInRecordMappergetPositiveRowMapper(Grid state, ChangeContext context)Returns the row mapper applied to the rows matched by the filter.booleangetStarred()protected static RowInRecordMapperrowMapper(boolean starred)-
Methods inherited from class org.openrefine.operations.RowMapOperation
apply, getGridMap, getNegativeRowMapper, getNewColumnModel, getNewOverlayModels, postTransform
-
Methods inherited from class org.openrefine.operations.EngineDependentOperation
getEngine, getEngineConfig
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openrefine.operations.Operation
getOperationId, isReproducible
-
-
-
-
Constructor Detail
-
RowStarOperation
public RowStarOperation(EngineConfig engineConfig, boolean starred)
-
-
Method Detail
-
getStarred
public boolean getStarred()
-
getDescription
public String getDescription()
Description copied from interface:OperationA short human-readable description of what this operation does.
-
rowMapper
protected static RowInRecordMapper rowMapper(boolean starred)
-
getPositiveRowMapper
protected RowInRecordMapper getPositiveRowMapper(Grid state, ChangeContext context) throws OperationException
Description copied from class:RowMapOperationReturns the row mapper applied to the rows matched by the filter.- Overrides:
getPositiveRowMapperin classRowMapOperation- Parameters:
state- the initial state of the grid- Throws:
OperationException
-
-