@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public class StreamingChangeItemDTORetriever extends BaseStreamingRetriever<Long,String,ChangeItemDTO>
| Constructor and Description |
|---|
StreamingChangeItemDTORetriever(QueryDslAccessor queryDslAccessor,
DatabaseAccessor dbAccessor) |
| Modifier and Type | Method and Description |
|---|---|
protected List<ChangeItemDTO> |
getEntitiesBatchByIds(List<Long> idsBatch)
The implementation should return the entities based on provided ids list
|
protected List<Long> |
getEntityIds(String queryParam)
The implementation should return all the ids of entities which will be then returned in batches
|
static com.querydsl.core.types.dsl.BooleanExpression |
getWhereClause(DatabaseVendor dbVendor,
String queryParam) |
streampublic StreamingChangeItemDTORetriever(QueryDslAccessor queryDslAccessor, DatabaseAccessor dbAccessor)
protected List<Long> getEntityIds(String queryParam)
BaseStreamingRetrievergetEntityIds in class BaseStreamingRetriever<Long,String,ChangeItemDTO>queryParam - the parameter which is used to find the entitiespublic static com.querydsl.core.types.dsl.BooleanExpression getWhereClause(DatabaseVendor dbVendor, String queryParam)
protected List<ChangeItemDTO> getEntitiesBatchByIds(List<Long> idsBatch)
BaseStreamingRetrievergetEntitiesBatchByIds in class BaseStreamingRetriever<Long,String,ChangeItemDTO>idsBatch - the batch of ids for the entities to be returnedCopyright © 2002-2024 Atlassian. All Rights Reserved.