Class Explain

java.lang.Object
org.apache.jena.sparql.mgt.Explain

public class Explain extends Object
Execution logging for query processing on a per query basis. This class provides an overlay on top of the system logging to provide control of log message down to a per query basis. The associated logging channel must also be enabled. An execution can detail the query, the algebra and every point at which the dataset is touched. Caution: logging can be a significant cost for small queries and for memory-backed datasets because of formatting the output and disk or console output overhead.
See Also:
  • Field Details

    • MultiLineMode

      public static boolean MultiLineMode
      Control whether messages include multiple line output. In multiple line output, subsequent lines start with a space to help log file parsing.
    • logExec

      public static final org.slf4j.Logger logExec
    • logInfo

      public static final org.slf4j.Logger logInfo
  • Constructor Details

    • Explain

      public Explain()
  • Method Details

    • explain

      public static void explain(Query query, Context context)
    • explain

      public static void explain(String message, Query query, Context context)
    • explain

      public static void explain(Op op, Context context)
    • explain

      public static void explain(String message, Op op, Context context)
    • explain

      public static void explain(BasicPattern bgp, Context context)
    • explain

      public static void explain(String message, BasicPattern bgp, Context context)
    • explain

      public static void explain(String message, QuadPattern quads, Context context)
    • explain

      public static void explain(Context context, String message)
    • explain

      public static void explain(Context context, String format, Object... args)
    • explaining

      public static boolean explaining(Explain.InfoLevel level, org.slf4j.Logger logger, Context context)
    • explain

      public static void explain(org.apache.jena.graph.Node s, Path path, org.apache.jena.graph.Node o, Context context)
    • explain

      public static void explain(String message, org.apache.jena.graph.Node s, Path path, org.apache.jena.graph.Node o, Context context)