}
return Collections.unmodifiableSet(toReturn);
}
public List query(RemoteQuery remoteQuery) {
QueryOperation op = operationsFactory.newQueryOperation(remoteQuery);
QueryResponse response = op.execute();
List<Object> results = new ArrayList<Object>(response.getNumResults());
if (response.getProjectionSize() > 0) {
Iterator<WrappedMessage> it = response.getResults().iterator();
while (it.hasNext()) {
Object[] row = new Object[response.getProjectionSize()];