FeedResponse<T> Class
- java.
lang. Object - com.
microsoft. azure. documentdb. FeedResponse<T>
- com.
Type Parameters
- T
the resource type of the feed response.
public class FeedResponse
Template class used by feed methods (enumeration operations) in the Azure Cosmos DB database service.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getActivityId()
Gets the activity ID for the request. |
long |
getCollectionQuota()
Max Quota. |
long |
getCollectionSizeQuota()
Max Quota. |
long |
getCollectionSizeUsage()
Current Usage. |
long |
getCollectionUsage()
Current Usage. |
String |
getCurrentResourceQuotaUsage()
Gets the current size of this entity (in megabytes (MB) for server resources and in count for master resources). |
long |
getDatabaseQuota()
Max Quota. |
long |
getDatabaseUsage()
Current Usage. |
String |
getMaxResourceQuota()
Gets the maximum size limit for this entity (in megabytes (MB) for server resources and in count for master resources). |
long |
getPermissionQuota()
Max Quota. |
long |
getPermissionUsage()
Current Usage. |
Query |
getQueryIterable()
Gets the query iterable of T. |
Iterator<T> |
getQueryIterator()
Gets the query iterator of T. |
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. |
boolean |
getRUPerMinuteUsed()
Gets the flag associated with the response from the Azure Cosmos DB database service whether this feed request is served from Request Units(RUs)/minute capacity or not. |
String |
getSessionToken()
Gets the session token for use in session consistency. |
long |
getStoredProceduresQuota()
Max Quota. |
long |
getStoredProceduresUsage()
Current Usage. |
long |
getTriggersQuota()
Max Quota. |
long |
getTriggersUsage()
Current Usage. |
long |
getUserDefinedFunctionsQuota()
Max Quota. |
long |
getUserDefinedFunctionsUsage()
Current Usage. |
long |
getUserQuota()
Max Quota. |
long |
getUserUsage()
Current Usage. |
Method Details
getActivityId
public String getActivityId()
Gets the activity ID for the request.
Returns:
getCollectionQuota
public long getCollectionQuota()
Max Quota.
Returns:
getCollectionSizeQuota
public long getCollectionSizeQuota()
Max Quota.
Returns:
getCollectionSizeUsage
public long getCollectionSizeUsage()
Current Usage.
Returns:
getCollectionUsage
public long getCollectionUsage()
Current Usage.
Returns:
getCurrentResourceQuotaUsage
public String getCurrentResourceQuotaUsage()
Gets the current size of this entity (in megabytes (MB) for server resources and in count for master resources).
Returns:
getDatabaseQuota
public long getDatabaseQuota()
Max Quota.
Returns:
getDatabaseUsage
public long getDatabaseUsage()
Current Usage.
Returns:
getMaxResourceQuota
public String getMaxResourceQuota()
Gets the maximum size limit for this entity (in megabytes (MB) for server resources and in count for master resources).
Returns:
getPermissionQuota
public long getPermissionQuota()
Max Quota.
Returns:
getPermissionUsage
public long getPermissionUsage()
Current Usage.
Returns:
getQueryIterable
public QueryIterable
Gets the query iterable of T.
Returns:
getQueryIterator
public Iterator
Gets the query iterator of T.
Returns:
getRequestCharge
public double getRequestCharge()
Gets the number of index paths (terms) generated by the operation.
Returns:
getResponseContinuation
public String getResponseContinuation()
Gets the continuation token to be used for continuing the enumeration.
Returns:
getResponseHeaders
public Map
Gets the response headers.
Returns:
getRUPerMinuteUsed
public boolean getRUPerMinuteUsed()
Gets the flag associated with the response from the Azure Cosmos DB database service whether this feed request is served from Request Units(RUs)/minute capacity or not.
Returns:
getSessionToken
public String getSessionToken()
Gets the session token for use in session consistency.
Returns:
getStoredProceduresQuota
public long getStoredProceduresQuota()
Max Quota.
Returns:
getStoredProceduresUsage
public long getStoredProceduresUsage()
Current Usage.
Returns:
getTriggersQuota
public long getTriggersQuota()
Max Quota.
Returns:
getTriggersUsage
public long getTriggersUsage()
Current Usage.
Returns:
getUserDefinedFunctionsQuota
public long getUserDefinedFunctionsQuota()
Max Quota.
Returns:
getUserDefinedFunctionsUsage
public long getUserDefinedFunctionsUsage()
Current Usage.
Returns:
getUserQuota
public long getUserQuota()
Max Quota.
Returns:
getUserUsage
public long getUserUsage()
Current Usage.
Returns:
Applies to
Azure SDK for Java