public final class ObjectGraphOrigin extends Object implements Serializable
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 autoTune can tune each one separately).
Constructor and Description |
---|
ObjectGraphOrigin(int queryHash,
CallStack callStack,
String beanType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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.
|
int |
hashCode() |
String |
toString() |
public ObjectGraphOrigin(int queryHash, CallStack callStack, String beanType)
public String getKey()
public String getBeanType()
public CallStack getCallStack()
public String getFirstStackElement()
Copyright © 2018. All rights reserved.