org.basex.core.proc
Class Optimize
java.lang.Object
org.basex.core.Progress
org.basex.core.Proc
org.basex.core.proc.Optimize
public final class Optimize
- extends Proc
Evaluates the 'optimize' command and optimizes the data structures of
the currently opened database. Indexes and statistics are refreshed,
which is especially helpful after updates.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
Constructor Summary |
Optimize()
Default constructor. |
Method Summary |
String |
det()
Returns short information on this process. |
double |
prog()
Returns progress information. |
boolean |
updating(Context ctx)
Returns if the process performs updates. |
Optimize
public Optimize()
- Default constructor.
updating
public boolean updating(Context ctx)
- Description copied from class:
Proc
- Returns if the process performs updates.
- Overrides:
updating
in class Proc
- Parameters:
ctx
- context reference
- Returns:
- result of check
prog
public double prog()
- Description copied from class:
Progress
- Returns progress information.
Can be overwritten to give more detailed information.
- Overrides:
prog
in class Progress
- Returns:
- header information
det
public String det()
- Description copied from class:
Progress
- Returns short information on this process.
- Overrides:
det
in class Progress
- Returns:
- header information