use of ca.uhn.fhir.jpa.search.DatabaseBackedPagingProvider in project hapi-fhir-jpaserver-starter by hapifhir.
the class FhirServerConfigDstu2 method databaseBackedPagingProvider.
@Override
public DatabaseBackedPagingProvider databaseBackedPagingProvider() {
DatabaseBackedPagingProvider pagingProvider = super.databaseBackedPagingProvider();
pagingProvider.setDefaultPageSize(appProperties.getDefault_page_size());
pagingProvider.setMaximumPageSize(appProperties.getMax_page_size());
return pagingProvider;
}
use of ca.uhn.fhir.jpa.search.DatabaseBackedPagingProvider in project hapi-fhir-jpaserver-starter by hapifhir.
the class FhirServerConfigR4 method databaseBackedPagingProvider.
@Override
public DatabaseBackedPagingProvider databaseBackedPagingProvider() {
DatabaseBackedPagingProvider pagingProvider = super.databaseBackedPagingProvider();
pagingProvider.setDefaultPageSize(appProperties.getDefault_page_size());
pagingProvider.setMaximumPageSize(appProperties.getMax_page_size());
return pagingProvider;
}
use of ca.uhn.fhir.jpa.search.DatabaseBackedPagingProvider in project hapi-fhir-jpaserver-starter by hapifhir.
the class FhirServerConfigDstu3 method databaseBackedPagingProvider.
@Override
public DatabaseBackedPagingProvider databaseBackedPagingProvider() {
DatabaseBackedPagingProvider pagingProvider = super.databaseBackedPagingProvider();
pagingProvider.setDefaultPageSize(appProperties.getDefault_page_size());
pagingProvider.setMaximumPageSize(appProperties.getMax_page_size());
return pagingProvider;
}
use of ca.uhn.fhir.jpa.search.DatabaseBackedPagingProvider in project drug-formulary-ri by HL7-DaVinci.
the class FhirServerConfigR5 method databaseBackedPagingProvider.
/**
* We override the paging provider definition so that we can customize
* the default/max page sizes for search results. You can set these however
* you want, although very large page sizes will require a lot of RAM.
*/
@Override
public DatabaseBackedPagingProvider databaseBackedPagingProvider() {
DatabaseBackedPagingProvider pagingProvider = super.databaseBackedPagingProvider();
pagingProvider.setDefaultPageSize(HapiProperties.getDefaultPageSize());
pagingProvider.setMaximumPageSize(HapiProperties.getMaximumPageSize());
return pagingProvider;
}
use of ca.uhn.fhir.jpa.search.DatabaseBackedPagingProvider in project drug-formulary-ri by HL7-DaVinci.
the class FhirServerConfigDstu3 method databaseBackedPagingProvider.
/**
* We override the paging provider definition so that we can customize
* the default/max page sizes for search results. You can set these however
* you want, although very large page sizes will require a lot of RAM.
*/
@Override
public DatabaseBackedPagingProvider databaseBackedPagingProvider() {
DatabaseBackedPagingProvider pagingProvider = super.databaseBackedPagingProvider();
pagingProvider.setDefaultPageSize(HapiProperties.getDefaultPageSize());
pagingProvider.setMaximumPageSize(HapiProperties.getMaximumPageSize());
return pagingProvider;
}
Aggregations