Class ResponseDiagnostics
java.lang.Object
com.azure.spring.data.cosmos.core.ResponseDiagnostics
Diagnostics class of cosmos and feed response
NOTE: activityId will be null in case of cross partition queries
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Generates statistics from cosmos response -
Constructor Summary
ConstructorsConstructorDescriptionResponseDiagnostics
(com.azure.cosmos.CosmosDiagnostics cosmosDiagnostics, ResponseDiagnostics.CosmosResponseStatistics cosmosResponseStatistics) Initialization -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.cosmos.CosmosDiagnostics
To get diagnostics of cosmos responseTo get the statistics value of cosmos responsetoString()
-
Constructor Details
-
ResponseDiagnostics
public ResponseDiagnostics(com.azure.cosmos.CosmosDiagnostics cosmosDiagnostics, ResponseDiagnostics.CosmosResponseStatistics cosmosResponseStatistics) Initialization- Parameters:
cosmosDiagnostics
- cannot be nullcosmosResponseStatistics
- cannot be null
-
-
Method Details
-
getCosmosDiagnostics
public com.azure.cosmos.CosmosDiagnostics getCosmosDiagnostics()To get diagnostics of cosmos response- Returns:
- CosmosResponseDiagnostics
-
getCosmosResponseStatistics
To get the statistics value of cosmos response- Returns:
- CosmosResponseStatistics
-
toString
-