Hydrolysis of terminal, non-reducing alpha-D-galactose residues in alpha-D-galactosides, including galactose oligosaccharides, galactomannans and galactolipids. Binds 1 Ca(2+) ion per subunit. Belongs to the glycosyl hydrolase 97 family.