Package com.azure.data.cosmos.sync
Class CosmosSyncStoredProcedureResponse
- java.lang.Object
-
- com.azure.data.cosmos.sync.CosmosSyncResponse
-
- com.azure.data.cosmos.sync.CosmosSyncStoredProcedureResponse
-
public class CosmosSyncStoredProcedureResponse extends CosmosSyncResponse
The type Cosmos sync stored procedure response.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
activityId()
Gets the Activity ID for the request.CosmosStoredProcedureProperties
properties()
Gets cosmos stored procedure properties.double
requestCharge()
Gets the number of index paths (terms) generated by the operation.String
responseAsString()
Response as string string.String
scriptLog()
Script log string.String
sessionToken()
Gets the token used for managing client's consistency requirements.int
statusCode()
Gets the HTTP status code associated with the response.CosmosSyncStoredProcedure
storedProcedure()
Gets cosmos sync stored procedure.-
Methods inherited from class com.azure.data.cosmos.sync.CosmosSyncResponse
cosmosResponseDiagnosticsString, currentResourceQuotaUsage, maxResourceQuota, requestLatency, responseHeaders
-
-
-
-
Method Detail
-
properties
public CosmosStoredProcedureProperties properties()
Gets cosmos stored procedure properties.- Returns:
- the cosmos stored procedure properties
-
storedProcedure
public CosmosSyncStoredProcedure storedProcedure()
Gets cosmos sync stored procedure.- Returns:
- the cosmos sync stored procedure
-
activityId
public String activityId()
Description copied from class:CosmosSyncResponse
Gets the Activity ID for the request.- Overrides:
activityId
in classCosmosSyncResponse
- Returns:
- the activity id.
-
sessionToken
public String sessionToken()
Description copied from class:CosmosSyncResponse
Gets the token used for managing client's consistency requirements.- Overrides:
sessionToken
in classCosmosSyncResponse
- Returns:
- the session token.
-
statusCode
public int statusCode()
Description copied from class:CosmosSyncResponse
Gets the HTTP status code associated with the response.- Overrides:
statusCode
in classCosmosSyncResponse
- Returns:
- the status code.
-
requestCharge
public double requestCharge()
Description copied from class:CosmosSyncResponse
Gets the number of index paths (terms) generated by the operation.- Overrides:
requestCharge
in classCosmosSyncResponse
- Returns:
- the request charge.
-
responseAsString
public String responseAsString()
Response as string string.- Returns:
- the string
-
scriptLog
public String scriptLog()
Script log string.- Returns:
- the string
-
-