RuleBasedFieldMap

class oci.data_integration.models.RuleBasedFieldMap(**kwargs)

Bases: FieldMap

A map of rule patterns.

Attributes:

MAP_TYPE_MAPBYNAME

A constant which can be used with the map_type property of a RuleBasedFieldMap.

MAP_TYPE_MAPBYPATTERN

A constant which can be used with the map_type property of a RuleBasedFieldMap.

MAP_TYPE_MAPBYPOSITION

A constant which can be used with the map_type property of a RuleBasedFieldMap.

MODEL_TYPE_COMPOSITE_FIELD_MAP

A constant which can be used with the model_type property of a FieldMap.

MODEL_TYPE_CONDITIONAL_COMPOSITE_FIELD_MAP

A constant which can be used with the model_type property of a FieldMap.

MODEL_TYPE_DIRECT_FIELD_MAP

A constant which can be used with the model_type property of a FieldMap.

MODEL_TYPE_DIRECT_NAMED_FIELD_MAP

A constant which can be used with the model_type property of a FieldMap.

MODEL_TYPE_NAMED_ENTITY_MAP

A constant which can be used with the model_type property of a FieldMap.

MODEL_TYPE_RULE_BASED_ENTITY_MAP

A constant which can be used with the model_type property of a FieldMap.

MODEL_TYPE_RULE_BASED_FIELD_MAP

A constant which can be used with the model_type property of a FieldMap.

config_values

Gets the config_values of this RuleBasedFieldMap.

description

Gets the description of this FieldMap.

from_pattern

Gets the from_pattern of this RuleBasedFieldMap.

from_rule_config

Gets the from_rule_config of this RuleBasedFieldMap.

is_java_regex_syntax

Gets the is_java_regex_syntax of this RuleBasedFieldMap.

key

Gets the key of this RuleBasedFieldMap.

map_type

Gets the map_type of this RuleBasedFieldMap.

model_type

[Required] Gets the model_type of this FieldMap.

model_version

Gets the model_version of this RuleBasedFieldMap.

object_status

Gets the object_status of this RuleBasedFieldMap.

parent_ref

Gets the parent_ref of this RuleBasedFieldMap.

to_pattern

Gets the to_pattern of this RuleBasedFieldMap.

to_rule_config

Gets the to_rule_config of this RuleBasedFieldMap.

Methods:

__init__(**kwargs)

Initializes a new RuleBasedFieldMap object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

MAP_TYPE_MAPBYNAME = 'MAPBYNAME'

A constant which can be used with the map_type property of a RuleBasedFieldMap. This constant has a value of “MAPBYNAME”

MAP_TYPE_MAPBYPATTERN = 'MAPBYPATTERN'

A constant which can be used with the map_type property of a RuleBasedFieldMap. This constant has a value of “MAPBYPATTERN”

MAP_TYPE_MAPBYPOSITION = 'MAPBYPOSITION'

A constant which can be used with the map_type property of a RuleBasedFieldMap. This constant has a value of “MAPBYPOSITION”

MODEL_TYPE_COMPOSITE_FIELD_MAP = 'COMPOSITE_FIELD_MAP'

A constant which can be used with the model_type property of a FieldMap. This constant has a value of “COMPOSITE_FIELD_MAP”

MODEL_TYPE_CONDITIONAL_COMPOSITE_FIELD_MAP = 'CONDITIONAL_COMPOSITE_FIELD_MAP'

A constant which can be used with the model_type property of a FieldMap. This constant has a value of “CONDITIONAL_COMPOSITE_FIELD_MAP”

MODEL_TYPE_DIRECT_FIELD_MAP = 'DIRECT_FIELD_MAP'

A constant which can be used with the model_type property of a FieldMap. This constant has a value of “DIRECT_FIELD_MAP”

MODEL_TYPE_DIRECT_NAMED_FIELD_MAP = 'DIRECT_NAMED_FIELD_MAP'

A constant which can be used with the model_type property of a FieldMap. This constant has a value of “DIRECT_NAMED_FIELD_MAP”

MODEL_TYPE_NAMED_ENTITY_MAP = 'NAMED_ENTITY_MAP'

A constant which can be used with the model_type property of a FieldMap. This constant has a value of “NAMED_ENTITY_MAP”

MODEL_TYPE_RULE_BASED_ENTITY_MAP = 'RULE_BASED_ENTITY_MAP'

A constant which can be used with the model_type property of a FieldMap. This constant has a value of “RULE_BASED_ENTITY_MAP”

MODEL_TYPE_RULE_BASED_FIELD_MAP = 'RULE_BASED_FIELD_MAP'

A constant which can be used with the model_type property of a FieldMap. This constant has a value of “RULE_BASED_FIELD_MAP”

