code: private Map<String, Set<String>> getAllLinkTargetObjIDs(DBObjectBatch dbObjBatch) {
          Map<String, Set<String>> resultMap = new HashMap<>();
          for (FieldDefinition fieldDef : m_tableDef.getFieldDefinitions()) {
              if (!fieldDef.isLinkField() || !fieldDef.getInverseTableDef().isSharded()) {
                  continue;
              }
              Set<String> targObjIDs = getLinkTargetObjIDs(fieldDef, dbObjBatch);
              if (targObjIDs.size() == 0) {
                  continue;   // no assignments to this sharded link in the batch
              }
              
              String targetTableName = fieldDef.getInverseTableDef().getTableName();
              Set<String> tableObjIDs = resultMap.get(targetTableName);
              if (tableObjIDs == null) {
                  tableObjIDs = new HashSet<>();
                  resultMap.put(targetTableName, tableObjIDs);
              }
              tableObjIDs.addAll(targObjIDs);
          }
          return resultMap;
      }
docs: table in the given batch.