public class OracleDBCopier extends DBCopier
exp
and imp
utilities.
This copier can optionally use direct path for exporting, as configured by
the property useDirectPathForExport
, which defaults to
false. See your Oracle documentation for more information on using direct
path with the exp
utility.DBCopier
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
OracleDBCopier() |
Modifier and Type | Method and Description |
---|---|
void |
doStartService()
Start the service.
|
boolean |
getCreateIndexesLast()
Get property
createIndexesLast |
java.lang.String |
getDumpFileName()
Get property
DumpFileName . |
boolean |
getUseCascadeConstraints()
Get property
useCascadeConstraints |
boolean |
getUseDirectPathForExport()
Get property
useDirectPathForExport |
boolean |
getUseTruncateTable()
Get property
useTruncateTable |
boolean |
isCreateIndexesLast()
Test property
createIndexesLast |
boolean |
isUseDirectPathForExport()
Test property
useDirectPathForExport |
void |
setCreateIndexesLast(boolean pCreateIndexesLast)
Set property
createIndexesLast |
void |
setDumpFileName(java.lang.String pDumpFileName)
Set property
DumpFileName |
void |
setUseCascadeConstraints(boolean pUseCascadeConstraints)
Set property
useCascadeConstraints |
void |
setUseDirectPathForExport(boolean pUseDirectPathForExport)
Set property
useDirectPathForExport |
void |
setUseTruncateTable(boolean pUseTruncateTable)
Set property
useTruncateTable |
cleanupDirectory, copy, getCleanupDirectory, getCommandOutput, getDataFileSuffix, getDeleteDataFileName, getDestination, getDirectory, getExportCommand, getImportCommand, getSource, getSqlCommand, getTables, isCleanupDirectory, setCleanupDirectory, setDataFileSuffix, setDeleteDataFileName, setDestination, setDirectory, setExportCommand, setImportCommand, setSource, setSqlCommand, setTables
addLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public void setDumpFileName(java.lang.String pDumpFileName)
DumpFileName
pDumpFileName
- new value to setpublic java.lang.String getDumpFileName()
DumpFileName
.DumpFileName
public void setUseDirectPathForExport(boolean pUseDirectPathForExport)
useDirectPathForExport
pUseDirectPathForExport
- new value to setpublic boolean getUseDirectPathForExport()
useDirectPathForExport
useDirectPathForExport
public boolean isUseDirectPathForExport()
useDirectPathForExport
useDirectPathForExport
public void setUseTruncateTable(boolean pUseTruncateTable)
useTruncateTable
pUseTruncateTable
- new value to setpublic boolean getUseTruncateTable()
useTruncateTable
useTruncateTable
public void setUseCascadeConstraints(boolean pUseCascadeConstraints)
useCascadeConstraints
pUseCascadeConstraints
- new value to setpublic boolean getUseCascadeConstraints()
useCascadeConstraints
useCascadeConstraints
public void setCreateIndexesLast(boolean pCreateIndexesLast)
createIndexesLast
pCreateIndexesLast
- new value to setpublic boolean getCreateIndexesLast()
createIndexesLast
createIndexesLast
public boolean isCreateIndexesLast()
createIndexesLast
createIndexesLast
public void doStartService()
doStartService
in class GenericService