Skip to content

StructField

Defined in: types/struct.ts:7

Mirrors Spark’s StructType and StructField for schema inspection.

new StructField(
name,
dataType,
nullable?,
metadata?): StructField;

Defined in: types/struct.ts:13

ParameterTypeDefault value
namestringundefined
dataTypestringundefined
nullablebooleantrue
metadataRecord<string, unknown>{}

StructField

readonly dataType: string;

Defined in: types/struct.ts:9


readonly metadata: Record<string, unknown>;

Defined in: types/struct.ts:11


readonly name: string;

Defined in: types/struct.ts:8


readonly nullable: boolean;

Defined in: types/struct.ts:10

toString(): string;

Defined in: types/struct.ts:25

string