@@ -621,23 +621,23 @@ public static Map<Long, String> getSchemaObjectFullNames(List<Long> ids) {
621
621
return schemaIdAndNameMap ;
622
622
}
623
623
624
- public static Map <Long , String > getCatalogIdAndNameMap (List <Long > catalogIds ) {
624
+ private static Map <Long , String > getCatalogIdAndNameMap (List <Long > catalogIds ) {
625
625
List <CatalogPO > catalogPOs =
626
626
SessionUtils .getWithoutCommit (
627
627
CatalogMetaMapper .class , mapper -> mapper .listCatalogPOsByCatalogIds (catalogIds ));
628
628
return catalogPOs .stream ()
629
629
.collect (Collectors .toMap (CatalogPO ::getCatalogId , CatalogPO ::getCatalogName ));
630
630
}
631
631
632
- public static Map <Long , String > getSchemaIdAndNameMap (List <Long > schemaIds ) {
632
+ private static Map <Long , String > getSchemaIdAndNameMap (List <Long > schemaIds ) {
633
633
List <SchemaPO > schemaPOS =
634
634
SessionUtils .getWithoutCommit (
635
635
SchemaMetaMapper .class , mapper -> mapper .listSchemaPOsBySchemaIds (schemaIds ));
636
636
return schemaPOS .stream ()
637
637
.collect (Collectors .toMap (SchemaPO ::getSchemaId , SchemaPO ::getSchemaName ));
638
638
}
639
639
640
- public static Map <Long , String > getTableIdAndNameMap (List <Long > tableIds ) {
640
+ private static Map <Long , String > getTableIdAndNameMap (List <Long > tableIds ) {
641
641
List <TablePO > tablePOS =
642
642
SessionUtils .getWithoutCommit (
643
643
TableMetaMapper .class , mapper -> mapper .listTablePOsByTableIds (tableIds ));
0 commit comments