Class ColumnDescriptor<T,​C extends tech.tablesaw.columns.Column<T>>

java.lang.Object
com.lumiomedical.etl.dataframe.descriptor.ColumnDescriptor<T,​C>

public final class ColumnDescriptor<T,​C extends tech.tablesaw.columns.Column<T>>
extends Object
This class is expected to simplify the signature of other classes interacting with tablesaw Columns and Rows by providing a centralized "repository" of references to Column-related methods. These methods have type-sensitive names and can be "hard" to abstract away ; eg. in order to abstract both the creation of a column and its subsequent modification within a row, you need to know which factory method and which setter to call. By having these singleton descriptors, one can create simpler class signatures that simply request a coherent set of references. Before these, we had to manually require Function and BiFunction of all sorts in TableProcessor implementations, which was rather confusing and got out of hand very quickly. At the time of this writing, the class has a private constructor, but this could be modified if it turns out we want to allow for custom column types or custom descriptors.
Author:
Pierre Lecerf ([email protected]) Created on 2020/08/14