#566 - Refactor internals - SpiExpression, add prepareExpression() to merge queryAutoTuneHash() and queryPlanHash() - tidy up OrmQueryRequest

This commit is contained in:
Robin Bygrave
2016-02-16 17:07:56 +13:00
parent af554410fd
commit 69bf1758bc
6 changed files with 47 additions and 73 deletions
@@ -289,16 +289,6 @@ public interface SpiQuery<T> extends Query<T> {
*/
void setBeanDescriptor(BeanDescriptor<?> desc);
/**
* Initialise/determine the joins required to support 'many' where clause predicates.
*/
boolean initManyWhereJoins();
/**
* Return true if one Many fetch join is allowed.
*/
boolean isAllowOneManyFetch();
/**
* Return the joins required to support predicates on the many properties.
*/
@@ -346,9 +336,9 @@ public interface SpiQuery<T> extends Query<T> {
void setLazyLoadManyPath(String lazyLoadManyPath);
/**
* Convert any many joins fetch joins to query joins.
* Convert joins as necessary to query joins etc.
*/
void convertManyFetchJoinsToQueryJoins(int queryBatch);
void convertJoins(int queryBatchSize);
/**
* Return the TransactionContext.