Class ReadContext

java.lang.Object
org.opensearch.common.blobstore.stream.read.ReadContext

@ExperimentalApi public class ReadContext extends Object
ReadContext is used to encapsulate all data needed by BlobContainer#readBlobAsync
Opensearch.experimental:
  • Constructor Details

    • ReadContext

      public ReadContext(ReadContext readContext)
  • Method Details

    • getBlobChecksum

      public String getBlobChecksum()
    • getMetadata

      public Map<String,String> getMetadata()
    • getNumberOfParts

      public int getNumberOfParts()
    • getBlobSize

      public long getBlobSize()
    • getPartStreams

      public List<ReadContext.StreamPartCreator> getPartStreams()