public static List<Object[]> toObjects(final Schema schema, final Iterable<Page> pages, final boolean useInstant, final boolean useJsonValue) {
        final ArrayList<Object[]> builder = new ArrayList<>();
        Iterator<Page> ite = pages.iterator();
        try (PageReader reader = new PageReader(schema)) {
            while (ite.hasNext()) {
                reader.setPage(ite.next());
                while (reader.nextRecord()) {
                    builder.add(toObjects(reader, useInstant, useJsonValue));
                }
            }
        }
        return Collections.unmodifiableList(builder);
    }
A utility class to manupulate {@link org.embulk.spi.Page}s.

@deprecated Use {@link org.embulk.spi.PageReader} directly.
embulk-core/src/main/java/org/embulk/spi/util/Pages.java