ptupitsyn commented on code in PR #3673:
URL: https://github.com/apache/ignite-3/pull/3673#discussion_r1593774693
##########
modules/api/src/main/java/org/apache/ignite/table/Table.java:
##########
@@ -37,6 +39,13 @@ public interface Table {
*/
String name();
+ /**
+ * Gets a partition manager of a table.
+ *
+ * @return Partition manager.
+ */
+ <T extends Partition> PartitionManager<T> partitionManager();
Review Comment:
Alternatively:
* Make partition classes private
* Remove generics, use `Partition` interface everywhere
Looks like the user does not need to see the actual class, they just pass it
around.
--
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]