Package net.n2oapp.framework.engine.data
Class N2oQueryProcessor
java.lang.Object
net.n2oapp.framework.engine.data.N2oQueryProcessor
- All Implemented Interfaces:
QueryProcessor,MetadataEnvironmentAware,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class N2oQueryProcessor
extends Object
implements QueryProcessor, MetadataEnvironmentAware, org.springframework.context.ApplicationContextAware
Процессор выборок
-
Constructor Summary
ConstructorsConstructorDescriptionN2oQueryProcessor(N2oInvocationFactory invocationFactory, QueryExceptionHandler exceptionHandler) -
Method Summary
Modifier and TypeMethodDescriptionexecute(CompiledQuery query, N2oPreparedCriteria criteria) executeCount(CompiledQuery query, N2oPreparedCriteria criteria) executeOneSizeQuery(CompiledQuery query, N2oPreparedCriteria criteria) voidprepareMapForPage(Map<String, Object> map, N2oPreparedCriteria criteria, boolean pageStartsWith0) voidprepareMapForQuery(Map<String, Object> map, N2oQuery.Selection selection, CompiledQuery query, N2oPreparedCriteria criteria) voidsetEnvironment(MetadataEnvironment environment) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
-
Constructor Details
-
N2oQueryProcessor
public N2oQueryProcessor(N2oInvocationFactory invocationFactory, QueryExceptionHandler exceptionHandler)
-
-
Method Details
-
execute
- Specified by:
executein interfaceQueryProcessor
-
executeCount
- Specified by:
executeCountin interfaceQueryProcessor
-
executeOneSizeQuery
public CollectionPage<DataSet> executeOneSizeQuery(CompiledQuery query, N2oPreparedCriteria criteria) - Specified by:
executeOneSizeQueryin interfaceQueryProcessor
-
prepareMapForQuery
public void prepareMapForQuery(Map<String, Object> map, N2oQuery.Selection selection, CompiledQuery query, N2oPreparedCriteria criteria) -
prepareMapForPage
public void prepareMapForPage(Map<String, Object> map, N2oPreparedCriteria criteria, boolean pageStartsWith0) -
setEnvironment
- Specified by:
setEnvironmentin interfaceMetadataEnvironmentAware
-