org.eclipse.smila.importing.worker
Class UpdatePusherWorker
java.lang.Object
org.eclipse.smila.importing.worker.WorkerUsingDeltaService
org.eclipse.smila.importing.worker.UpdatePusherWorker
- All Implemented Interfaces:
- Worker
public class UpdatePusherWorker
- extends WorkerUsingDeltaService
Worker that pushes input records to the bulkbuilder and marks the records as updated in delta indexing.
| Methods inherited from class org.eclipse.smila.importing.worker.WorkerUsingDeltaService |
checkDeltaStateTimed, deleteDeltaEntryTimed, getCompoundId, getDeltaImportStrategy, getDeltaImportStrategy, getJobRunId, getRequiredParameter, getUnvisitedEntriesTimed, isCompound, markAsUpdatedTimed, markCompoundElementsVisitedTimed, setDeltaService, unsetDeltaService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELETE_SHARD_PARAM
public static final java.lang.String DELETE_SHARD_PARAM
- the
DeltaService shard prefix to get records to delete from.
- See Also:
- Constant Field Values
UpdatePusherWorker
public UpdatePusherWorker()
getName
public java.lang.String getName()
- Returns:
- the name of the worker. The worker function will be executed for tasks tied to this worker name.
perform
public void perform(TaskContext taskContext)
throws java.lang.Exception
- Description copied from interface:
Worker
- Performs a computation on the data available in the
TaskContext, such as a task for this worker, input and
(if configured) output slots. An implementor must make sure, calls to this method must be thread-safe!
- Parameters:
taskContext - the TaskContext information with which this operation can be performed.
- Throws:
java.lang.Exception
setBulkbuilderService
public void setBulkbuilderService(BulkbuilderService service)
- DS service reference bind method.
unsetBulkbuilderService
public void unsetBulkbuilderService(BulkbuilderService service)
- DS service reference unbind method.