processing/src/main/java/org/apache/druid/query/groupby/epinephelinae/Grouper.java
/**
   * Aggregate the current row with the provided key. Some implementations are thread-safe and
   * some are not.
   *
   * @param key key
   *
   * @return result that is ok if the row was aggregated, not ok if a resource limit was hit
   */
Aggregate the current row with the provided key. Some implementations are thread-safe and
some are not.

@param key key

@return result that is ok if the row was aggregated, not ok if a resource limit was hit
Aggregate the current row with the provided key . Some implementations are thread - safe and some are not . @param key key @return result that is ok if the row was aggregated not ok if a resource limit was hit
default AggregateResult aggregate(KeyType key)
  {
    Preconditions.checkNotNull(key, "key");
    return aggregate(key, hashFunction().applyAsInt(key));
  }
default AggregateResult aggregate ( KeyType key ) { Preconditions . checkNotNull ( key , "key" ) ; return aggregate ( key , hashFunction ( ) . applyAsInt ( key ) ) ; }
Aggregate the current row with the provided key.
Aggregate the current row with the provided key .