public class StreamingIssueDTORetriever extends BaseStreamingRetriever<Long,String,IssueDTO>
Constructor and Description |
---|
StreamingIssueDTORetriever(QueryDslAccessor qdslAccessor,
DatabaseAccessor dbAccessor) |
Modifier and Type | Method and Description |
---|---|
protected List<IssueDTO> |
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 StreamingIssueDTORetriever(QueryDslAccessor qdslAccessor, DatabaseAccessor dbAccessor)
protected List<Long> getEntityIds(String mentionText)
BaseStreamingRetriever
getEntityIds
in class BaseStreamingRetriever<Long,String,IssueDTO>
mentionText
- the parameter which is used to find the entitiesprotected List<IssueDTO> getEntitiesBatchByIds(List<Long> idsBatch)
BaseStreamingRetriever
getEntitiesBatchByIds
in class BaseStreamingRetriever<Long,String,IssueDTO>
idsBatch
- the batch of ids for the entities to be returnedCopyright © 2002-2021 Atlassian. All Rights Reserved.