Class ExprInfo

java.lang.Object
org.basex.query.expr.ExprInfo
Direct Known Subclasses:
Expr, FTOpt, Pragma, StaticFuncs, StaticScope, Test, Var, Variables

public abstract class ExprInfo extends Object
Expression information, used for debugging and logging.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • ExprInfo

      public ExprInfo()
  • Method Details

    • description

      public String description()
      Returns a string description of the expression. This method is only called by error messages. Contrary to the toString() method, arguments are not included in the output.
      Returns:
      result of check
    • plan

      public abstract void plan(QueryPlan plan)
      Creates a query plan.
      Parameters:
      plan - expression plan
    • plan

      public abstract void plan(QueryString qs)
      Creates a query string.
      Parameters:
      qs - query string builder
    • toErrorString

      public String toErrorString()
      Returns a string representation of the expression that can be embedded in error messages. Defaults to toString().
      Returns:
      class name
    • toString

      public final String toString()
      Overrides:
      toString in class Object