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

io.ebean.delegate.InterceptFindSqlQuery Maven / Gradle / Ivy

package io.ebean.delegate;

import io.ebean.SqlQuery;
import io.ebean.SqlRow;
import io.ebean.Transaction;

import java.util.List;
import java.util.function.Consumer;
import java.util.function.Predicate;

/**
 * Interception for SqlQuery.
 */
public interface InterceptFindSqlQuery {

  List findList(SqlQuery query, Transaction transaction);

  SqlRow findUnique(SqlQuery query, Transaction transaction);

  void findEach(SqlQuery sqlQuery, Consumer consumer, Transaction transaction);

  void findEachWhile(SqlQuery sqlQuery, Predicate consumer, Transaction transaction);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy