Allow aggressive loading for grouped collections.
This commit is contained in:
parent
c71f632966
commit
bd96b7f085
1 changed files with 17 additions and 1 deletions
|
@ -281,7 +281,7 @@ public final class Relation {
|
|||
}
|
||||
|
||||
// aggressive loading and caching is not supported for groupby-nodes
|
||||
aggressiveLoading = aggressiveCaching = false;
|
||||
// aggressiveLoading = aggressiveCaching = false;
|
||||
}
|
||||
|
||||
// check if subnode condition should be applied for property relations
|
||||
|
@ -352,6 +352,13 @@ public final class Relation {
|
|||
return isPrivate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check whether aggressive loading is set for this relation
|
||||
*/
|
||||
public boolean loadAggressively() {
|
||||
return aggressiveLoading;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of constraints for this relation.
|
||||
*/
|
||||
|
@ -425,6 +432,15 @@ public final class Relation {
|
|||
return columnType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the group for a collection relation, if defined.
|
||||
*
|
||||
* @return the name of the column used to group child objects, if any.
|
||||
*/
|
||||
public String getGroup() {
|
||||
return groupby;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a constraint to the current list of constraints
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue