Search::Xapian::ValueIterator(3pm)

Search::Xapian::ValueIterator3pm

Iterate over value slots in a document.

Overview

This object represents a stream of document values. It overloads "++" for advancing the iterator, or you can explicitly call the "inc" method. This class also overloads "eq", "ne", "==", "!=", and "" (stringification).

Methods

new

Constructor. Defaults to a uninitialized iterator.

clone
inc

Advance the iterator by one. (Called implictly by "++" overloading )

get_valueno

Return the number of the value slot at the current position.

get_value

Return the string in the value slot at current position. Also overloaded as the "" operator.

get_description

Returns a string describing this object.

equal <valueiterator>

Checks if a valueiterator is the same as this valueiterator. Also overloaded as the "eq" and "!=" operators.

nequal <valueiterator>

Checks if a valueiterator is different from this valueiterator. Also overloaded as the "ne" and "!=" operators.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13

From libsearch-xapian-perl 1.2.25.5-3+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.