Prime Minister Shinzo Abe cancelled an overseas trip to deal with Japan's worst flood disaster for 35 years.