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 class ResourceResponse<T extends Resource>

类型参数

T

the resource type of the resource response.

继承
java.lang.Object
ResourceResponse<T>

方法

close()

Deprecated.

getActivityId()

Gets the Activity ID for the request.

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.

getRequestCharge()

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

getResource()

Gets the resource for the request.

getResponseHeaders()

Gets the headers associated with the response.

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.

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.

适用于