java.lang.Object
io.ebeaninternal.server.autotune.service.TunedQueryInfo
- All Implemented Interfaces:
Serializable
Holds tuned query information. Is immutable so this represents the tuning at
a given point in time.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the origin entry (includes call stack and bean type).io.ebeaninternal.server.querydefn.OrmQueryDetailReturn the tuned detail (for comparison with profiling information).toString()booleantuneQuery(io.ebeaninternal.api.SpiQuery<?> query) Tune the query by replacing its OrmQueryDetail with a tuned one.
-
Constructor Details
-
TunedQueryInfo
-
-
Method Details
-
getOrigin
Return the origin entry (includes call stack and bean type). -
getTunedDetail
public io.ebeaninternal.server.querydefn.OrmQueryDetail getTunedDetail()Return the tuned detail (for comparison with profiling information). -
tuneQuery
public boolean tuneQuery(io.ebeaninternal.api.SpiQuery<?> query) Tune the query by replacing its OrmQueryDetail with a tuned one.- Returns:
- true if the query was tuned, otherwise false.
-
toString
-