#1238 - Refactor MetaInfoManager - collect query plan stats, fix collection of stats on UpdateQuery

This commit is contained in:
Rob Bygrave
2018-01-19 01:07:37 +13:00
parent b9ae76d465
commit 07cdf64ece
27 changed files with 355 additions and 108 deletions
@@ -180,9 +180,14 @@ public interface SpiQuery<T> extends Query<T>, TxnProfileEventCodes {
ProfileLocation getProfileLocation();
/**
* Check for a single "equal to" expression for the Id.
* Return true if this is a "find by id" query. This includes a check for a single "equal to" expression for the Id.
*/
void checkIdEqualTo();
boolean isFindById();
/**
* Return true if this is a "find all" query. Used to set a "find all" profile location if necessary.
*/
boolean isFindAll();
/**
* Return true if AutoTune should be attempted on this query.