FeedResponse<T> Class
- java.
lang. Object - com.
azure. cosmos. models. FeedResponse<T>
- com.
Type Parameters
- T
the type parameter
Implements
public class FeedResponse
implements ContinuablePage<String,T>
The type Feed response.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getActivityId()
Gets the activity ID for the request. |
long |
getCollectionQuota()
Gets the maximum quota for container resources within an account from the Azure Cosmos DB service. |
long |
getCollectionSizeQuota()
Gets the maximum size of a container in kilobytes from the Azure Cosmos DB service. |
long |
getCollectionSizeUsage()
Gets the current size of a container in kilobytes from the Azure Cosmos DB service. |
long |
getCollectionUsage()
Gets the current number of container resources within the account from the Azure Cosmos DB service. |
String |
getContinuationToken()
Gets the continuation token to be used for continuing the enumeration. |
UUID |
getCorrelationActivityId()
Gets the correlation activity ID for the responses of a query operation or null if no correlation activity id is present |
Cosmos |
getCosmosDiagnostics()
Gets the feed response diagnostics |
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. |
long |
getDocumentCountUsage()
Current document count usage. |
long |
getDocumentUsage()
Gets the current size of the documents in a container in kilobytes from the Azure Cosmos DB service. |
Iterable |
getElements() |
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. |
double |
getRequestCharge()
Gets the request charge as request units (RU) consumed by the operation. |
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 container from the Azure Cosmos DB service. |
long |
getStoredProceduresUsage()
Gets the current number of stored procedures for a container from the Azure Cosmos DB service. |
long |
getTriggersQuota()
Gets the maximum quota of triggers for a container from the Azure Cosmos DB service. |
long |
getTriggersUsage()
Get the current number of triggers for a container from the Azure Cosmos DB service. |
long |
getUserDefinedFunctionsQuota()
Gets the maximum quota of user defined functions for a container from the Azure Cosmos DB service. |
long |
getUserDefinedFunctionsUsage()
Gets the current number of user defined functions for a container 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. |
Methods inherited from java.lang.Object
Method Details
getActivityId
public String getActivityId()
Gets the activity ID for the request.
Returns:
getCollectionQuota
public long getCollectionQuota()
Gets the maximum quota for container resources within an account from the Azure Cosmos DB service.
Returns:
getCollectionSizeQuota
public long getCollectionSizeQuota()
Gets the maximum size of a container in kilobytes from the Azure Cosmos DB service.
Returns:
getCollectionSizeUsage
public long getCollectionSizeUsage()
Gets the current size of a container in kilobytes from the Azure Cosmos DB service.
Returns:
getCollectionUsage
public long getCollectionUsage()
Gets the current number of container resources within the account from the Azure Cosmos DB service.
Returns:
getContinuationToken
public String getContinuationToken()
Gets the continuation token to be used for continuing the enumeration.
Returns:
getCorrelationActivityId
public UUID getCorrelationActivityId()
Gets the correlation activity ID for the responses of a query operation or null if no correlation activity id is present
Returns:
getCosmosDiagnostics
public CosmosDiagnostics getCosmosDiagnostics()
Gets the feed response diagnostics
Returns:
getCurrentResourceQuotaUsage
public String getCurrentResourceQuotaUsage()
Gets the current size of this entity from the Azure Cosmos DB service.
Returns:
getDatabaseQuota
public long getDatabaseQuota()
Gets the maximum quota for database resources within the account from the Azure Cosmos DB service.
Returns:
getDatabaseUsage
public long getDatabaseUsage()
Gets the current number of database resources within the account from the Azure Cosmos DB service.
Returns:
getDocumentCountUsage
public long getDocumentCountUsage()
Current document count usage.
Returns:
getDocumentUsage
public long getDocumentUsage()
Gets the current size of the documents in a container in kilobytes from the Azure Cosmos DB service.
Returns:
getElements
public IterableStream
getMaxResourceQuota
public String getMaxResourceQuota()
Gets the maximum size limit for this entity from the Azure Cosmos DB service.
Returns:
getPermissionQuota
public long getPermissionQuota()
Gets the maximum quota for permission resources within an account from the Azure Cosmos DB service.
Returns:
getPermissionUsage
public long getPermissionUsage()
Gets the current number of permission resources within the account from the Azure Cosmos DB service.
Returns:
getRequestCharge
public double getRequestCharge()
Gets the request charge as request units (RU) consumed by the operation. For more information about the RU and factors that can impact the effective charges please visit Request Units in Azure Cosmos DB
Returns:
getResponseHeaders
public Map
Gets the response headers.
Returns:
getResults
public List
Results.
Returns:
getSessionToken
public String getSessionToken()
Gets the session token for use in session consistency.
Returns:
getStoredProceduresQuota
public long getStoredProceduresQuota()
Gets the maximum quota of stored procedures for a container from the Azure Cosmos DB service.
Returns:
getStoredProceduresUsage
public long getStoredProceduresUsage()
Gets the current number of stored procedures for a container from the Azure Cosmos DB service.
Returns:
getTriggersQuota
public long getTriggersQuota()
Gets the maximum quota of triggers for a container from the Azure Cosmos DB service.
Returns:
getTriggersUsage
public long getTriggersUsage()
Get the current number of triggers for a container from the Azure Cosmos DB service.
Returns:
getUserDefinedFunctionsQuota
public long getUserDefinedFunctionsQuota()
Gets the maximum quota of user defined functions for a container from the Azure Cosmos DB service.
Returns:
getUserDefinedFunctionsUsage
public long getUserDefinedFunctionsUsage()
Gets the current number of user defined functions for a container from the Azure Cosmos DB service.
Returns:
getUserQuota
public long getUserQuota()
Gets the maximum quota for user resources within an account from the Azure Cosmos DB service.
Returns:
getUserUsage
public long getUserUsage()
Gets the current number of user resources within the account from the Azure Cosmos DB service.
Returns: