SoftDeleteColumnDeletionDetectionPolicy Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. DataDeletionDetectionPolicy - com.
azure. search. documents. indexes. models. SoftDeleteColumnDeletionDetectionPolicy
- com.
- com.
public final class SoftDeleteColumnDeletionDetectionPolicy
extends DataDeletionDetectionPolicy
Defines a data deletion detection policy that implements a soft-deletion strategy. It determines whether an item should be deleted based on the value of a designated 'soft delete' column.
Constructor Summary
| Constructor | Description |
|---|---|
| SoftDeleteColumnDeletionDetectionPolicy() |
Creates an instance of Soft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Soft |
fromJson(JsonReader jsonReader)
Reads an instance of Soft |
| String |
getOdataType()
Get the odata |
| String |
getSoftDeleteColumnName()
Get the soft |
| String |
getSoftDeleteMarkerValue()
Get the soft |
|
Soft |
setSoftDeleteColumnName(String softDeleteColumnName)
Set the soft |
|
Soft |
setSoftDeleteMarkerValue(String softDeleteMarkerValue)
Set the soft |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from DataDeletionDetectionPolicy
Methods inherited from java.lang.Object
Constructor Details
SoftDeleteColumnDeletionDetectionPolicy
public SoftDeleteColumnDeletionDetectionPolicy()
Creates an instance of SoftDeleteColumnDeletionDetectionPolicy class.
Method Details
fromJson
public static SoftDeleteColumnDeletionDetectionPolicy fromJson(JsonReader jsonReader)
Reads an instance of SoftDeleteColumnDeletionDetectionPolicy from the JsonReader.
Parameters:
Returns:
Throws:
getOdataType
public String getOdataType()
Get the odataType property: A URI fragment specifying the type of data deletion detection policy.
Overrides:
SoftDeleteColumnDeletionDetectionPolicy.getOdataType()Returns:
getSoftDeleteColumnName
public String getSoftDeleteColumnName()
Get the softDeleteColumnName property: The name of the column to use for soft-deletion detection.
Returns:
getSoftDeleteMarkerValue
public String getSoftDeleteMarkerValue()
Get the softDeleteMarkerValue property: The marker value that identifies an item as deleted.
Returns:
setSoftDeleteColumnName
public SoftDeleteColumnDeletionDetectionPolicy setSoftDeleteColumnName(String softDeleteColumnName)
Set the softDeleteColumnName property: The name of the column to use for soft-deletion detection.
Parameters:
Returns:
setSoftDeleteMarkerValue
public SoftDeleteColumnDeletionDetectionPolicy setSoftDeleteMarkerValue(String softDeleteMarkerValue)
Set the softDeleteMarkerValue property: The marker value that identifies an item as deleted.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SoftDeleteColumnDeletionDetectionPolicy.toJson(JsonWriter jsonWriter)Parameters:
Throws: