|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.query.analysis.AnalysisRecord
public class AnalysisRecord
The AnalysisRecord holds all debug/analysis information for a particular query as it is executed. This includes:
Constructor Summary | |
---|---|
AnalysisRecord(boolean recordQueryPlan,
boolean recordAnnotations,
boolean recordDebug)
|
Method Summary | |
---|---|
void |
addAnnotation(QueryAnnotation annotation)
Add an annotation. |
static AnalysisRecord |
createNonRecordingRecord()
|
java.util.Collection |
getAnnotations()
Get annotations. |
java.lang.String |
getDebugLog()
Get debug trace log recorded to writer. |
java.util.Map |
getQueryPlan()
Get the query plan that was created |
void |
println(java.lang.String debugLine)
Add line to debug log This can only be used if recordDebug returns true. |
boolean |
recordAnnotations()
Determine whether annotations should be recorded |
boolean |
recordDebug()
Determine whether debug trace log should be recorded |
boolean |
recordQueryPlan()
Determine whether query plan should be recorded |
void |
setQueryPlan(java.util.Map queryPlan)
Set the query plan that was created |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnalysisRecord(boolean recordQueryPlan, boolean recordAnnotations, boolean recordDebug)
Method Detail |
---|
public static AnalysisRecord createNonRecordingRecord()
public boolean recordQueryPlan()
public boolean recordAnnotations()
public boolean recordDebug()
public void setQueryPlan(java.util.Map queryPlan)
queryPlan
- The planpublic java.util.Map getQueryPlan()
public void addAnnotation(QueryAnnotation annotation)
recordAnnotations
returns true.
annotation
- Annotation to addpublic java.util.Collection getAnnotations()
public void println(java.lang.String debugLine)
recordDebug
returns true.
debugLine
- Text to add to debug writerpublic java.lang.String getDebugLog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |