public final class DBOptimize extends DBUpdate
data
Constructor and Description |
---|
DBOptimize(Data data,
boolean all,
Options opts,
QueryContext qc,
InputInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
apply()
Applies this operation.
|
void |
merge(Update update)
Merges two update operations pointing to the same target.
|
void |
prepare(MemData tmp)
Prepares this operation.
|
int |
size()
Returns the number of update operations.
|
data
public DBOptimize(Data data, boolean all, Options opts, QueryContext qc, InputInfo info) throws QueryException
data
- dataall
- optimize all database structures flagopts
- database optionsqc
- database contextinfo
- input infoQueryException
- query exceptionpublic void merge(Update update)
Update
public void prepare(MemData tmp)
DBUpdate
public void apply() throws QueryException
DBUpdate
apply
in class DBUpdate
QueryException
- exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.