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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Java