Package app.babylon.table.column
Class Columns
java.lang.Object
app.babylon.table.column.Columns
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doubleaggregate(ColumnDouble cd, Aggregate aggregate) static BigDecimalaggregate(ColumnObject<BigDecimal> cd, Aggregate aggregate) static ColumnObject<String> asStringColumn(Column column) static ColumnfrequencyMap(ColumnObject<T> c) static booleanstatic booleanisStringColumn(Column column) static <T> Tmax(ColumnObject<T> co) static <T> Tmin(ColumnObject<T> co) static ColumnBytenewByte(ColumnName colName, byte value, int size) static <T> ColumnCategorical<T> newCategorical(ColumnName colName, T value, int size, Class<T> valueClass) static Column.BuildernewCharSliceBuilder(ColumnName colName, Column.Type type) static Column.BuildernewColumn(ColumnName colName, Column.Type type) static ColumnObject<BigDecimal> newDecimal(ColumnName colName, BigDecimal value, int size) static ColumnDoublenewDouble(ColumnName colName, double value, int size) static ColumnIntnewInt(ColumnName colName, int value, int size) static ColumnObject<String> newString(ColumnName colName, String value, int size) static ColumnObject<String> newStringView(ColumnObject<String> c, ViewIndex rowIndex) static Columnstatic Columnsort(Column column, ComparatorInt comparator) static ColumnObject<BigDecimal> stringToDecimal(Column column) static <S> ColumnObject<S> stringToType(Column column, Function<String, S> parser, Class<S> targetClass) static String
-
Constructor Details
-
Columns
public Columns()
-
-
Method Details
-
isStringColumn
-
asStringColumn
-
frequencyMap
-
stringToType
public static <S> ColumnObject<S> stringToType(Column column, Function<String, S> parser, Class<S> targetClass) -
stringToDecimal
-
isEmpty
-
newColumn
-
newCharSliceBuilder
-
newDecimal
-
newInt
-
newByte
-
newString
-
newCategorical
public static <T> ColumnCategorical<T> newCategorical(ColumnName colName, T value, int size, Class<T> valueClass) -
aggregate
-
max
-
min
-
aggregate
-
newDouble
-
newView
-
sort
-
sort
-
newStringView
-
concat
-
toString
-