@SuppressWarnings("unchecked") public void queryForDump(String cfName,String fileName,String[] ids) throws Exception {
  final Class clazz=getClassFromCFName(cfName);
  if (clazz == null) {
    return;
  }
  initDumpXmlFile(cfName);
  for (  String id : ids) {
    queryAndPrintRecord(URI.create(id),clazz,DbCliOperation.DUMP);
  }
  writeToXmlFile(fileName);
}

@ SuppressWarnings ( "unchecked" ) public void queryForDump ( String cfName , String fileName , String [ ] ids ) throws Exception { final Class clazz = getClassFromCFName ( cfName ) ; if ( clazz == null ) { return ; } initDumpXmlFile ( cfName ) ; for ( String id : ids ) { queryAndPrintRecord ( URI . create ( id ) , clazz , DbCliOperation . DUMP ) ; } writeToXmlFile ( fileName ) ; }
query and dump into xml for a particular id in a columnfamily
