Share via


SqlIntegratedChangeTrackingPolicy Class

public final class SqlIntegratedChangeTrackingPolicy
extends DataChangeDetectionPolicy

Defines a data change detection policy that captures changes using the Integrated Change Tracking feature of Azure SQL Database.

Constructor Summary

Constructor Description
SqlIntegratedChangeTrackingPolicy()

Creates an instance of SqlIntegratedChangeTrackingPolicy class.

Method Summary

Modifier and Type Method and Description
static SqlIntegratedChangeTrackingPolicy fromJson(JsonReader jsonReader)

Reads an instance of SqlIntegratedChangeTrackingPolicy from the JsonReader.

String getOdataType()

Get the odataType property: A URI fragment specifying the type of data change detection policy.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from DataChangeDetectionPolicy

Methods inherited from java.lang.Object

Constructor Details

SqlIntegratedChangeTrackingPolicy

public SqlIntegratedChangeTrackingPolicy()

Creates an instance of SqlIntegratedChangeTrackingPolicy class.

Method Details

fromJson

public static SqlIntegratedChangeTrackingPolicy fromJson(JsonReader jsonReader)

Reads an instance of SqlIntegratedChangeTrackingPolicy from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlIntegratedChangeTrackingPolicy if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SqlIntegratedChangeTrackingPolicy.

getOdataType

public String getOdataType()

Get the odataType property: A URI fragment specifying the type of data change detection policy.

Overrides:

SqlIntegratedChangeTrackingPolicy.getOdataType()

Returns:

the odataType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SqlIntegratedChangeTrackingPolicy.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to