[FLINK-38891][table] Migrate MiniBatchIntervalInferRule to java
#27400
+207
−150
MiniBatchIntervalInferRule to java
#27400