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

java.lang.Object
  extended by net.ontopia.topicmaps.query.impl.basic.QueryTracer

public class QueryTracer
extends java.lang.Object

INTERNAL: Used for testing and timing of queries.


Nested Class Summary
static class QueryTracer.TracePrinter
           
 
Constructor Summary
QueryTracer()
           
 
Method Summary
static void addListener(QueryTraceListenerIF listener)
           
static void atTime(java.lang.String msg)
           
static void endQuery()
           
static void enter(BasicPredicateIF predicate, AbstractClause clause, QueryMatches input)
           
static void enter(java.util.List branch)
           
static void enter(OrClause clause, QueryMatches input)
           
static void enterOrderBy()
           
static void enterSelect(QueryMatches result)
           
static void leave(java.util.List branch)
           
static void leave(QueryMatches result)
           
static void leaveOrderBy()
           
static void leaveSelect(QueryMatches result)
           
static void removeListener(QueryTraceListenerIF listener)
           
static void startQuery()
           
static void trace(BasicPredicateIF predicate, java.util.List arguments)
           
static void trace(java.lang.String msg)
           
static void trace(java.lang.String msg, int[] array)
           
static void trace(java.lang.String msg, java.lang.Object[] array)
           
static void trace(java.lang.String msg, QueryMatches matches)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryTracer

public QueryTracer()
Method Detail

addListener

public static void addListener(QueryTraceListenerIF listener)

removeListener

public static void removeListener(QueryTraceListenerIF listener)

startQuery

public static void startQuery()

endQuery

public static void endQuery()

trace

public static void trace(BasicPredicateIF predicate,
                         java.util.List arguments)

trace

public static void trace(java.lang.String msg)

trace

public static void trace(java.lang.String msg,
                         int[] array)

trace

public static void trace(java.lang.String msg,
                         java.lang.Object[] array)

trace

public static void trace(java.lang.String msg,
                         QueryMatches matches)

atTime

public static void atTime(java.lang.String msg)

enter

public static void enter(BasicPredicateIF predicate,
                         AbstractClause clause,
                         QueryMatches input)

enter

public static void enter(OrClause clause,
                         QueryMatches input)

enter

public static void enter(java.util.List branch)

leave

public static void leave(QueryMatches result)

leave

public static void leave(java.util.List branch)

enterOrderBy

public static void enterOrderBy()

leaveOrderBy

public static void leaveOrderBy()

enterSelect

public static void enterSelect(QueryMatches result)

leaveSelect

public static void leaveSelect(QueryMatches result)


Copyright © 2000-2012 Ontopia.