ComparisonMode

Defines how ColumnSchema or DataFrameSchema are compared.

Defines how differences between schemas are interpreted; affects the result returned by ColumnSchema.compare and DataFrameSchema.compare.

Entries

Link copied to clipboard

In this mode, all CompareResults can occur.

Link copied to clipboard

Columns must all be present in the other schema with the same name and type. CompareResult.IsDerived and CompareResult.IsSuper will result in CompareResult.None in this mode.

Link copied to clipboard

Works like LENIENT at the top-level, but turns to STRICT for nested schemas.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard