public final class Optimize extends ACreate
Constructor and Description |
---|
Optimize()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
det()
Returns short information on this process.
|
static void |
optimize(Data data,
MainOptions options,
boolean enforce,
boolean enforceFT,
Optimize cmd)
Optimizes the structures of a database.
|
static void |
optimize(Data data,
MainOptions options,
Optimize cmd)
Optimizes the structures of a database.
|
double |
prog()
Returns a progress value (0 - 1).
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
boolean |
stoppable()
Returns true if this command can be stopped.
|
databases, newData, supportsProg
build, close, databases, error, execute, execute, finish, finishUpdate, getOption, getOption, info, info, init, run, run, setInput, setInput, startUpdate, toString, toString, updated, updating
abort, checkStop, detail, listen, proc, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title
protected boolean run()
Command
public double prog()
Proc
public boolean stoppable()
Command
public String det()
Proc
public static void optimize(Data data, MainOptions options, Optimize cmd) throws IOException
data
- dataoptions
- main optionscmd
- calling command instance (may be null
)IOException
- I/O Exception during index rebuildpublic static void optimize(Data data, MainOptions options, boolean enforce, boolean enforceFT, Optimize cmd) throws IOException
data
- dataoptions
- main optionsenforce
- enforce index operationenforceFT
- enforce full-text index operationcmd
- calling command instance (may be null
)IOException
- I/O Exception during index rebuildCopyright © 2005–2015 BaseX Team. All rights reserved.