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
|
streampublic StreamingIssueDTORetriever(QueryDslAccessor qdslAccessor, DatabaseAccessor dbAccessor)
protected List<Long> getEntityIds(String mentionText)
BaseStreamingRetrievergetEntityIds in class BaseStreamingRetriever<Long,String,IssueDTO>mentionText - the parameter which is used to find the entitiesprotected List<IssueDTO> getEntitiesBatchByIds(List<Long> idsBatch)
BaseStreamingRetrievergetEntitiesBatchByIds in class BaseStreamingRetriever<Long,String,IssueDTO>idsBatch - the batch of ids for the entities to be returnedCopyright © 2002-2024 Atlassian. All Rights Reserved.