public class BackupCommand extends Prepared
create, parameters, prepareAlways, session, sqlStatement, sqlTokens
Constructor and Description |
---|
BackupCommand(SessionLocal session) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
correctFileName(java.lang.String f)
Fix the file name, replacing backslash with slash.
|
int |
getType()
Get the command type as defined in CommandInterface
|
boolean |
isTransactional()
Check if this command is transactional.
|
boolean |
needRecompile()
Check if the statement needs to be re-compiled.
|
ResultInterface |
queryMeta()
Get an empty result set containing the meta data.
|
void |
setFileName(Expression fileName) |
long |
update()
Execute the statement.
|
checkCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getDatabase, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, isCacheable, isQuery, isReadOnly, isRetryable, isWithParamValues, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, setWithParamValues, toString
public BackupCommand(SessionLocal session)
public void setFileName(Expression fileName)
public long update()
Prepared
public boolean isTransactional()
Prepared
isTransactional
in class Prepared
public static java.lang.String correctFileName(java.lang.String f)
f
- the file namepublic boolean needRecompile()
Prepared
needRecompile
in class Prepared
public ResultInterface queryMeta()
Prepared