MediaReadMode Enum

  • java.lang.Object
    • java.lang.Enum<MediaReadMode>
      • com.microsoft.azure.cosmosdb.MediaReadMode

public enum MediaReadMode

Represents the mode for use with downloading attachment content (aka media) from the Azure Cosmos DB database service.

Fields

Buffered

Content is buffered at the client and not directly streamed from the content store. Use Buffered to reduce the time taken to read and write media files.

Streamed

Content is directly streamed from the content store without any buffering at the client. Use Streamed to reduce the client memory overhead of reading and writing media files.

Applies to