public class ExporrtoJDBCService extends AbstractMonitorableTask implements ExporttoService
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTION_ABORT |
static int |
ACTION_SET_GEOMETRY_TO_NULL |
static int |
ACTION_SKIP_FEATURE |
static int |
CHECK_IF_CORRUPT |
static int |
CHECK_IF_VALID |
static int |
CHECK_NONE |
taskStatuscancellationRequested| Constructor and Description |
|---|
ExporrtoJDBCService(ExporttoJDBCOptions options) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createTable(JDBCServerExplorer explorer) |
void |
export(FeatureSet featureSet)
This method export a
FeatureSet to other FeatureSet. |
protected java.lang.String |
getTranslatedIdentifier(java.lang.String identifier) |
void |
setFinishAction(ExporttoServiceFinishAction exporttoServiceFinishAction)
Sets the
ExporttoServiceFinishAction that is used at the end
of the ExporttoService. |
cancelRequest, getSimpleTaskStatus, getTaskStatus, setTaskNameisCancellationRequestedactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTaskStatuscancelRequest, isCancellationRequestedpublic static final int CHECK_NONE
public static final int CHECK_IF_CORRUPT
public static final int CHECK_IF_VALID
public static final int ACTION_SET_GEOMETRY_TO_NULL
public static final int ACTION_SKIP_FEATURE
public static final int ACTION_ABORT
public ExporrtoJDBCService(ExporttoJDBCOptions options)
protected java.lang.String getTranslatedIdentifier(java.lang.String identifier)
protected void createTable(JDBCServerExplorer explorer) throws java.lang.Exception
java.lang.Exceptionpublic void export(FeatureSet featureSet) throws ExporttoServiceException
ExporttoServiceFeatureSet to other FeatureSet.
The other necessary parameters to make this conversion are specific
for every ExporttoService. e.g: a shape exporter needs a
file and a projection, a database exporter needs a connection
parameters...export in interface ExporttoServicefeatureSet - the set of features hat have to be exported.ExporttoServiceException - if there is any exception in the exporting processpublic void setFinishAction(ExporttoServiceFinishAction exporttoServiceFinishAction)
ExporttoServiceExporttoServiceFinishAction that is used at the end
of the ExporttoService.setFinishAction in interface ExporttoServiceexporttoServiceFinishAction - it contains an action that can be executed at the end of the
export process