All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.tablesaw.aggregate.CountFunction Maven / Gradle / Ivy

There is a newer version: 0.43.1
Show newest version
package tech.tablesaw.aggregate;

import tech.tablesaw.api.ColumnType;
import tech.tablesaw.columns.Column;

abstract class CountFunction extends AggregateFunction, Integer> {

  public CountFunction(String functionName) {
    super(functionName);
  }

  @Override
  public abstract Integer summarize(Column column);

  @Override
  public boolean isCompatibleColumn(ColumnType type) {
    return true;
  }

  @Override
  public ColumnType returnType() {
    return ColumnType.DOUBLE;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy