org.neodatis.odb.core.query.execution
Class MultiClassGenericQueryExecutor
java.lang.Object
org.neodatis.odb.core.query.execution.MultiClassGenericQueryExecutor
- All Implemented Interfaces:
- IQueryExecutor
public class MultiClassGenericQueryExecutor
- extends java.lang.Object
- implements IQueryExecutor
A class to execute a query on more than one class and then merges the result. It is used when polymophic is set to true because
in this case, we must execute query on the main class and all its persistent subclasses
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiClassGenericQueryExecutor
public MultiClassGenericQueryExecutor(IMultiClassQueryExecutor executor)
execute
public <T> Objects<T> execute(boolean inMemory,
int startIndex,
int endIndex,
boolean returnObjects,
IMatchingObjectAction queryResultAction)
- The main query execution method
- Specified by:
execute
in interface IQueryExecutor
- Parameters:
query
- inMemory
- startIndex
- endIndex
- returnObjects
-
- Returns:
-
- Throws:
java.lang.Exception
executeStartAndEndOfQueryAction
public boolean executeStartAndEndOfQueryAction()
getFullClassName
public java.lang.String getFullClassName(IQuery query)
- Specified by:
getFullClassName
in interface IQueryExecutor