
org.opencb.commons.io.DataReader Maven / Gradle / Ivy
package org.opencb.commons.io;
import java.util.List;
/**
* @author Alejandro Aleman Ramos
* @author Cristina Yenyxe Gonzalez Garcia
*/
@FunctionalInterface
public interface DataReader {
default boolean open() {
return true;
}
default boolean close() {
return true;
}
default boolean pre() {
return true;
}
default boolean post() {
return true;
}
default List read() {
return read(1);
}
List read(int batchSize);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy