org.basex.query.item
Class FTItem
java.lang.Object
org.basex.query.ExprInfo
org.basex.query.expr.Expr
org.basex.query.item.Item
org.basex.query.item.Nod
org.basex.query.item.DBNode
org.basex.query.item.FTItem
public final class FTItem
- extends DBNode
XQuery item representing a full-text Node.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Sebastian Gath
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
Expr.Use |
Fields inherited from class org.basex.query.item.Item |
score, type |
Constructor Summary |
FTItem(FTMatches a,
Data d,
int p,
int tol,
int tis,
double s)
Constructor, called by the index variant. |
FTItem(FTMatches a,
double s)
Constructor, called by the sequential variant. |
Methods inherited from class org.basex.query.item.DBNode |
anc, attr, base, child, color, copy, desc, descOrSelf, diff, finish, is, nname, ns, par, parent, parent, plan, qname, qname, serialize, set, str |
Methods inherited from class org.basex.query.item.Nod |
ancOrSelf, bool, dbl, dec, diff, eq, flt, foll, follSibl, id, itr, java, kind, prec, precSibl, self, uri |
Methods inherited from class org.basex.query.item.Item |
atomic, comp, d, duplicates, ebv, hashCode, i, iter, iter, n, name, node, removable, returned, s, score, size, test, u, uses |
all
public FTMatches all
- Full-text matches.
FTItem
public FTItem(FTMatches a,
double s)
- Constructor, called by the sequential variant.
- Parameters:
a
- matchess
- scoring
FTItem
public FTItem(FTMatches a,
Data d,
int p,
int tol,
int tis,
double s)
- Constructor, called by the index variant.
- Parameters:
a
- full-text matchesd
- data referencep
- pre valuetis
- total size indexed resultstol
- token lengths
- score value out of the index
score
public double score()
- Description copied from class:
Item
- Returns a score value.
- Overrides:
score
in class Item
- Returns:
- score value
toString
public String toString()
- Overrides:
toString
in class DBNode