__init__(**kwargs)

Initializes a new RuleBasedFieldMap object with values from keyword arguments. The default value of the model_type attribute of this class is RULE_BASED_FIELD_MAP and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • model_type (str) – The value to assign to the model_type property of this RuleBasedFieldMap. Allowed values for this property are: “DIRECT_NAMED_FIELD_MAP”, “COMPOSITE_FIELD_MAP”, “DIRECT_FIELD_MAP”, “RULE_BASED_FIELD_MAP”, “CONDITIONAL_COMPOSITE_FIELD_MAP”, “NAMED_ENTITY_MAP”, “RULE_BASED_ENTITY_MAP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • description (str) – The value to assign to the description property of this RuleBasedFieldMap.

  • key (str) – The value to assign to the key property of this RuleBasedFieldMap.

  • model_version (str) – The value to assign to the model_version property of this RuleBasedFieldMap.

  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this RuleBasedFieldMap.

  • config_values (oci.data_integration.models.ConfigValues) – The value to assign to the config_values property of this RuleBasedFieldMap.

  • map_type (str) – The value to assign to the map_type property of this RuleBasedFieldMap. Allowed values for this property are: “MAPBYNAME”, “MAPBYPOSITION”, “MAPBYPATTERN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • from_pattern (str) – The value to assign to the from_pattern property of this RuleBasedFieldMap.

  • to_pattern (str) – The value to assign to the to_pattern property of this RuleBasedFieldMap.

  • is_java_regex_syntax (bool) – The value to assign to the is_java_regex_syntax property of this RuleBasedFieldMap.

  • object_status (int) – The value to assign to the object_status property of this RuleBasedFieldMap.

  • from_rule_config (oci.data_integration.models.RuleTypeConfig) – The value to assign to the from_rule_config property of this RuleBasedFieldMap.

  • to_rule_config (oci.data_integration.models.RuleTypeConfig) – The value to assign to the to_rule_config property of this RuleBasedFieldMap.

property config_values

Gets the config_values of this RuleBasedFieldMap.

Returns

The config_values of this RuleBasedFieldMap.

Return type

oci.data_integration.models.ConfigValues

property description

Gets the description of this FieldMap. Detailed description for the object.

Returns

The description of this FieldMap.

Return type

str

property from_pattern

Gets the from_pattern of this RuleBasedFieldMap. The pattern to map from.

Returns

The from_pattern of this RuleBasedFieldMap.

Return type

str

property from_rule_config

Gets the from_rule_config of this RuleBasedFieldMap.

Returns

The from_rule_config of this RuleBasedFieldMap.

Return type

oci.data_integration.models.RuleTypeConfig

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property is_java_regex_syntax

Gets the is_java_regex_syntax of this RuleBasedFieldMap. Specifies whether the rule uses a java regex syntax.

Returns

The is_java_regex_syntax of this RuleBasedFieldMap.

Return type

bool

property key

Gets the key of this RuleBasedFieldMap. The object key.

Returns

The key of this RuleBasedFieldMap.

Return type

str

property map_type

Gets the map_type of this RuleBasedFieldMap. mapType

Allowed values for this property are: “MAPBYNAME”, “MAPBYPOSITION”, “MAPBYPATTERN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The map_type of this RuleBasedFieldMap.

Return type

str

property model_type

[Required] Gets the model_type of this FieldMap. The model type for the field map.

Allowed values for this property are: “DIRECT_NAMED_FIELD_MAP”, “COMPOSITE_FIELD_MAP”, “DIRECT_FIELD_MAP”, “RULE_BASED_FIELD_MAP”, “CONDITIONAL_COMPOSITE_FIELD_MAP”, “NAMED_ENTITY_MAP”, “RULE_BASED_ENTITY_MAP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The model_type of this FieldMap.

Return type

str

property model_version

Gets the model_version of this RuleBasedFieldMap. The object’s model version.

Returns

The model_version of this RuleBasedFieldMap.

Return type

str

property object_status

Gets the object_status of this RuleBasedFieldMap. The status of an object that can be set to value 1 for shallow references across objects, other values reserved.

Returns

The object_status of this RuleBasedFieldMap.

Return type

int

property parent_ref

Gets the parent_ref of this RuleBasedFieldMap.

Returns

The parent_ref of this RuleBasedFieldMap.

Return type

oci.data_integration.models.ParentReference

property to_pattern

Gets the to_pattern of this RuleBasedFieldMap. The pattern to map to.

Returns

The to_pattern of this RuleBasedFieldMap.

Return type

str

property to_rule_config

Gets the to_rule_config of this RuleBasedFieldMap.

Returns

The to_rule_config of this RuleBasedFieldMap.

Return type

oci.data_integration.models.RuleTypeConfig