What PVC pipe can withstand hot water, sunlight and be used for drinking water?
CPVC with a coat of paint on the outside to protect from sunlight. Of course, a non-PVC pipe might suit your actual needs better, depending on your actual needs.