Class FnTrace

Direct Known Subclasses:
ProfDump

public class FnTrace extends StandardFunc
Function implementation.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • FnTrace

      public FnTrace()
  • Method Details

    • value

      public Value value(QueryContext qc) throws QueryException
      Description copied from class: Expr
      Evaluates the expression and returns the resulting value. If this method is not implemented, Expr.item(QueryContext, InputInfo) must be implemented instead.
      Overrides:
      value in class ParseExpr
      Parameters:
      qc - query context
      Returns:
      value
      Throws:
      QueryException - query exception
    • opt

      protected Expr opt(CompileContext cc)
      Description copied from class: StandardFunc
      Performs function specific optimizations.
      Overrides:
      opt in class StandardFunc
      Parameters:
      cc - compilation context
      Returns:
      optimized or original expression
    • ddo

      public boolean ddo()
      Description copied from class: Expr
      Indicates if this expression returns nodes in document order without duplicates.
      Overrides:
      ddo in class Expr
      Returns:
      result of check
    • trace

      public static void trace(byte[] value, byte[] label, QueryContext qc)
      Dumps the specified info to standard error or the info view of the GUI.
      Parameters:
      value - traced value
      label - additional label to display (may be null)
      qc - query context