org.basex.core.proc
Class Optimize

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.core.Process
          extended by org.basex.core.proc.Optimize

public final class Optimize
extends Process

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-09, ISC License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.core.Process
args
 
Constructor Summary
Optimize()
          Default constructor.
 
Method Summary
 java.lang.String det()
          Returns short information on this process.
 double prog()
          Returns progress information.
 
Methods inherited from class org.basex.core.Process
args, data, error, execute, execute, info, info, info, output, printing, result, toString, updating
 
Methods inherited from class org.basex.core.Progress
checkStop, detail, progress, progress, stop, tit, title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Optimize

public Optimize()
Default constructor.

Method Detail

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 java.lang.String det()
Description copied from class: Progress
Returns short information on this process.

Overrides:
det in class Progress
Returns:
header information