MigrationValidationOptions Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. MigrationValidationOptions
- com.
Implements
public final class MigrationValidationOptions
implements JsonSerializable<MigrationValidationOptions>
Types of validations to run after the migration.
Constructor Summary
| Constructor | Description |
|---|---|
| MigrationValidationOptions() |
Creates an instance of Migration |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enableDataIntegrityValidation()
Get the enable |
| Boolean |
enableQueryAnalysisValidation()
Get the enable |
| Boolean |
enableSchemaValidation()
Get the enable |
|
static
Migration |
fromJson(JsonReader jsonReader)
Reads an instance of Migration |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Migration |
withEnableDataIntegrityValidation(Boolean enableDataIntegrityValidation)
Set the enable |
|
Migration |
withEnableQueryAnalysisValidation(Boolean enableQueryAnalysisValidation)
Set the enable |
|
Migration |
withEnableSchemaValidation(Boolean enableSchemaValidation)
Set the enable |
Methods inherited from java.lang.Object
Constructor Details
MigrationValidationOptions
public MigrationValidationOptions()
Creates an instance of MigrationValidationOptions class.
Method Details
enableDataIntegrityValidation
public Boolean enableDataIntegrityValidation()
Get the enableDataIntegrityValidation property: Allows to perform a checksum based data integrity validation between source and target for the selected database / tables .
Returns:
enableQueryAnalysisValidation
public Boolean enableQueryAnalysisValidation()
Get the enableQueryAnalysisValidation property: Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries.
Returns:
enableSchemaValidation
public Boolean enableSchemaValidation()
Get the enableSchemaValidation property: Allows to compare the schema information between source and target.
Returns:
fromJson
public static MigrationValidationOptions fromJson(JsonReader jsonReader)
Reads an instance of MigrationValidationOptions from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withEnableDataIntegrityValidation
public MigrationValidationOptions withEnableDataIntegrityValidation(Boolean enableDataIntegrityValidation)
Set the enableDataIntegrityValidation property: Allows to perform a checksum based data integrity validation between source and target for the selected database / tables .
Parameters:
Returns:
withEnableQueryAnalysisValidation
public MigrationValidationOptions withEnableQueryAnalysisValidation(Boolean enableQueryAnalysisValidation)
Set the enableQueryAnalysisValidation property: Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries.
Parameters:
Returns:
withEnableSchemaValidation
public MigrationValidationOptions withEnableSchemaValidation(Boolean enableSchemaValidation)
Set the enableSchemaValidation property: Allows to compare the schema information between source and target.
Parameters:
Returns: