Package app.babylon.table.column
Interface Column.Builder
- All Known Subinterfaces:
ColumnByte.Builder,ColumnCategorical.Builder<T>,ColumnDouble.Builder,ColumnInt.Builder,ColumnLong.Builder,ColumnObject.Builder<T>
- Enclosing interface:
Column
public static interface Column.Builder
Builds an immutable column instance for a specific column name.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Column.Builderadd(CharSequence chars, int start, int length) Appends a value directly from a character slice.build()Materialises the current builder contents as an immutable column.getName()Returns the name that will be assigned to the built column.
-
Method Details
-
getName
ColumnName getName()Returns the name that will be assigned to the built column.- Returns:
- the target column name
-
add
Appends a value directly from a character slice.- Parameters:
chars- the source textstart- the start offsetlength- the slice length- Returns:
- this builder
-
build
Column build()Materialises the current builder contents as an immutable column.- Returns:
- the built column
-