public AggregationClient(Configuration cfg) {
this.conf = cfg;
}
public <R, S> R max(final byte[] tableName, final ColumnInterpreter<R, S> ci,
final Scan scan) throws Throwable {
<BUG>validateParameters(scan);
class MaxCallBack implements Batch.Callback<R> {</BUG>
R max = null;
R getMax() {
return max;

public AggregationClient(Configuration cfg) {
this.conf = cfg;
}
public <R, S> R max(final byte[] tableName, final ColumnInterpreter<R, S> ci,
final Scan scan) throws Throwable {
final AggregateArgument requestArg = validateArgAndGetPB(scan, ci);
class MaxCallBack implements Batch.Callback<R> {
R max = null;
R getMax() {
return max;
