tech.tablesaw.aggregate.StringFunction Maven / Gradle / Ivy
package tech.tablesaw.aggregate;
import tech.tablesaw.api.ColumnType;
import tech.tablesaw.api.StringColumn;
/** A partial implementation of aggregate functions to summarize over a date column */
public abstract class StringFunction extends AggregateFunction {
public StringFunction(String name) {
super(name);
}
public abstract String summarize(StringColumn column);
@Override
public boolean isCompatibleColumn(ColumnType type) {
return type.equals(ColumnType.STRING);
}
@Override
public ColumnType returnType() {
return ColumnType.STRING;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy