All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.documentdb.MediaReadMode Maven / Gradle / Ivy

/* 
 * Copyright (c) Microsoft Corporation.  All rights reserved.
 */

package com.microsoft.azure.documentdb;

/**
 * Represents the mode for use with downloading attachment content (aka media) from the Azure Cosmos DB database service.
 */
public enum MediaReadMode {

    /**
     * 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.
     */
    Buffered,

    /**
     * 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.
     */
    Streamed
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy