All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.firefly.db.SQLResultSet Maven / Gradle / Ivy

There is a newer version: 5.0.0-dev6
Show newest version
package com.firefly.db;


import java.util.Iterator;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;

/**
 * @author Pengtao Qiu
 */
public interface SQLResultSet extends Row, Iterable {

    boolean next();

    void close();

    @Override
    default Iterator iterator() {
        return new RowIterator(this);
    }

    default Stream stream() {
        return StreamSupport.stream(this.spliterator(), false);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy