com.avaje.ebean.meta
Class MetaAutoFetchStatistic.QueryStats

java.lang.Object
  extended by com.avaje.ebean.meta.MetaAutoFetchStatistic.QueryStats
All Implemented Interfaces:
Serializable
Enclosing class:
MetaAutoFetchStatistic

public static class MetaAutoFetchStatistic.QueryStats
extends Object
implements Serializable

FIXME: This will likely be deprecated in favour of a separate object graph cost.

See Also:
Serialized Form

Constructor Summary
MetaAutoFetchStatistic.QueryStats(String path, int exeCount, int totalBeanLoaded, int totalMicros)
           
 
Method Summary
 int getExeCount()
          The number of queries executed.
 String getPath()
          Return the path.
 int getTotalBeanLoaded()
          The total number of beans loaded by the query.
 int getTotalMicros()
          The total time in microseconds of the queries.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetaAutoFetchStatistic.QueryStats

public MetaAutoFetchStatistic.QueryStats(String path,
                                         int exeCount,
                                         int totalBeanLoaded,
                                         int totalMicros)
Method Detail

getPath

public String getPath()
Return the path. This is empty string for the origin query and otherwise the path for the associated lazy loading queries.


getExeCount

public int getExeCount()
The number of queries executed.


getTotalBeanLoaded

public int getTotalBeanLoaded()
The total number of beans loaded by the query.


getTotalMicros

public int getTotalMicros()
The total time in microseconds of the queries.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.