|
||||||||||
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 full-text positions, which is evaluated by the visualizations.
Constructor Summary | |
---|---|
FTPosData()
|
Method Summary | |
---|---|
void |
add(Data d,
int pre,
FTMatches all)
Adds position data. |
FTPosData |
copy()
Creates a copy. |
FTPos |
get(Data d,
int p)
Gets full-text data from the container. |
int |
size()
Returns the number of entries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FTPosData()
Method Detail |
---|
public void add(Data d, int pre, FTMatches all)
d
- data referencepre
- pre valueall
- full-text matchespublic FTPos get(Data d, int p)
null
is returned.
int[0] : [pos0, ..., posn]
int[1] : [poi0, ..., poin]
d
- data referencep
- int pre value
null
public int size()
public FTPosData copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |