org.basex.index
Class ValueBuilder

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.index.ValueBuilder
All Implemented Interfaces:
IndexBuilder

public final class ValueBuilder
extends Progress
implements IndexBuilder

This class builds an index for attribute values and text contents in a hash map.

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

Constructor Summary
ValueBuilder(boolean txt)
          Constructor.
 
Method Summary
 Values build(Data data)
          Builds the index structure and returns an index instance.
 java.lang.String det()
          Returns detailed information on this progress.
 java.lang.String head()
          Returns short information on this process.
 double prog()
          Returns progress information.
 
Methods inherited from class org.basex.core.Progress
detail, header, progress, progress, stop, stopped
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueBuilder

public ValueBuilder(boolean txt)
Constructor.

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

build

public Values build(Data data)
             throws java.io.IOException
Builds the index structure and returns an index instance.

Specified by:
build in interface IndexBuilder
Parameters:
data - data reference
Returns:
index instance
Throws:
java.io.IOException - IO Exception

det

public java.lang.String det()
Description copied from class: Progress
Returns detailed information on this progress.

Returns:
information in detail

head

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

Returns:
header information

prog

public double prog()
Description copied from class: Progress
Returns progress information.

Returns:
header information