Class Explain


  • public class Explain
    extends java.lang.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:
    ARQ.logExec, ARQ.getExecutionLogging(), ARQ.setExecutionLogging(org.apache.jena.sparql.mgt.Explain.InfoLevel)
    • Field Detail

      • 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 Detail

      • Explain

        public Explain()
    • Method Detail

      • explain

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

        public static void explain​(java.lang.String message,
                                   Query query,
                                   Context context)
      • explain

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

        public static void explain​(java.lang.String message,
                                   Op op,
                                   Context context)
      • explain

        public static void explain​(java.lang.String message,
                                   BasicPattern bgp,
                                   Context context)
      • explain

        public static void explain​(java.lang.String message,
                                   QuadPattern quads,
                                   Context context)
      • explain

        public static void explain​(Context context,
                                   java.lang.String message)
      • explain

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

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

        public static void explain​(java.lang.String message,
                                   Node s,
                                   Path path,
                                   Node o,
                                   Context context)