
com.jeromeloisel.db.scroll.api.DatabaseScroll Maven / Gradle / Ivy
The newest version!
package com.jeromeloisel.db.scroll.api;
import org.elasticsearch.search.SearchHit;
import java.io.IOException;
@FunctionalInterface
public interface DatabaseScroll {
default void onStartBatch() throws IOException {
}
void accept(SearchHit hit) throws IOException;
default void onEndBatch() throws IOException {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy