azure-docs-sdk-java/docs-ref-autogen/com.azure.cosmos.models.Cos...

154 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.cosmos.models.CosmosBulkItemResponse"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse"
name: "CosmosBulkItemResponse"
nameWithType: "CosmosBulkItemResponse"
summary: "Response of a <xref uid=\"com.azure.cosmos.models.CosmosItemOperation\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosItemOperation\"></xref> request when processed using Bulk by calling <xref uid=\"com.azure.cosmos.CosmosAsyncContainer.<TContext>executeBulkOperations(reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosItemOperation>,com.azure.cosmos.models.CosmosBulkExecutionOptions)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosAsyncContainer#executeBulkOperations(Flux, CosmosBulkExecutionOptions)\"></xref>."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **CosmosBulkItemResponse**"
methods:
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.<T>getItem(java.lang.Class<T>)"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.getItem(Class<T> type)"
name: "getItem(Class<T> type)"
nameWithType: "CosmosBulkItemResponse.getItem(Class<T> type)"
summary: "Gets the item associated with the current result."
parameters:
- description: "class type for which deserialization is needed."
name: "type"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html\">Class</a>&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public T <T>getItem(Class<T> type)"
desc: "Gets the item associated with the current result."
returns:
description: "item associated with the current result."
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.getActivityId()"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.getActivityId()"
name: "getActivityId()"
nameWithType: "CosmosBulkItemResponse.getActivityId()"
summary: "Gets the activity ID that identifies the server request made to execute this operation."
syntax: "public String getActivityId()"
desc: "Gets the activity ID that identifies the server request made to execute this operation."
returns:
description: "the activity ID that identifies the server request made to execute this operation."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.getCosmosDiagnostics()"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.getCosmosDiagnostics()"
name: "getCosmosDiagnostics()"
nameWithType: "CosmosBulkItemResponse.getCosmosDiagnostics()"
summary: "Gets the cosmos diagnostic for this operation."
syntax: "public CosmosDiagnostics getCosmosDiagnostics()"
desc: "Gets the cosmos diagnostic for this operation."
returns:
description: "the CosmosDiagnostics<xref uid=\"com.azure.cosmos.CosmosDiagnostics\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosDiagnostics\"></xref>"
type: "<xref href=\"com.azure.cosmos.CosmosDiagnostics?alt=com.azure.cosmos.CosmosDiagnostics&text=CosmosDiagnostics\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.getDuration()"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.getDuration()"
name: "getDuration()"
nameWithType: "CosmosBulkItemResponse.getDuration()"
summary: "Gets the end-to-end request latency for the current request to Azure Cosmos DB service."
syntax: "public Duration getDuration()"
desc: "Gets the end-to-end request latency for the current request to Azure Cosmos DB service."
returns:
description: "end-to-end request latency for the current request to Azure Cosmos DB service."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.getETag()"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.getETag()"
name: "getETag()"
nameWithType: "CosmosBulkItemResponse.getETag()"
summary: "Gets the entity tag associated with the current item."
syntax: "public String getETag()"
desc: "Gets the entity tag associated with the current item. ETags are used for concurrency checking when updating resources."
returns:
description: "Entity tag associated with the current item."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.getRequestCharge()"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.getRequestCharge()"
name: "getRequestCharge()"
nameWithType: "CosmosBulkItemResponse.getRequestCharge()"
summary: "Gets the request charge as request units (RU) consumed by the current operation."
syntax: "public double getRequestCharge()"
desc: "Gets the request charge as request units (RU) consumed by the current operation.\n\nFor more information about the RU and factors that can impact the effective charges please visit [Request Units in Azure Cosmos DB][]\n\n\n[Request Units in Azure Cosmos DB]: https://docs.microsoft.com/en-us/azure/cosmos-db/request-units"
returns:
description: "the request charge."
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.getResponseHeaders()"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.getResponseHeaders()"
name: "getResponseHeaders()"
nameWithType: "CosmosBulkItemResponse.getResponseHeaders()"
summary: "Gets the headers associated with the response."
syntax: "public Map<String,String> getResponseHeaders()"
desc: "Gets the headers associated with the response."
returns:
description: "the response headers."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.getRetryAfterDuration()"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.getRetryAfterDuration()"
name: "getRetryAfterDuration()"
nameWithType: "CosmosBulkItemResponse.getRetryAfterDuration()"
summary: "Gets retry after."
syntax: "public Duration getRetryAfterDuration()"
desc: "Gets retry after."
returns:
description: "the retry after"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.getSessionToken()"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.getSessionToken()"
name: "getSessionToken()"
nameWithType: "CosmosBulkItemResponse.getSessionToken()"
summary: "Gets the token used for managing client's consistency requirements."
syntax: "public String getSessionToken()"
desc: "Gets the token used for managing client's consistency requirements."
returns:
description: "the session token."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.getStatusCode()"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.getStatusCode()"
name: "getStatusCode()"
nameWithType: "CosmosBulkItemResponse.getStatusCode()"
summary: "Gets the HTTP status code associated with the current result."
syntax: "public int getStatusCode()"
desc: "Gets the HTTP status code associated with the current result."
returns:
description: "the status code."
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.getSubStatusCode()"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.getSubStatusCode()"
name: "getSubStatusCode()"
nameWithType: "CosmosBulkItemResponse.getSubStatusCode()"
summary: "Gets sub status code associated with the current result."
syntax: "public int getSubStatusCode()"
desc: "Gets sub status code associated with the current result."
returns:
description: "the sub status code"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosBulkItemResponse.isSuccessStatusCode()"
fullName: "com.azure.cosmos.models.CosmosBulkItemResponse.isSuccessStatusCode()"
name: "isSuccessStatusCode()"
nameWithType: "CosmosBulkItemResponse.isSuccessStatusCode()"
summary: "Gets a value indicating whether the current operation completed successfully."
syntax: "public boolean isSuccessStatusCode()"
desc: "Gets a value indicating whether the current operation completed successfully."
returns:
description: "<code>true</code> if the current operation completed successfully; <code>false</code> otherwise."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Response of a <xref uid=\"com.azure.cosmos.models.CosmosItemOperation\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosItemOperation\"></xref> request when processed using Bulk by calling <xref uid=\"com.azure.cosmos.CosmosAsyncContainer.<TContext>executeBulkOperations(reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosItemOperation>,com.azure.cosmos.models.CosmosBulkExecutionOptions)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosAsyncContainer#executeBulkOperations(Flux, CosmosBulkExecutionOptions)\"></xref>."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.63.3