adding CQL java code