public List<String> getD() { return d; } } void validateDataFrameWithBeans(Bean bean, DataFrame df) { StructType schema = df.schema();