Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IndexAction Class
- Package:
- com.azure.search.documents.models
- Maven Artifact:
- com.azure:azure-search-documents:12.0.0
- java.lang.Object
- com.azure.search.documents.models.IndexAction
Implements
public final class IndexAction
implements JsonSerializable<IndexAction>
Represents an index action that operates on a document.
Constructor Summary
| Constructor | Description |
|---|---|
| IndexAction() |
Creates an instance of IndexAction class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static IndexAction |
fromJson(JsonReader jsonReader)
Reads an instance of IndexAction from the JsonReader. |
| IndexActionType |
getActionType()
Get the actionType property: The operation to perform on a document in an indexing batch. |
| Map<String,Object> |
getAdditionalProperties()
Get the additionalProperties property: Represents an index action that operates on a document. |
| IndexAction |
setActionType(IndexActionType actionType)
Set the actionType property: The operation to perform on a document in an indexing batch. |
| IndexAction |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an index action that operates on a document. |
| JsonWriter | toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
IndexAction
public IndexAction()
Creates an instance of IndexAction class.
Method Details
fromJson
public static IndexAction fromJson(JsonReader jsonReader)
Reads an instance of IndexAction from the JsonReader.
Parameters:
Returns:
Throws:
getActionType
public IndexActionType getActionType()
Get the actionType property: The operation to perform on a document in an indexing batch.
Returns:
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Get the additionalProperties property: Represents an index action that operates on a document.
Returns:
setActionType
public IndexAction setActionType(IndexActionType actionType)
Set the actionType property: The operation to perform on a document in an indexing batch.
Parameters:
Returns:
setAdditionalProperties
public IndexAction setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an index action that operates on a document.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java
Feedback
Was this page helpful?
