io.github.holmofy.data.jdbc.CriteriaExecutor Maven / Gradle / Ivy
The newest version!
package io.github.holmofy.data.jdbc;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.relational.core.query.CriteriaDefinition;
import java.util.Optional;
/**
* Support Criteria queries
*
* @param Domain Class
*/
public interface CriteriaExecutor {
Optional findOne(CriteriaDefinition criteria);
Iterable findAll(CriteriaDefinition criteria);
Page findAll(CriteriaDefinition criteria, Pageable pageable);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy