public class CosmosResponse<T extends Resource> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ResourceResponse |
resourceResponseWrapper |
| Modifier and Type | Method and Description |
|---|---|
String |
getActivityId()
Gets the Activity ID for the request.
|
String |
getCurrentResourceQuotaUsage()
Gets the current size of this entity (in megabytes (MB) for server resources and in count for master resources)
|
long |
getIndexTransformationProgress()
Gets the progress of an index transformation, if one is underway.
|
long |
getLazyIndexingProgress()
Gets the progress of lazy indexing.
|
String |
getMaxResourceQuota()
Gets the maximum size limit for this entity (in megabytes (MB) for server resources and in count for master
resources).
|
double |
getRequestCharge()
Gets the number of index paths (terms) generated by the operation.
|
protected T |
getResourceSettings() |
Map<String,String> |
getResponseHeaders()
Gets the headers associated with the response.
|
String |
getSessionToken()
Gets the token used for managing client's consistency requirements.
|
int |
getStatusCode()
Gets the HTTP status code associated with the response.
|
protected void |
setResourceSettings(T resourceSettings) |
protected ResourceResponse resourceResponseWrapper
protected T getResourceSettings()
protected void setResourceSettings(T resourceSettings)
public String getMaxResourceQuota()
public String getCurrentResourceQuotaUsage()
public String getActivityId()
public double getRequestCharge()
public long getIndexTransformationProgress()
public long getLazyIndexingProgress()
public int getStatusCode()
public String getSessionToken()
Copyright © 2019. All rights reserved.