Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Creative commons Attribution-NonCommercial license. http://creativecommons.org/licenses/by-nc/2.5/au/deed.en_GB NO WARRANTY IS GIVEN OR IMPLIED, USE AT YOUR OWN RISK.
 
 package base.jee.api.cassandra.util;
 
public class HasPersonRecord {
	public static boolean hasPersonRecord(Session s) {
		ResultSet r = s.execute("select uuid from person limit 1");
		return r.iterator().hasNext();
	}
New to GrepCode? Check out our FAQ X