package tech.tablesaw.aggregate;

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

/**
 * A partial implementation of aggregate functions to summarize over a boolean column
 */
public abstract class BooleanAggregateFunction<Boolean> extends AggregateFunction {

    public BooleanAggregateFunction(String name) {
        super(name);
    }

    abstract public Boolean summarize(Column column);

    @Override
    public boolean isCompatableColumn(ColumnType type) {
        return false;
    }

    @Override
    public ColumnType returnType() {
        return null;
    }
}

@@ -246,17 +246,8 @@
 tion
-%3CBoolean%3E
  ext
@@ -268,16 +268,33 @@
 Function
+%3CBoolean, Column%3E
  %7B%0A%0A    

Fix compilation warning