Package com.azure.data.cosmos
Class FeedResponse<T>
- java.lang.Object
-
- com.azure.data.cosmos.FeedResponse<T>
-
public class FeedResponse<T> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
activityId()
Gets the activity ID for the request.long
collectionQuota()
Gets the maximum quota for collection resources within an account from the Azure Cosmos DB service.long
collectionSizeQuota()
Gets the maximum size of a collection in kilobytes from the Azure Cosmos DB service.long
collectionSizeUsage()
Gets the current size of a collection in kilobytes from the Azure Cosmos DB service.long
collectionUsage()
Gets the current number of collection resources within the account from the Azure Cosmos DB service.String
continuationToken()
Gets the continuation token to be used for continuing the enumeration.String
currentResourceQuotaUsage()
Gets the current size of this entity from the Azure Cosmos DB service.long
databaseQuota()
Gets the maximum quota for database resources within the account from the Azure Cosmos DB service.long
databaseUsage()
Gets the current number of database resources within the account from the Azure Cosmos DB service.FeedResponseDiagnostics
feedResponseDiagnostics()
Gets the feed response diagnosticsString
maxResourceQuota()
Gets the maximum size limit for this entity from the Azure Cosmos DB service.long
permissionQuota()
Gets the maximum quota for permission resources within an account from the Azure Cosmos DB service.long
permissionUsage()
Gets the current number of permission resources within the account from the Azure Cosmos DB service.double
requestCharge()
Gets the number of index paths (terms) generated by the operation.Map<String,String>
responseHeaders()
Gets the response headers.List<T>
results()
Results.String
sessionToken()
Gets the session token for use in session consistency.long
storedProceduresQuota()
Gets the maximum quota of stored procedures for a collection from the Azure Cosmos DB service.long
storedProceduresUsage()
Gets the current number of stored procedures for a collection from the Azure Cosmos DB service.long
triggersQuota()
Gets the maximum quota of triggers for a collection from the Azure Cosmos DB service.long
triggersUsage()
Get the current number of triggers for a collection from the Azure Cosmos DB service.long
userDefinedFunctionsQuota()
Gets the maximum quota of user defined functions for a collection from the Azure Cosmos DB service.long
userDefinedFunctionsUsage()
Gets the current number of user defined functions for a collection from the Azure Cosmos DB service.long
userQuota()
Gets the maximum quota for user resources within an account from the Azure Cosmos DB service.long
userUsage()
Gets the current number of user resources within the account from the Azure Cosmos DB service.
-
-
-
Method Detail
-
databaseQuota
public long databaseQuota()
Gets the maximum quota for database resources within the account from the Azure Cosmos DB service.- Returns:
- The maximum quota for the account.
-
databaseUsage
public long databaseUsage()
Gets the current number of database resources within the account from the Azure Cosmos DB service.- Returns:
- The current number of databases.
-
collectionQuota
public long collectionQuota()
Gets the maximum quota for collection resources within an account from the Azure Cosmos DB service.- Returns:
- The maximum quota for the account.
-
collectionUsage
public long collectionUsage()
Gets the current number of collection resources within the account from the Azure Cosmos DB service.- Returns:
- The current number of collections.
-
userQuota
public long userQuota()
Gets the maximum quota for user resources within an account from the Azure Cosmos DB service.- Returns:
- The maximum quota for the account.
-
userUsage
public long userUsage()
Gets the current number of user resources within the account from the Azure Cosmos DB service.- Returns:
- The current number of users.
-
permissionQuota
public long permissionQuota()
Gets the maximum quota for permission resources within an account from the Azure Cosmos DB service.- Returns:
- The maximum quota for the account.
-
permissionUsage
public long permissionUsage()
Gets the current number of permission resources within the account from the Azure Cosmos DB service.- Returns:
- The current number of permissions.
-
collectionSizeQuota
public long collectionSizeQuota()
Gets the maximum size of a collection in kilobytes from the Azure Cosmos DB service.- Returns:
- The maximum quota in kilobytes.
-
collectionSizeUsage
public long collectionSizeUsage()
Gets the current size of a collection in kilobytes from the Azure Cosmos DB service.- Returns:
- The current size of a collection in kilobytes.
-
storedProceduresQuota
public long storedProceduresQuota()
Gets the maximum quota of stored procedures for a collection from the Azure Cosmos DB service.- Returns:
- The maximum stored procedure quota.
-
storedProceduresUsage
public long storedProceduresUsage()
Gets the current number of stored procedures for a collection from the Azure Cosmos DB service.- Returns:
- The current number of stored procedures.
-
triggersQuota
public long triggersQuota()
Gets the maximum quota of triggers for a collection from the Azure Cosmos DB service.- Returns:
- The maximum triggers quota.
-
triggersUsage
public long triggersUsage()
Get the current number of triggers for a collection from the Azure Cosmos DB service.- Returns:
- The current number of triggers.
-
userDefinedFunctionsQuota
public long userDefinedFunctionsQuota()
Gets the maximum quota of user defined functions for a collection from the Azure Cosmos DB service.- Returns:
- The maximum user defined functions quota.
-
userDefinedFunctionsUsage
public long userDefinedFunctionsUsage()
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.
-
maxResourceQuota
public String maxResourceQuota()
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.
-
currentResourceQuotaUsage
public String currentResourceQuotaUsage()
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.
-
requestCharge
public double requestCharge()
Gets the number of index paths (terms) generated by the operation.- Returns:
- the request charge.
-
activityId
public String activityId()
Gets the activity ID for the request.- Returns:
- the activity id.
-
continuationToken
public String continuationToken()
Gets the continuation token to be used for continuing the enumeration.- Returns:
- the response continuation.
-
sessionToken
public String sessionToken()
Gets the session token for use in session consistency.- Returns:
- the session token.
-
responseHeaders
public Map<String,String> responseHeaders()
Gets the response headers.- Returns:
- the response headers.
-
feedResponseDiagnostics
public FeedResponseDiagnostics feedResponseDiagnostics()
Gets the feed response diagnostics- Returns:
- Feed response diagnostics
-
-