Rename QueryBean interface to IQueryBean (because we want to rename TQRootBean)

We want to rename TQRootBean to QueryBean. I can't do that right now because we need to make ebean-agent aware of that first. So yes, perhaps not ideal with IQueryBean but I think it will make sense once TQRootBean is renamed to QueryBean.
This commit is contained in:
Rob Bygrave
2024-04-04 22:35:55 +13:00
parent f7703efde2
commit 8f1ebdb89a
3 changed files with 6 additions and 15 deletions
@@ -1,21 +1,12 @@
package io.ebean.typequery;
import io.avaje.lang.Nullable;
import io.ebean.*;
import io.ebean.search.MultiMatch;
import io.ebean.search.TextCommonTerms;
import io.ebean.search.TextQueryString;
import io.ebean.search.TextSimple;
import io.ebean.text.PathProperties;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.Timestamp;
import java.util.*;
import java.util.function.BooleanSupplier;
import java.util.function.Consumer;
import java.util.function.Predicate;
import java.util.stream.Stream;
import java.util.Collection;
/**
* Query bean for strongly typed query construction and execution.
@@ -53,7 +44,7 @@ import java.util.stream.Stream;
* @param <T> the entity bean type (normal entity bean type e.g. Customer)
* @param <R> the specific query bean type (e.g. QCustomer)
*/
public interface QueryBean<T, R> extends QueryBuilder<R, T> {
public interface IQueryBean<T, R> extends QueryBuilder<R, T> {
/**
* Return the underlying query.
@@ -57,7 +57,7 @@ import java.util.stream.Stream;
* @param <R> the specific root query bean type (e.g. QCustomer)
*/
@NonNullApi
public abstract class TQRootBean<T, R> implements QueryBean<T, R> {
public abstract class TQRootBean<T, R> implements IQueryBean<T, R> {
/**
* The underlying query.