ResponseDiagnostics.CosmosResponseStatistics Class
- java.
lang. Object - com.
azure. spring. data. cosmos. core. ResponseDiagnostics. CosmosResponseStatistics
- com.
public static class ResponseDiagnostics.CosmosResponseStatistics
Generates statistics from cosmos response
NOTE: activityId will be null in case of cross partition queries
Constructor Summary
Constructor | Description |
---|---|
CosmosResponseStatistics(FeedResponse<T> feedResponse) |
Initialization |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getActivityId()
To get the activity id |
double |
getRequestCharge()
To get the charge value of request |
String | toString() |
Methods inherited from java.lang.Object
Constructor Details
CosmosResponseStatistics
public
Initialization
Parameters:
feedResponse
- response from feed
Method Details
getActivityId
public String getActivityId()
To get the activity id
Returns:
String
getRequestCharge
public double getRequestCharge()
To get the charge value of request
Returns:
double
toString
public String toString()
Overrides:
ResponseDiagnostics.CosmosResponseStatistics.toString()Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java