http://www.politifact.com/truth-o-meter/statements/2009/may/27/judicial-confirmation-network/Sotomayor-comment-Latina-women-versus-white-men/   

Here's the full speech by Sotomayor, not the six second versions (which I found verbatim in a number of post, also without context, also on clearly conservative sites).

Beyond this you have to wonder how many women and persons of color have been judged by white males?    How do you or Out blast away a gay judge in Oregon, when straight judges in Oregon have been judging gay men an women through Oregon's past.  How may women have been subject to rules made by men in the courts and in the legislature.

You took the short clip from another meme that is circulating among far right conservative.   Nothing new, the quote is over 5 years old.  Not once did she say a white male judge should be disqualified, she was defending her own life experience and rightfully says that in a large panel of judges, diversity will be a benefit.