presto-kudu/src/main/java/io/prestosql/plugin/kudu/schema/SchemaEmulationByTableNameConvention.java/SchemaEmulationByTableNameConvention/listSchemaNames
class SchemaEmulationByTableNameConvention:    @Override
    public List<String> listSchemaNames(KuduClient client)
    {
        try {
            if (rawSchemasTable == null) {
                if (!client.tableExists(rawSchemasTableName)) {
                    createAndFillSchemasTable(client);
                }
                rawSchemasTable = getSchemasTable(client);
            }

            KuduScanner scanner = client.newScannerBuilder(rawSchemasTable).build();
            RowResultIterator iterator = scanner.nextRows();
            ArrayList<String> result = new ArrayList<>();
            while (iterator != null) {
                for (RowResult row : iterator) {
                    result.add(row.getString(0));
                }
                iterator = scanner.nextRows();
            }
            return result;
        }
        catch (KuduException e) {
            throw new PrestoException(GENERIC_INTERNAL_ERROR, e);
        }
    }