org.eclipse.smila.importing
Class UpdatePusherWorker
java.lang.Object
org.eclipse.smila.importing.UpdatePusherWorker
- All Implemented Interfaces:
- Worker
public class UpdatePusherWorker
- extends java.lang.Object
- implements Worker
Worker that pushes input records to the bulkbuilder and marks the records as updated in delta indexing.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdatePusherWorker
public UpdatePusherWorker()
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!
- Specified by:
perform in interface Worker
- Parameters:
taskContext - the TaskContext information with which this operation can be performed.
- Throws:
java.lang.Exception
getName
public java.lang.String getName()
- Specified by:
getName in interface Worker
- Returns:
- the name of the worker. The worker function will be executed for tasks tied to this worker name.
setDeltaIndexingService
public void setDeltaIndexingService(DeltaService service)
- Parameters:
service - the new deltaindexing
unsetDeltaIndexingService
public void unsetDeltaIndexingService(DeltaService service)
- Parameters:
service - the deltaindexing to unset
setBulkbuilderService
public void setBulkbuilderService(BulkbuilderService service)
- Parameters:
service - the new bulkbuilder
unsetBulkbuilderService
public void unsetBulkbuilderService(BulkbuilderService service)
- Parameters:
service - the bulkbuilder to unset