|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.data.FTPosData
public final class FTPosData
This class provides a container for query fulltext positions for any visualization. The data is stored as follows: prepos[i][pre, pos0, ..., posn] poi[i][poiMax, poi0, ..., poin] For each pos values, theres a poi value stored. poiMax is the max value of all pos0, ..., poin
| Field Summary | |
|---|---|
TokenList |
col
Array for ftand colors. |
| Constructor Summary | |
|---|---|
FTPosData()
|
|
| Method Summary | |
|---|---|
void |
add(int[] pp,
int[] p)
Adds a node. |
void |
addConvSeqData(IntList[] d,
int pre,
int div)
Converts data from sequential ftcontains processing. |
void |
addFTAndCol(byte[] c)
Add a ftand color result. |
int[][] |
get(int pre)
Gets fulltext data from the container. |
void |
remove(int pre)
Removes ftdata for this node. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public TokenList col
| Constructor Detail |
|---|
public FTPosData()
| Method Detail |
|---|
public void addFTAndCol(byte[] c)
c - int[] ftand color result
public void add(int[] pp,
int[] p)
pp - int[] pre and positionsp - int[] pointerpublic int[][] get(int pre)
pre - int pre value
public void remove(int pre)
pre - int pre value
public void addConvSeqData(IntList[] d,
int pre,
int div)
d - IntList[] ftcontains datapre - int pre valuediv - int div to add for each pointer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||