spark_auto_mapper.automappers.column_spec_wrapper

Module Contents

Classes

ColumnSpecWrapper

This wrapper provides a nicely formatted string for column spec

class spark_auto_mapper.automappers.column_spec_wrapper.ColumnSpecWrapper(column_spec)

This wrapper provides a nicely formatted string for column spec

Parameters

column_spec (pyspark.sql.Column) –

__repr__(self)

Display for debugger

Returns

string representation for debugger

Return type

str

to_debug_string(self)

Formats the column spec so () are on separate lines for easier reading :return: string

Return type

str