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

org.opencb.commons.io.DataReader Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
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