org.basex.index
Class ValueBuilder

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.index.IndexBuilder
          extended by org.basex.index.ValueBuilder

public final class ValueBuilder
extends IndexBuilder

This main-memory based class builds an index for attribute values and text contents in a tree structure and stores the result to disk.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Constructor Summary
ValueBuilder(Data d, boolean txt)
          Constructor.
 
Method Summary
 void abort()
          Aborts a failed or interrupted progress.
 Values build()
          Builds the index structure and returns an index instance.
 String det()
          Returns short information on this process.
 
Methods inherited from class org.basex.index.IndexBuilder
prog, tit
 
Methods inherited from class org.basex.core.Progress
checkStop, detail, progress, progress, stop, title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueBuilder

public ValueBuilder(Data d,
                    boolean txt)
Constructor.

Parameters:
d - data reference
txt - value type (text/attribute)
Method Detail

build

public Values build()
             throws IOException
Description copied from class: IndexBuilder
Builds the index structure and returns an index instance.

Specified by:
build in class IndexBuilder
Returns:
index instance
Throws:
IOException - IO Exception

abort

public void abort()
Description copied from class: Progress
Aborts a failed or interrupted progress.

Overrides:
abort in class Progress

det

public String det()
Description copied from class: Progress
Returns short information on this process.

Overrides:
det in class Progress
Returns:
header information