#575 - Refactor PathProperties, extract FetchPath interface, rename get(path) -> getProperties(path)

This commit is contained in:
Robin Bygrave
2016-02-29 10:22:59 +13:00
parent eda7fe24c1
commit 6561c118ec
18 changed files with 413 additions and 244 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
package com.avaje.ebean;
import com.avaje.ebean.text.PathProperties;
import org.jetbrains.annotations.Nullable;
import javax.persistence.NonUniqueResultException;
@@ -522,10 +521,10 @@ public interface Query<T> extends Serializable {
/**
* Apply the path properties replacing the select and fetch clauses.
* <p>
* This is typically used when the PathProperties is applied to both the query and the JSON output.
* This is typically used when the FetchPath is applied to both the query and the JSON output.
* </p>
*/
Query<T> apply(PathProperties pathProperties);
Query<T> apply(FetchPath fetchPath);
/**
* Execute the query returning the list of Id's.