|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.avaje.ebean.bean.ObjectGraphOrigin
public final class ObjectGraphOrigin
Represents a "origin" of an ORM object graph. This combines the call stack and query plan hash.
The call stack is included so that the query can have different tuned fetches for each unique call stack. For example, a query to fetch a customer could be called by three different methods and each can be treated as a separate origin point (and autoFetch can tune each one separately).
Constructor Summary | |
---|---|
ObjectGraphOrigin(int queryHash,
CallStack callStack,
String beanType)
|
Method Summary | |
---|---|
String |
getBeanType()
The type of bean the query is fetching. |
CallStack |
getCallStack()
The call stack involved. |
String |
getFirstStackElement()
|
String |
getKey()
The key includes the queryPlan hash and the callStack hash. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ObjectGraphOrigin(int queryHash, CallStack callStack, String beanType)
Method Detail |
---|
public String getKey()
public String getBeanType()
public CallStack getCallStack()
public String getFirstStackElement()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |