org.basex.index
Class WordBuilder

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

public final class WordBuilder
extends Progress
implements IndexBuilder

This class builds a word-based 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
WordBuilder()
           
 
Method Summary
 Words 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.
 int value()
          Returns current progress value.
 
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

WordBuilder

public WordBuilder()
Method Detail

build

public Words 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

value

public int value()
Returns current progress value.

Returns:
progress information