ResourceResponse<T> Class

Definition

  • java.lang.Object
    • com.microsoft.azure.documentdb.ResourceResponse<T>

Represents the service response to a request made from DocumentClient in the Azure Cosmos DB database service. Contains both the resource and the response headers.

public final class ResourceResponse<T>

Type Parameters

T

Methods

close()

Deprecated.

getActivityId()

Gets the Activity ID for the request.

getClientSideRequestStatistics()

Gets the request statistics for the current request to Azure Cosmos DB service.

getCollectionQuota()

Max Quota.

getCollectionSizeQuota()

Max Quota.

getCollectionSizeUsage()

Current Usage.

getCollectionUsage()

Current Usage.

getCurrentResourceQuotaUsage()

Gets the current size of this entity (in megabytes (MB) for server resources and in count for master resources)

getDatabaseQuota()

Max Quota.

getDatabaseUsage()

Current Usage.

getDocumentCountQuota()

Max document count quota.

getDocumentCountUsage()

Current document count usage.

getDocumentQuota()

Max Quota.

getDocumentUsage()

Current Usage.

getIndexTransformationProgress()

Gets the progress of an index transformation, if one is underway.

getLazyIndexingProgress()

Gets the progress of lazy indexing.

getMaxResourceQuota()

Gets the maximum size limit for this entity (in megabytes (MB) for server resources and in count for master resources).

getPermissionQuota()

Max Quota.

getPermissionUsage()

Current Usage.

getRUPerMinuteUsed()

Gets the flag associated with the response from the Azure Cosmos DB database service whether this request is served from Request Units(RUs)/minute capacity or not.

getRequestCharge()

Gets the number of index paths (terms) generated by the operation.

getRequestDiagnosticsString()

Gets the diagnostics information for the current request to Azure Cosmos DB service.

getRequestLatency()

Gets the end-to-end request latency for the current request to Azure Cosmos DB service.

getResource()

Gets the resource for the request.

getResponseHeaders()

Gets the headers associated with the response.

getSessionToken()

Gets the token used for managing client's consistency requirements.

getStatusCode()

Gets the HTTP status code associated with the response.

getStoredProceduresQuota()

Max Quota.

getStoredProceduresUsage()

Current Usage.

getTriggersQuota()

Max Quota.

getTriggersUsage()

Current Usage.

getUserDefinedFunctionsQuota()

Max Quota.

getUserDefinedFunctionsUsage()

Current Usage.

getUserQuota()

Max Quota.

getUserUsage()

Current Usage.

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Applies to