Package io.ebean.meta
Class QueryPlanInit
java.lang.Object
io.ebean.meta.QueryPlanInit
public class QueryPlanInit extends Object
Initiate query plan collection for plans by their hash or all query plans.
-
Constructor Summary
Constructors Constructor Description QueryPlanInit() -
Method Summary
Modifier and Type Method Description Set<String>getHashes()Return the specific hashes that we want to collect query plans on.longgetThresholdMicros()Return the query execution time threshold which must be exceeded to initiate query plan collection.booleanincludeHash(String hash)Return true if the query plan should be initiated based on it's hash.booleanisAll()Return true if this initiates bind collection on all query plans.voidsetAll(boolean all)Set to true to initiate bind collection on all query plans.voidsetHashes(Set<String> hashes)Set the specific hashes that we want to collect query plans on.voidsetThresholdMicros(long thresholdMicros)Set the query execution time threshold which must be exceeded to initiate query plan collection.
-
Constructor Details
-
QueryPlanInit
public QueryPlanInit()
-
-
Method Details
-
isAll
Return true if this initiates bind collection on all query plans. -
setAll
Set to true to initiate bind collection on all query plans. -
getThresholdMicros
Return the query execution time threshold which must be exceeded to initiate query plan collection. -
setThresholdMicros
Set the query execution time threshold which must be exceeded to initiate query plan collection. -
includeHash
Return true if the query plan should be initiated based on it's hash. -
getHashes
Return the specific hashes that we want to collect query plans on. -
setHashes
Set the specific hashes that we want to collect query plans on.
-