Class MappingRule
Mapping rule for source and target schemas for the pipeline data replication. For Example: "{mappingType: INCLUDE, source: HR., target: HR.}" for rule "Include HR.*" which will include all the tables under HR schema.
Inherited Members
Namespace: Oci.GoldengateService.Models
Assembly: OCI.DotNetSDK.Goldengate.dll
Syntax
public class MappingRule
Properties
MappingType
Declaration
[Required(ErrorMessage = "MappingType is required.")]
[JsonProperty(PropertyName = "mappingType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MappingType? MappingType { get; set; }
Property Value
Type | Description |
---|---|
MappingType? | Defines the exclude/include rules of source and target schemas and tables when replicating from source to target. This option applies when creating and updating a pipeline. |
Remarks
Required
Source
Declaration
[Required(ErrorMessage = "Source is required.")]
[JsonProperty(PropertyName = "source")]
public string Source { get; set; }
Property Value
Type | Description |
---|---|
string | The source schema/table combination for replication to target. |
Remarks
Required
Target
Declaration
[JsonProperty(PropertyName = "target")]
public string Target { get; set; }
Property Value
Type | Description |
---|---|
string | The target schema/table combination for replication from the source. |