Modifier and Type | Method and Description |
---|---|
Schema.Builder |
addColumn(DType type,
String name)
Add a new column
|
Schema |
build() |
Schema.Builder |
column(DType type,
String name)
Adds a single column to the current schema.
|
public Schema.Builder addColumn(DType type, String name)
type
- the type of column to addname
- the name of the column to add (Ignored for list types)public Schema.Builder column(DType type, String name)
type
- the type of the column.name
- the name of the column.public Schema build()
Copyright © 2024. All rights reserved.