java.lang.Object
org.apache.jena.sparql.mgt.Explain
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Information level for query execution. -
Field Summary
Modifier and TypeFieldDescriptionstatic final org.slf4j.Logger
static final org.slf4j.Logger
static boolean
Control whether messages include multiple line output. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
explain
(String message, org.apache.jena.graph.Node s, Path path, org.apache.jena.graph.Node o, Context context) static void
static void
static void
explain
(String message, BasicPattern bgp, Context context) static void
explain
(String message, QuadPattern quads, Context context) static void
static void
static void
static void
explain
(BasicPattern bgp, Context context) static void
static void
static boolean
explaining
(Explain.InfoLevel level, org.slf4j.Logger logger, Context context)
-
Field Details
-
MultiLineMode
public static boolean MultiLineModeControl 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
-
explain
-
explain
-
explain
-
explain
-
explain
-
explain
-
explain
-
explain
-
explaining
-
explain
-
explain
-