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

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

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