org.gcube.data.analysis.tabulardata.operation.worker
Class BaseWorker
java.lang.Object
org.gcube.data.analysis.tabulardata.operation.worker.BaseWorker
- All Implemented Interfaces:
- Runnable, Worker
public abstract class BaseWorker
- extends Object
- implements Worker
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
invocation
protected OperationInvocation invocation
BaseWorker
public BaseWorker(OperationInvocation invocation)
inProgress
protected void inProgress(float progress)
fail
protected void fail(OperationException exception)
succeed
protected void succeed(org.gcube.data.analysis.tabulardata.model.table.Table resultTable)
getJob
public ImmutableJob getJob()
- Specified by:
getJob in interface Worker
executeSQLCommand
protected void executeSQLCommand(String sqlCommand,
org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProvider connectionProvider)
throws OperationException
- Throws:
OperationException
executeSQLBatchCommands
protected void executeSQLBatchCommands(org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProvider connectionProvider,
String... sqlCommands)
throws OperationException
- Throws:
OperationException
Copyright © 2013. All Rights Reserved.