Package org.basex.query.value.node
Class FTNode
Disk-based full-text Node item.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.basex.query.value.node.DBNode
ancestorIter, ancestorOrSelfIter, attributeIter, baseURI, childIter, copy, data, dbl, descendantIter, descendantOrSelfIter, diff, equals, finish, followingIter, followingSiblingIter, hasChildren, hashCode, is, itr, materialize, name, namespaces, parent, parent, plan, pre, pre, qname, string, toErrorString, toJava, typeId, xdmInfoMethods inherited from class org.basex.query.value.node.ANode
atomItem, atomItem, atomValue, attribute, attribute, bool, comparable, copy, copy, ddo, diff, eq, kind, kind, nodeType, nsScope, optimize, parentIter, precedingIter, precedingSiblingIter, root, sameKey, selfIter, string, type, uriMethods inherited from class org.basex.query.value.item.Item
atomSize, cache, dec, description, ebv, equiv, flt, hash, input, instanceOf, item, itemAt, iter, persistent, refineType, reverse, seqType, size, subsequence, testMethods inherited from class org.basex.query.value.Value
accept, checkUp, compile, count, exprSize, has, inline, inlineable, isEmpty, isItem, iter, iterator, materialize, serialize, serialize, serialize, valueMethods inherited from class org.basex.query.expr.Expr
arg, args, atomIter, data, funcType, hasFreeVars, indexAccessible, isSimple, markTailCalls, mergeEbv, optimize, simplifyFor, typeCheck, uses, vacuous, visitAllMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FTNode
Constructor, called by the sequential variant.- Parameters:
matches- matchesscore- score value
-
FTNode
Constructor, called by the index variant.- Parameters:
matches- full-text matchesdata- data reference (can benull)pre- pre valuetl- token lengthis- number of indexed results
-
-
Method Details
-
matches
Assigns full-text matches.- Parameters:
match- full-text matches
-
matches
Returns full-text matches.- Returns:
- full-text matches
-
score
public double score()Description copied from class:ItemReturns a score value. Overwritten byFTNode. -
score
public void score(double s) Sets a new score value.- Parameters:
s- score value
-
plan
Description copied from class:ExprInfoCreates a query string.
-