endTokenOrKey = cassandraQuery.getEndKey().toString();
}
Select select = store.createSelect(fields);
CassandraClient client = store.getClientByLocation(getLocation(query));
if (isUsingTokens) {
rowIter =
client.getTokenRange(startTokenOrKey, endTokenOrKey,
batchRowCount, select).iterator();
} else {
rowIter = client.getRange(startTokenOrKey, endTokenOrKey,
batchRowCount, select).iterator();
}
}