FeedResponse<T> Class

  • java.lang.Object
    • com.microsoft.azure.cosmosdb.FeedResponse<T>

Type Parameters

T

public class FeedResponse

Method Summary

Modifier and Type Method and Description
String getActivityId()

Gets the activity ID for the request.

long getCollectionQuota()

Gets the maximum quota for collection resources within an account from the Azure Cosmos DB service.

long getCollectionSizeQuota()

Gets the maximum size of a collection in kilobytes from the Azure Cosmos DB service.

long getCollectionSizeUsage()

Gets the current size of a collection in kilobytes from the Azure Cosmos DB service.

long getCollectionUsage()

Gets the current number of collection resources within the account from the Azure Cosmos DB service.

String getCurrentResourceQuotaUsage()

Gets the current size of this entity from the Azure Cosmos DB service.

long getDatabaseQuota()

Gets the maximum quota for database resources within the account from the Azure Cosmos DB service.

long getDatabaseUsage()

Gets the current number of database resources within the account from the Azure Cosmos DB service.

String getMaxResourceQuota()

Gets the maximum size limit for this entity from the Azure Cosmos DB service.

long getPermissionQuota()

Gets the maximum quota for permission resources within an account from the Azure Cosmos DB service.

long getPermissionUsage()

Gets the current number of permission resources within the account from the Azure Cosmos DB service.

ConcurrentMap<String, QueryMetrics> getQueryMetrics()

Gets the QueryMetrics for each partition.

double getRequestCharge()

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

String getResponseContinuation()

Gets the continuation token to be used for continuing the enumeration.

Map<String, String> getResponseHeaders()

Gets the response headers.

List<T> getResults()

Results.

String getSessionToken()

Gets the session token for use in session consistency.

long getStoredProceduresQuota()

Gets the maximum quota of stored procedures for a collection from the Azure Cosmos DB service.

long getStoredProceduresUsage()

Gets the current number of stored procedures for a collection from the Azure Cosmos DB service.

long getTriggersQuota()

Gets the maximum quota of triggers for a collection from the Azure Cosmos DB service.

long getTriggersUsage()

Get the current number of triggers for a collection from the Azure Cosmos DB service.

long getUserDefinedFunctionsQuota()

Gets the maximum quota of user defined functions for a collection from the Azure Cosmos DB service.

long getUserDefinedFunctionsUsage()

Gets the current number of user defined functions for a collection from the Azure Cosmos DB service.

long getUserQuota()

Gets the maximum quota for user resources within an account from the Azure Cosmos DB service.

long getUserUsage()

Gets the current number of user resources within the account from the Azure Cosmos DB service.

Method Details

getActivityId

public String getActivityId()

Gets the activity ID for the request.

Returns:

the activity id.

getCollectionQuota

public long getCollectionQuota()

Gets the maximum quota for collection resources within an account from the Azure Cosmos DB service.

Returns:

The maximum quota for the account.

getCollectionSizeQuota

public long getCollectionSizeQuota()

Gets the maximum size of a collection in kilobytes from the Azure Cosmos DB service.

Returns:

The maximum quota in kilobytes.

getCollectionSizeUsage

public long getCollectionSizeUsage()

Gets the current size of a collection in kilobytes from the Azure Cosmos DB service.

Returns:

The current size of a collection in kilobytes.

getCollectionUsage

public long getCollectionUsage()

Gets the current number of collection resources within the account from the Azure Cosmos DB service.

Returns:

The current number of collections.

getCurrentResourceQuotaUsage

public String getCurrentResourceQuotaUsage()

Gets the current size of this entity from the Azure Cosmos DB service.

Returns:

the current size for this entity. Measured in kilobytes for document resources and in counts for other resources.

getDatabaseQuota

public long getDatabaseQuota()

Gets the maximum quota for database resources within the account from the Azure Cosmos DB service.

Returns:

The maximum quota for the account.

getDatabaseUsage

public long getDatabaseUsage()

Gets the current number of database resources within the account from the Azure Cosmos DB service.

Returns:

The current number of databases.

getMaxResourceQuota

public String getMaxResourceQuota()

Gets the maximum size limit for this entity from the Azure Cosmos DB service.

Returns:

the maximum size limit for this entity. Measured in kilobytes for document resources and in counts for other resources.

getPermissionQuota

public long getPermissionQuota()

Gets the maximum quota for permission resources within an account from the Azure Cosmos DB service.

Returns:

The maximum quota for the account.

getPermissionUsage

public long getPermissionUsage()

Gets the current number of permission resources within the account from the Azure Cosmos DB service.

Returns:

The current number of permissions.

getQueryMetrics

public ConcurrentMap getQueryMetrics()

Gets the QueryMetrics for each partition.

Returns:

the QueryMetrics for each partition.

getRequestCharge

public double getRequestCharge()

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

Returns:

the request charge.

getResponseContinuation

public String getResponseContinuation()

Gets the continuation token to be used for continuing the enumeration.

Returns:

the response continuation.

getResponseHeaders

public Map getResponseHeaders()

Gets the response headers.

Returns:

the response headers.

getResults

public List getResults()

Results.

Returns:

the list of results.

getSessionToken

public String getSessionToken()

Gets the session token for use in session consistency.

Returns:

the session token.

getStoredProceduresQuota

public long getStoredProceduresQuota()

Gets the maximum quota of stored procedures for a collection from the Azure Cosmos DB service.

Returns:

The maximum stored procedure quota.

getStoredProceduresUsage

public long getStoredProceduresUsage()

Gets the current number of stored procedures for a collection from the Azure Cosmos DB service.

Returns:

The current number of stored procedures.

getTriggersQuota

public long getTriggersQuota()

Gets the maximum quota of triggers for a collection from the Azure Cosmos DB service.

Returns:

The maximum triggers quota.

getTriggersUsage

public long getTriggersUsage()

Get the current number of triggers for a collection from the Azure Cosmos DB service.

Returns:

The current number of triggers.

getUserDefinedFunctionsQuota

public long getUserDefinedFunctionsQuota()

Gets the maximum quota of user defined functions for a collection from the Azure Cosmos DB service.

Returns:

The maximum user defined functions quota.

getUserDefinedFunctionsUsage

public long getUserDefinedFunctionsUsage()

Gets the current number of user defined functions for a collection from the Azure Cosmos DB service.

Returns:

the current number of user defined functions.

getUserQuota

public long getUserQuota()

Gets the maximum quota for user resources within an account from the Azure Cosmos DB service.

Returns:

The maximum quota for the account.

getUserUsage

public long getUserUsage()

Gets the current number of user resources within the account from the Azure Cosmos DB service.

Returns:

The current number of users.

Applies to