processing/src/main/java/org/apache/druid/query/groupby/epinephelinae/HashVectorGrouper.java
/**
   * Returns the table size after the next growth. Each growth doubles the number of buckets, so this will be
   * double the current number of buckets.
   *
   * @throws IllegalStateException if not initialized or if growing is not possible
   */
Returns the table size after the next growth. Each growth doubles the number of buckets, so this will be
double the current number of buckets.

@throws IllegalStateException if not initialized or if growing is not possible
Returns the table size after the next growth . Each growth doubles the number of buckets so this will be double the current number of buckets . @throws IllegalStateException if not initialized or if growing is not possible
private int nextTableNumBuckets()
  {
    if (!initialized) {
      throw new ISE("Must be initialized");
    }
    if (hashTable.numBuckets() >= maxNumBuckets) {
      throw new ISE("No room left to grow");
    }
    return hashTable.numBuckets() * 2;
  }
private int nextTableNumBuckets ( ) { if ( ! initialized ) { throw new ISE ( "Must be initialized" ) ; } if ( hashTable . numBuckets ( ) >= maxNumBuckets ) { throw new ISE ( "No room left to grow" ) ; } return hashTable . numBuckets ( ) * 2 ; }
Returns the table size after the next growth.
Returns the table size after the next growth .