Package org.openrefine.operations.recon
Class ReconMatchBestCandidatesOperation
- java.lang.Object
-
- org.openrefine.operations.EngineDependentOperation
-
- org.openrefine.operations.RowMapOperation
-
- org.openrefine.operations.recon.ReconMatchBestCandidatesOperation
-
- All Implemented Interfaces:
Operation
public class ReconMatchBestCandidatesOperation extends RowMapOperation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openrefine.operations.RowMapOperation
RowMapOperation.GridMap
-
-
Field Summary
-
Fields inherited from class org.openrefine.operations.EngineDependentOperation
_engineConfig
-
-
Constructor Summary
Constructors Constructor Description ReconMatchBestCandidatesOperation(EngineConfig engineConfig, String columnName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColumnName()
String
getDescription()
A short human-readable description of what this operation does.RowInRecordMapper
getPositiveRowMapper(Grid state, ChangeContext context)
Returns the row mapper applied to the rows matched by the filter.protected static RowInRecordMapper
rowMapper(int columnIndex, long historyEntryId)
-
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
-
ReconMatchBestCandidatesOperation
public ReconMatchBestCandidatesOperation(EngineConfig engineConfig, String columnName)
-
-
Method Detail
-
getColumnName
public String getColumnName()
-
getDescription
public String getDescription()
Description copied from interface:Operation
A short human-readable description of what this operation does.
-
getPositiveRowMapper
public RowInRecordMapper getPositiveRowMapper(Grid state, ChangeContext context) throws MissingColumnException
Description copied from class:RowMapOperation
Returns the row mapper applied to the rows matched by the filter.- Overrides:
getPositiveRowMapper
in classRowMapOperation
- Parameters:
state
- the initial state of the grid- Throws:
MissingColumnException
-
rowMapper
protected static RowInRecordMapper rowMapper(int columnIndex, long historyEntryId)
-
-