azure-docs-sdk-java/docs-ref-autogen/com.azure.search.documents....

89 строки
6.1 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.documents.models.IndexAction"
fullName: "com.azure.search.documents.models.IndexAction<T>"
name: "IndexAction<T>"
nameWithType: "IndexAction<T>"
summary: "Represents an index action that operates on a document."
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 **IndexAction<T>**"
constructors:
- uid: "com.azure.search.documents.models.IndexAction.IndexAction()"
fullName: "com.azure.search.documents.models.IndexAction<T>.IndexAction()"
name: "IndexAction()"
nameWithType: "IndexAction<T>.IndexAction()"
summary: "Creates an instance of <xref uid=\"com.azure.search.documents.models.IndexAction\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IndexAction\"></xref>."
syntax: "public IndexAction()"
desc: "Creates an instance of <xref uid=\"com.azure.search.documents.models.IndexAction\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IndexAction\"></xref>."
methods:
- uid: "com.azure.search.documents.models.IndexAction.getActionType()"
fullName: "com.azure.search.documents.models.IndexAction<T>.getActionType()"
name: "getActionType()"
nameWithType: "IndexAction<T>.getActionType()"
summary: "Get the action<wbr>Type property: The operation to perform on a document in an indexing batch."
syntax: "public IndexActionType getActionType()"
desc: "Get the actionType property: The operation to perform on a document in an indexing batch."
returns:
description: "the actionType value."
type: "<xref href=\"com.azure.search.documents.models.IndexActionType?alt=com.azure.search.documents.models.IndexActionType&text=IndexActionType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.models.IndexAction.getDocument()"
fullName: "com.azure.search.documents.models.IndexAction<T>.getDocument()"
name: "getDocument()"
nameWithType: "IndexAction<T>.getDocument()"
summary: "Get the document on which the action will be performed; Fields other than the key are ignored for delete actions."
syntax: "public T getDocument()"
desc: "Get the document on which the action will be performed; Fields other than the key are ignored for delete actions."
returns:
description: "the document value."
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.models.IndexAction.setActionType(com.azure.search.documents.models.IndexActionType)"
fullName: "com.azure.search.documents.models.IndexAction<T>.setActionType(IndexActionType actionType)"
name: "setActionType(IndexActionType actionType)"
nameWithType: "IndexAction<T>.setActionType(IndexActionType actionType)"
summary: "Set the action<wbr>Type property: The operation to perform on a document in an indexing batch."
parameters:
- description: "the actionType value to set."
name: "actionType"
type: "<xref href=\"com.azure.search.documents.models.IndexActionType?alt=com.azure.search.documents.models.IndexActionType&text=IndexActionType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public IndexAction<T> setActionType(IndexActionType actionType)"
desc: "Set the actionType property: The operation to perform on a document in an indexing batch."
returns:
description: "the IndexAction object itself."
type: "<xref href=\"com.azure.search.documents.models.IndexAction?alt=com.azure.search.documents.models.IndexAction&text=IndexAction\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.search.documents.models.IndexAction.setDocument(T)"
fullName: "com.azure.search.documents.models.IndexAction<T>.setDocument(T document)"
name: "setDocument(T document)"
nameWithType: "IndexAction<T>.setDocument(T document)"
summary: "Get the document on which the action will be performed; Fields other than the key are ignored for delete actions."
parameters:
- description: "the document value to set."
name: "document"
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
syntax: "public IndexAction<T> setDocument(T document)"
desc: "Get the document on which the action will be performed; Fields other than the key are ignored for delete actions."
returns:
description: "the IndexAction object itself."
type: "<xref href=\"com.azure.search.documents.models.IndexAction?alt=com.azure.search.documents.models.IndexAction&text=IndexAction\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
typeParameters:
- description: "The type of the document used in the indexing action."
name: "T"
desc: "Represents an index action that operates on a document."
metadata: {}
package: "com.azure.search.documents.models"
artifact: com.azure:azure-search-documents:11.7.1