net.ontopia.topicmaps.query.impl.basic
Class QueryTracer.TracePrinter

java.lang.Object
  extended by net.ontopia.topicmaps.query.impl.basic.QueryTracer.TracePrinter
All Implemented Interfaces:
QueryTraceListenerIF
Direct Known Subclasses:
SimpleQueryTracer
Enclosing class:
QueryTracer

public static class QueryTracer.TracePrinter
extends java.lang.Object
implements QueryTraceListenerIF


Field Summary
static float elapsedThreshold
           
static long memoryDeltaThreshold
           
 
Constructor Summary
QueryTracer.TracePrinter()
           
 
Method Summary
 void endQuery()
           
 void enter(BasicPredicateIF predicate, AbstractClause clause, QueryMatches input)
           
 void enter(java.util.List branch)
           
 void enter(OrClause clause, QueryMatches input)
           
 void enterOrderBy()
           
 void enterSelect(QueryMatches result)
           
 boolean isEnabled()
           
 void leave(java.util.List branch)
           
 void leave(QueryMatches result)
           
 void leaveOrderBy()
           
 void leaveSelect(QueryMatches result)
           
 void output(java.lang.String message)
           
 void startQuery()
           
 void trace(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

memoryDeltaThreshold

public static long memoryDeltaThreshold

elapsedThreshold

public static float elapsedThreshold
Constructor Detail

QueryTracer.TracePrinter

public QueryTracer.TracePrinter()
Method Detail

isEnabled

public boolean isEnabled()

output

public void output(java.lang.String message)

startQuery

public void startQuery()
Specified by:
startQuery in interface QueryTraceListenerIF

endQuery

public void endQuery()
Specified by:
endQuery in interface QueryTraceListenerIF

enter

public void enter(BasicPredicateIF predicate,
                  AbstractClause clause,
                  QueryMatches input)
Specified by:
enter in interface QueryTraceListenerIF

leave

public void leave(QueryMatches result)
Specified by:
leave in interface QueryTraceListenerIF

enter

public void enter(OrClause clause,
                  QueryMatches input)
Specified by:
enter in interface QueryTraceListenerIF

enter

public void enter(java.util.List branch)
Specified by:
enter in interface QueryTraceListenerIF

leave

public void leave(java.util.List branch)
Specified by:
leave in interface QueryTraceListenerIF

enterOrderBy

public void enterOrderBy()
Specified by:
enterOrderBy in interface QueryTraceListenerIF

leaveOrderBy

public void leaveOrderBy()
Specified by:
leaveOrderBy in interface QueryTraceListenerIF

enterSelect

public void enterSelect(QueryMatches result)
Specified by:
enterSelect in interface QueryTraceListenerIF

leaveSelect

public void leaveSelect(QueryMatches result)
Specified by:
leaveSelect in interface QueryTraceListenerIF

trace

public void trace(java.lang.String message)
Specified by:
trace in interface QueryTraceListenerIF


Copyright © 2000-2012 Ontopia.