Interface AnnotationReadResponse
public interface AnnotationReadResponse
Response from a call to
AnnotationService.readAnnotations(AnnotationReadRequest)
.-
Method Summary
Modifier and TypeMethodDescriptionlong
Retrieves the total number of annotations found by the read request.Returns aStream
of the requestedAnnotation
s.
-
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 aStream
of the requestedAnnotation
s. If a particular annotation requested by ID is not found, it will not be included in the stream.- Returns:
- the
Stream
ofAnnotation
s
-