Methods summary
Modifier and Type | Method |
---|---|
public | setMetaEntities ( array metaEntities ) |
public | getMetaEntities ( ) |
public | setBackupStructureEnabled ( bool backupStructureEnabled ) |
public boolean | isBackupStructureEnabled ( ) |
public | setBackupDataEnabled ( bool backupStructureEnabled ) |
public boolean | isBackupDataEnabled ( ) |
public | setOutputStream ( OutputStream outputStream ) |
public OutputStream | getOutputStream ( ) |
public | setReplaceTableEnabled ( bool replaceTableEnabled ) |
public bool | isReplaceTableEnabled ( ) |
public | start ( ) |
Methods in detail
-
setMetaEntities
public setMetaEntities ( array metaEntities ) -
getMetaEntities
public getMetaEntities ( )Returns the MetaEntities which will be backuped. -
setBackupStructureEnabled
public setBackupStructureEnabled ( bool backupStructureEnabled )backupStructureEnabled = true causes the Backuper to create CREATE TABLE statements for each table.param
bool backupStructureEnabled If true, the structure will be backuped. -
isBackupStructureEnabled
boolean public isBackupStructureEnabled ( )return
boolean -
setBackupDataEnabled
public setBackupDataEnabled ( bool backupStructureEnabled )backupStructureEnabled = true causes the Backuper to create INSERT STATEMENTS statements for each line.param
bool backupStructureEnabled If true, the data will be backuped. -
isBackupDataEnabled
boolean public isBackupDataEnabled ( )return
boolean -
setOutputStream
Backup will be written to the OutputStreamparam
-
getOutputStream
OutputStream public getOutputStream ( )return
-
setReplaceTableEnabled
public setReplaceTableEnabled ( bool replaceTableEnabled )$replaceTableEnabled = true advises the backuper to create a backup which replaces its structure when imported.param
bool replaceTableEnabled -
isReplaceTableEnabled
bool public isReplaceTableEnabled ( )return
bool -
start
public start ( )Starts writing to output streamthrows
param