azure-docs-sdk-java/legacy/docs-ref-autogen/com.azure.search.models.Ind...

86 строки
5.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.IndexAction"
fullName: "com.azure.search.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.models.IndexAction.IndexAction()"
fullName: "com.azure.search.models.IndexAction<T>.IndexAction()"
name: "IndexAction()"
nameWithType: "IndexAction<T>.IndexAction()"
syntax: "public IndexAction()"
methods:
- uid: "com.azure.search.models.IndexAction.getActionType()"
fullName: "com.azure.search.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. Possible values include: 'upload', 'merge', 'mergeOrUpload', 'delete'."
returns:
description: "the actionType value."
type: "<xref href=\"com.azure.search.models.IndexActionType?alt=com.azure.search.models.IndexActionType&text=IndexActionType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.IndexAction.getDocument()"
fullName: "com.azure.search.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.models.IndexAction.setActionType(com.azure.search.models.IndexActionType)"
fullName: "com.azure.search.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.models.IndexActionType?alt=com.azure.search.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. Possible values include: 'upload', 'merge', 'mergeOrUpload', 'delete'."
returns:
description: "the IndexAction object itself."
type: "<xref href=\"com.azure.search.models.IndexAction?alt=com.azure.search.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.models.IndexAction.setDocument(T)"
fullName: "com.azure.search.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.models.IndexAction?alt=com.azure.search.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:
- name: "T"
desc: "Represents an index action that operates on a document."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1