presto-hive/src/main/java/io/prestosql/plugin/hive/HivePageSink.java/HivePageSink/getMaxIndex
class HivePageSink:        public int getMaxIndex()
        {
            return pageIndexer.getMaxIndex();
        }