roryqi commented on code in PR #9914:
URL: https://github.com/apache/gravitino/pull/9914#discussion_r2794481998
##########
core/src/main/java/org/apache/gravitino/storage/relational/RelationalEntityStore.java:
##########
@@ -225,6 +228,30 @@ public <E extends Entity & HasIdentifier> List<E>
listEntitiesByRelation(
});
}
+ @Override
+ public <E extends Entity & HasIdentifier>
+ Map<NameIdentifier, List<E>> batchListEntitiesByRelation(
Review Comment:
We should add a new class Relation instead a nested map. It's hard to
maintain.
class Relation {
Entity sourceEntity;
Entity destEntity;
}
LIst<Relation> batchListEntitiesByRelation(Type relType,
List<NameIdentifier> sourceIdents);
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]