103 строки
7.4 KiB
YAML
103 строки
7.4 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.search.documents.options.OnActionErrorOptions"
|
|
fullName: "com.azure.search.documents.options.OnActionErrorOptions<T>"
|
|
name: "OnActionErrorOptions<T>"
|
|
nameWithType: "OnActionErrorOptions<T>"
|
|
summary: "Options passed when <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SearchClientBuilder.SearchIndexingBufferedSenderBuilder#onActionError(Consumer)\"></xref> is called."
|
|
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 **OnActionErrorOptions<T>**"
|
|
constructors:
|
|
- uid: "com.azure.search.documents.options.OnActionErrorOptions.OnActionErrorOptions(com.azure.search.documents.models.IndexAction<T>)"
|
|
fullName: "com.azure.search.documents.options.OnActionErrorOptions<T>.OnActionErrorOptions(IndexAction<T> action)"
|
|
name: "OnActionErrorOptions(IndexAction<T> action)"
|
|
nameWithType: "OnActionErrorOptions<T>.OnActionErrorOptions(IndexAction<T> action)"
|
|
summary: "Creates a new On<wbr>Action<wbr>Error<wbr>Options object."
|
|
parameters:
|
|
- description: "Action that failed with an error."
|
|
name: "action"
|
|
type: "<xref href=\"com.azure.search.documents.models.IndexAction?alt=com.azure.search.documents.models.IndexAction&text=IndexAction\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public OnActionErrorOptions(IndexAction<T> action)"
|
|
desc: "Creates a new OnActionErrorOptions object."
|
|
methods:
|
|
- uid: "com.azure.search.documents.options.OnActionErrorOptions.getAction()"
|
|
fullName: "com.azure.search.documents.options.OnActionErrorOptions<T>.getAction()"
|
|
name: "getAction()"
|
|
nameWithType: "OnActionErrorOptions<T>.getAction()"
|
|
summary: "Gets the action."
|
|
syntax: "public IndexAction<T> getAction()"
|
|
desc: "Gets the action."
|
|
returns:
|
|
description: "The action."
|
|
type: "<xref href=\"com.azure.search.documents.models.IndexAction?alt=com.azure.search.documents.models.IndexAction&text=IndexAction\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.search.documents.options.OnActionErrorOptions.getIndexingResult()"
|
|
fullName: "com.azure.search.documents.options.OnActionErrorOptions<T>.getIndexingResult()"
|
|
name: "getIndexingResult()"
|
|
nameWithType: "OnActionErrorOptions<T>.getIndexingResult()"
|
|
summary: "Gets the indexing result of the action."
|
|
syntax: "public IndexingResult getIndexingResult()"
|
|
desc: "Gets the indexing result of the action."
|
|
returns:
|
|
description: "The indexing result of the action."
|
|
type: "<xref href=\"com.azure.search.documents.models.IndexingResult?alt=com.azure.search.documents.models.IndexingResult&text=IndexingResult\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.search.documents.options.OnActionErrorOptions.getThrowable()"
|
|
fullName: "com.azure.search.documents.options.OnActionErrorOptions<T>.getThrowable()"
|
|
name: "getThrowable()"
|
|
nameWithType: "OnActionErrorOptions<T>.getThrowable()"
|
|
summary: "Gets the throwable that caused the action to fail."
|
|
syntax: "public Throwable getThrowable()"
|
|
desc: "Gets the throwable that caused the action to fail."
|
|
returns:
|
|
description: "The throwable that caused the action to fail."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
|
|
- uid: "com.azure.search.documents.options.OnActionErrorOptions.setIndexingResult(com.azure.search.documents.models.IndexingResult)"
|
|
fullName: "com.azure.search.documents.options.OnActionErrorOptions<T>.setIndexingResult(IndexingResult indexingResult)"
|
|
name: "setIndexingResult(IndexingResult indexingResult)"
|
|
nameWithType: "OnActionErrorOptions<T>.setIndexingResult(IndexingResult indexingResult)"
|
|
summary: "Sets the indexing result of the action with a non-retryable status code."
|
|
parameters:
|
|
- description: "The indexing result for the action."
|
|
name: "indexingResult"
|
|
type: "<xref href=\"com.azure.search.documents.models.IndexingResult?alt=com.azure.search.documents.models.IndexingResult&text=IndexingResult\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public OnActionErrorOptions<T> setIndexingResult(IndexingResult indexingResult)"
|
|
desc: "Sets the indexing result of the action with a non-retryable status code."
|
|
returns:
|
|
description: "The updated OnActionErrorOptions object."
|
|
type: "<xref href=\"com.azure.search.documents.options.OnActionErrorOptions?alt=com.azure.search.documents.options.OnActionErrorOptions&text=OnActionErrorOptions\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.search.documents.options.OnActionErrorOptions.setThrowable(java.lang.Throwable)"
|
|
fullName: "com.azure.search.documents.options.OnActionErrorOptions<T>.setThrowable(Throwable throwable)"
|
|
name: "setThrowable(Throwable throwable)"
|
|
nameWithType: "OnActionErrorOptions<T>.setThrowable(Throwable throwable)"
|
|
summary: "Sets the throwable that caused the action failed."
|
|
parameters:
|
|
- description: "Throwable that caused the action to fail."
|
|
name: "throwable"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
|
|
syntax: "public OnActionErrorOptions<T> setThrowable(Throwable throwable)"
|
|
desc: "Sets the throwable that caused the action failed."
|
|
returns:
|
|
description: "The updated OnActionErrorOptions object."
|
|
type: "<xref href=\"com.azure.search.documents.options.OnActionErrorOptions?alt=com.azure.search.documents.options.OnActionErrorOptions&text=OnActionErrorOptions\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
type: "class"
|
|
typeParameters:
|
|
- description: "Type of the document in the action."
|
|
name: "T"
|
|
desc: "Options passed when <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SearchClientBuilder.SearchIndexingBufferedSenderBuilder#onActionError(Consumer)\"></xref> is called."
|
|
metadata: {}
|
|
package: "com.azure.search.documents.options"
|
|
artifact: com.azure:azure-search-documents:11.7.3
|