code: private ByteBuffer getRawKeyFromRowGroupOrNull(Iterable<Row> filteredRowGroup) {
          Iterator<Row> iter = filteredRowGroup.iterator();
          return iter.hasNext() ? getKey(iter.next()) : null;
      }
docs: /*
  Its similar to getRawKeyFromRowGroup but should be used where the rowGroup can have no rows as well.