if(!ret){
return false;
}
try{
getConnectionManager().setDefaultKeyspace(keyspaceDefinition);
UpdateProcessor up = new UpdateProcessor(this.objectMapper);
boolean didwork = false;
long rowLimit = 0;
if(cl.hasOption("rowLimit")) {
rowLimit = Long.parseLong(cl.getOptionValue("rowLimit"));
}
if(cl.hasOption("listUpdates")){
String timestr = cl.getOptionValue("listUpdates");
long time = Long.parseLong(timestr);
up.displayListResults(up.getUpdatesThatHappenedWithinTimeframe(time, rowLimit));
didwork = true;
}
if(cl.hasOption("p")){
up.process(rowLimit);
didwork = true;
}
if(didwork){
return true;