Interface AnnotationReadResponse
public interface AnnotationReadResponse
Response from a call to
AnnotationService.readAnnotations(AnnotationReadRequest).-
Method Summary
Modifier and TypeMethodDescriptionlongRetrieves the total number of annotations found by the read request.Returns aStreamof the requestedAnnotations.
-
Method Details
-
getResultCount
long getResultCount()Retrieves the total number of annotations found by the read request.- Returns:
- the total number of annotations found by the read request
-
streamResults
Stream<Annotation> streamResults()Returns aStreamof the requestedAnnotations. If a particular annotation requested by ID is not found, it will not be included in the stream.- Returns:
- the
StreamofAnnotations
-