HasSchema
Matches the type parameter of the annotated class to DataRow/DataFrame type parameter T.
Annotate public API classes that implement DataRow/DataFrame interface to enable "extract schema/create column from values" operation:
df.add {
"col" from { it }
}Content copied to clipboard
Result before: col: DataColumn<AddDataRow<MySchema>>
Result after:
col:
col1: Int
col2: StringContent copied to clipboard