Package org.openrefine.operations.recon
Class ReconMatchSpecificTopicOperation
- java.lang.Object
-
- org.openrefine.operations.EngineDependentOperation
-
- org.openrefine.operations.RowMapOperation
-
- org.openrefine.operations.recon.ReconMatchSpecificTopicOperation
-
- All Implemented Interfaces:
Operation
public class ReconMatchSpecificTopicOperation extends RowMapOperation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReconMatchSpecificTopicOperation.ReconItem-
Nested classes/interfaces inherited from class org.openrefine.operations.RowMapOperation
RowMapOperation.GridMap
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcolumnNameprotected StringidentifierSpaceprotected ReconMatchSpecificTopicOperation.ReconItemmatchprotected StringschemaSpace-
Fields inherited from class org.openrefine.operations.EngineDependentOperation
_engineConfig
-
-
Constructor Summary
Constructors Constructor Description ReconMatchSpecificTopicOperation(EngineConfig engineConfig, String columnName, ReconMatchSpecificTopicOperation.ReconItem match, String identifierSpace, String schemaSpace)
-
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.RowInRecordMappergetPositiveRowMapper(Grid state, ChangeContext context)Returns the row mapper applied to the rows matched by the filter.protected static RowInRecordMapperrowMapper(int columnIndex, ReconCandidate match, long historyEntryId, String identifierSpace, String schemaSpace)-
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
-
-
-
-
Field Detail
-
columnName
protected final String columnName
-
match
protected final ReconMatchSpecificTopicOperation.ReconItem match
-
identifierSpace
protected final String identifierSpace
-
schemaSpace
protected final String schemaSpace
-
-
Constructor Detail
-
ReconMatchSpecificTopicOperation
public ReconMatchSpecificTopicOperation(EngineConfig engineConfig, String columnName, ReconMatchSpecificTopicOperation.ReconItem match, String identifierSpace, String schemaSpace)
-
-
Method Detail
-
getDescription
public String getDescription()
Description copied from interface:OperationA short human-readable description of what this operation does.
-
getPositiveRowMapper
public RowInRecordMapper getPositiveRowMapper(Grid state, ChangeContext context) throws MissingColumnException
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:
MissingColumnException
-
rowMapper
protected static RowInRecordMapper rowMapper(int columnIndex, ReconCandidate match, long historyEntryId, String identifierSpace, String schemaSpace)
-
-