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
Constructors Constructor Description N2oQueryProcessor(N2oInvocationFactory invocationFactory, QueryExceptionHandler exceptionHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionPage<DataSet>execute(CompiledQuery query, N2oPreparedCriteria criteria)IntegerexecuteCount(CompiledQuery query, N2oPreparedCriteria criteria)CollectionPage<DataSet>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)
-
-
-
Constructor Detail
-
N2oQueryProcessor
public N2oQueryProcessor(N2oInvocationFactory invocationFactory, QueryExceptionHandler exceptionHandler)
-
-
Method Detail
-
execute
public CollectionPage<DataSet> execute(CompiledQuery query, N2oPreparedCriteria criteria)
- Specified by:
executein interfaceQueryProcessor
-
executeCount
public Integer executeCount(CompiledQuery query, N2oPreparedCriteria criteria)
- 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
public void setEnvironment(MetadataEnvironment environment)
- Specified by:
setEnvironmentin interfaceMetadataEnvironmentAware
-
-