public class ResponseDiagnostics extends Object
NOTE: activityId will be null in case of cross partition queries
| Modifier and Type | Class and Description |
|---|---|
static class |
ResponseDiagnostics.CosmosResponseStatistics
Generates statistics from cosmos response
|
| Constructor and Description |
|---|
ResponseDiagnostics(CosmosDiagnostics cosmosDiagnostics,
ResponseDiagnostics.CosmosResponseStatistics cosmosResponseStatistics)
Initialization
|
| Modifier and Type | Method and Description |
|---|---|
CosmosDiagnostics |
getCosmosDiagnostics()
To get diagnostics of cosmos response
|
ResponseDiagnostics.CosmosResponseStatistics |
getCosmosResponseStatistics()
To get the statistics value of cosmos response
|
String |
toString() |
public ResponseDiagnostics(CosmosDiagnostics cosmosDiagnostics, ResponseDiagnostics.CosmosResponseStatistics cosmosResponseStatistics)
cosmosDiagnostics - cannot be nullcosmosResponseStatistics - cannot be nullpublic CosmosDiagnostics getCosmosDiagnostics()
public ResponseDiagnostics.CosmosResponseStatistics getCosmosResponseStatistics()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.