Class IndexFn

Direct Known Subclasses:
IndexElementNames, IndexFacets, IndexTexts

public abstract class IndexFn extends StandardFunc
Index function.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • IndexFn

      public IndexFn()
  • Method Details

    • accept

      public final boolean accept(ASTVisitor visitor)
      Description copied from class: Expr
      Traverses this expression, notifying the visitor of declared and used variables, and checking the tree for other recursive properties.
      Overrides:
      accept in class Arr
      Parameters:
      visitor - visitor
      Returns:
      if the walk should be continued
    • entries

      public static Iter entries(Data data, IndexEntries entries, StandardFunc call) throws QueryException
      Returns all entries of the specified value index.
      Parameters:
      data - data reference
      entries - container for returning index entries
      call - calling function
      Returns:
      text entries
      Throws:
      QueryException - query exception