presto-hive/src/main/java/io/prestosql/plugin/hive/InternalHiveSplit.java/InternalHiveSplit/isDone
class InternalHiveSplit:    public boolean isDone()
    {
        return currentBlockIndex == blocks.size();
    }