spark_auto_mapper.automappers.complex

Module Contents

Classes

AutoMapperWithComplex

Abstract Base class for AutoMappers

class spark_auto_mapper.automappers.complex.AutoMapperWithComplex(entity, use_schema, include_extension, include_null_properties, skip_schema_validation, skip_if_columns_null_or_empty)

Bases: spark_auto_mapper.automappers.container.AutoMapperContainer

Abstract Base class for AutoMappers

Create mapping for an entity

Parameters
  • entity (spark_auto_mapper.data_types.complex.complex_base.AutoMapperDataTypeComplexBase) – entity mapping definition

  • use_schema (bool) – whether to use schema

  • include_extension (bool) – whether to include extension field

  • include_null_properties (bool) – whether to include null properties

  • skip_schema_validation (List[str]) – whether to skip schema validation

  • skip_if_columns_null_or_empty (Optional[List[str]]) –