Although this version is not supported but may be somebody can advice how to
get ALL versions of rows from HTable scan?
This code:
public Iterator<OtaUploadWritable> getUploadsByProfileId(String profile,
long start, long end) throws IOException {
Scan scan = new Scan(getStartKey(profile), getEndKey(profile));
scan.addColumn(COLFAMILY, COL_REF);
scan.addColumn(COLFAMILY, COL_UPLOAD);
scan.setTimeRange(start, end);
scan.setMaxVersions();
ResultScanner rs = this.getScanner(scan);
return new ResultScannerIterator(rs);
}
does not seem work correctly (only last versions of rows get into the result
set)
Best regards,
Vladimir Rodionov
Principal Platform Engineer
Carrier IQ, www.carrieriq.com
e-mail: [email protected]