com.avaje.ebean.meta
Class MetaAutoFetchTunedQueryInfo

java.lang.Object
  extended by com.avaje.ebean.meta.MetaAutoFetchTunedQueryInfo
All Implemented Interfaces:
Serializable

public class MetaAutoFetchTunedQueryInfo
extends Object
implements Serializable

"Tuned fetch" information used by AutoFetch.

Note that the queryPoint is effectively the Id field for this bean.

The queryPoint identifies both the query and call stack.

See Also:
Serialized Form

Constructor Summary
MetaAutoFetchTunedQueryInfo()
           
MetaAutoFetchTunedQueryInfo(ObjectGraphOrigin origin, String tunedDetail, int profileCount, int tunedCount, long lastTuneTime)
           
 
Method Summary
 String getBeanType()
          Return the type of bean this is tuned for.
 String getId()
          Return the query point key.
 long getLastTuneTime()
          Return the time of the last tune (that changed the query).
 ObjectGraphOrigin getOrigin()
          Return the query point.
 int getProfileCount()
          The number of profiled queries the tuned query is based on.
 int getTunedCount()
          Return the number of queries tuned.
 String getTunedDetail()
          The tuned query detail in string form.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetaAutoFetchTunedQueryInfo

public MetaAutoFetchTunedQueryInfo()

MetaAutoFetchTunedQueryInfo

public MetaAutoFetchTunedQueryInfo(ObjectGraphOrigin origin,
                                   String tunedDetail,
                                   int profileCount,
                                   int tunedCount,
                                   long lastTuneTime)
Method Detail

getId

public String getId()
Return the query point key.


getBeanType

public String getBeanType()
Return the type of bean this is tuned for.


getOrigin

public ObjectGraphOrigin getOrigin()
Return the query point.


getTunedDetail

public String getTunedDetail()
The tuned query detail in string form.


getProfileCount

public int getProfileCount()
The number of profiled queries the tuned query is based on.


getTunedCount

public int getTunedCount()
Return the number of queries tuned.


getLastTuneTime

public long getLastTuneTime()
Return the time of the last tune (that changed the query).


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.