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
-
-
Constructor Summary
Constructors Constructor and Description MultiClassGenericQueryExecutor(IMultiClassQueryExecutor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description <T> Objects<T>execute(boolean inMemory, int startIndex, int endIndex, boolean returnObjects, IMatchingObjectAction queryResultAction)The main query execution methodbooleanexecuteStartAndEndOfQueryAction()java.lang.StringgetFullClassName(IQuery query)
-
-
-
Constructor Detail
-
MultiClassGenericQueryExecutor
public MultiClassGenericQueryExecutor(IMultiClassQueryExecutor executor)
-
-
Method Detail
-
execute
public <T> Objects<T> execute(boolean inMemory, int startIndex, int endIndex, boolean returnObjects, IMatchingObjectAction queryResultAction)
The main query execution method- Specified by:
executein interfaceIQueryExecutor- 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:
getFullClassNamein interfaceIQueryExecutor
-
-
DataMelt 3.0 © DataMelt by jWork.ORG