@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public class StreamingCustomFieldValueDTORetriever extends BaseStreamingRetriever<Long,String,CustomFieldValueDTO>
Constructor and Description |
---|
StreamingCustomFieldValueDTORetriever(QueryDslAccessor queryDslAccessor,
DatabaseAccessor dbAccessor) |
Modifier and Type | Method and Description |
---|---|
protected List<CustomFieldValueDTO> |
getEntitiesBatchByIds(List<Long> idsBatch)
The implementation should return the entities based on provided ids list
|
protected List<Long> |
getEntityIds(String mentionText)
The implementation should return all the ids of entities which will be then returned in batches
|
stream
public StreamingCustomFieldValueDTORetriever(QueryDslAccessor queryDslAccessor, DatabaseAccessor dbAccessor)
protected List<Long> getEntityIds(String mentionText)
BaseStreamingRetriever
getEntityIds
in class BaseStreamingRetriever<Long,String,CustomFieldValueDTO>
mentionText
- the parameter which is used to find the entitiesprotected List<CustomFieldValueDTO> getEntitiesBatchByIds(List<Long> idsBatch)
BaseStreamingRetriever
getEntitiesBatchByIds
in class BaseStreamingRetriever<Long,String,CustomFieldValueDTO>
idsBatch
- the batch of ids for the entities to be returnedCopyright © 2002-2020 Atlassian. All Rights Reserved.