Module org.elasticsearch.server
Interface BlobContainer.BlobMultiPartInputStreamProvider
- Enclosing interface:
BlobContainer
public static interface BlobContainer.BlobMultiPartInputStreamProvider
Provides an
InputStream to read a part of the blob content.-
Method Summary
Modifier and TypeMethodDescriptionapply(long offset, long length) Provides anInputStreamto read a part of the blob content.
-
Method Details
-
apply
Provides anInputStreamto read a part of the blob content.- Parameters:
offset- the offset in the blob content to start reading bytes fromlength- the number of bytes to read- Returns:
- an
InputStreamto read a part of the blob content. - Throws:
IOException- if something goes wrong opening the input stream
-