Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.basex.data
Class FTPosData

    java.lang.Object
      org.basex.data.FTPosData

    public final class FTPosData

extends java.lang.Object

This class provides a container for query full-text positions, which is evaluated by the visualizations.

Author:
  Workgroup DBIS, University of Konstanz 2005-09, ISC License, Christian Gruen, Sebastian Gath

Constructor Summary
`FTPosData()`

Method Summary
`void` | `add(int pre, FTMatches all)` Adds position data.
`FTPos` | `get(int p)` Gets full-text data from the container.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FTPosData

    public FTPosData()

Method Detail

### add

    public void add(int pre,
                    FTMatches all)

  Adds position data.

  Parameters:
    `pre` - pre value
    `all` - full-text matches

### get

    public FTPos get(int p)

  Gets full-text data from the container. If no data is stored for a pre value, null is returned. int[0] : [pos0, ..., posn] int[1] : [poi0, ..., poin]

  Parameters:
    `p` - int pre value
  Returns:
    int[2][n] full-text data or null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD