|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.trace.EigenbaseTrace
public abstract class EigenbaseTrace
Contains all of the tracers
used within
org.eigenbase class libraries.
Please ensure that every tracer used in org.eigenbase is added to this
class as a public static final member called
componentTracer
. For example, getPlannerTracer()
is the
tracer used by all classes which take part in the query planning process.
The javadoc in this file is the primary source of information on what
tracers are available, so the javadoc against each tracer member must be an
up-to-date description of what that tracer does. Be sure to describe what
tracing level
is required to obtain each category of tracing.
In the class where the tracer is used, create a private (or
perhaps protected) static final member called
tracer
.
Field Summary | |
---|---|
static Logger |
parserTracer
The "org.eigenbase.sql.parser" tracer reports parser events in SqlParser and other classes (at level Level.FINE or higher). |
Constructor Summary | |
---|---|
EigenbaseTrace()
|
Method Summary | |
---|---|
static Logger |
getClassMapTracer()
The "org.eigenbase.oj.util.OJClassMap" tracer reports when synthetic classes are created ( Level.FINE ) |
static Logger |
getCompoundIteratorTracer()
The "org.eigenbase.runtime.CompoundIterator" tracer traces CompoundIterator :
Level.FINE shows the transition to the next child Iterator. |
static Logger |
getJmiChangeSetTracer()
The "org.eigenbase.jmi.JmiChangeSet" tracer reports JmiChangeSet events. |
static Logger |
getParserTracer()
The "org.eigenbase.sql.parser" tracer reports parse events. |
static Logger |
getPlannerTracer()
The "org.eigenbase.relopt.RelOptPlanner" tracer prints the query optimization process. |
static Logger |
getPropertyTracer()
The "org.eigenbase.util.property.Property" tracer reports errors related to all manner of properties. |
static Logger |
getRelImplementorTracer()
The "org.eigenbase.oj.rel.JavaRelImplementor" tracer reports when expressions are bound to variables ( Level.FINE ) |
static Logger |
getSqlTimingTracer()
The tracer "org.eigenbase.sql.timing" traces timing for various stages of query processing. |
static Logger |
getSqlToRelTracer()
The "org.eigenbase.sql2rel" tracer reports parse events. |
static Logger |
getStatementTracer()
The "org.eigenbase.oj.stmt.OJPreparingStmt" tracer prints the generated program at level Level.FINE or higher. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Logger parserTracer
SqlParser
and other classes (at level Level.FINE
or higher).
Constructor Detail |
---|
public EigenbaseTrace()
Method Detail |
---|
public static Logger getPlannerTracer()
Levels:
Level.FINE
prints rules as they fire;
Level.FINER
prints and validates the whole expression pool
and rule queue as each rule fires;
Level.FINEST
prints finer details like rule importances.
public static Logger getStatementTracer()
Level.FINE
or higher.
public static Logger getRelImplementorTracer()
Level.FINE
)
public static Logger getSqlTimingTracer()
EigenbaseTimingTracer
public static Logger getParserTracer()
public static Logger getSqlToRelTracer()
public static Logger getJmiChangeSetTracer()
public static Logger getClassMapTracer()
Level.FINE
)
public static Logger getPropertyTracer()
public static Logger getCompoundIteratorTracer()
CompoundIterator
:
Level.FINE
shows the transition to the next child Iterator.
Level.FINER
shows every element.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |