int count = WritableUtils.readVInt(input);
Map<ImmutableBytesPtr, byte[]> cfMap = new HashMap<ImmutableBytesPtr, byte[]>();
for (int i = 0; i < count; i++) {
byte[] cf = WritableUtils.readCompressedByteArray(input);
byte[] renamed = WritableUtils.readCompressedByteArray(input);
cfMap.put(new ImmutableBytesPtr(cf), renamed);
}
return new ScanProjector(type, null, cfMap, null);
}
int count = WritableUtils.readVInt(input);
Map<ImmutableBytesPtr, Map<ImmutableBytesPtr, Pair<byte[], byte[]>>> cqMap =
new HashMap<ImmutableBytesPtr, Map<ImmutableBytesPtr, Pair<byte[], byte[]>>>();
for (int i = 0; i < count; i++) {
byte[] cf = WritableUtils.readCompressedByteArray(input);
int nQuals = WritableUtils.readVInt(input);
Map<ImmutableBytesPtr, Pair<byte[], byte[]>> map =
new HashMap<ImmutableBytesPtr, Pair<byte[], byte[]>>();
for (int j = 0; j < nQuals; j++) {
byte[] cq = WritableUtils.readCompressedByteArray(input);
byte[] renamedCf = WritableUtils.readCompressedByteArray(input);
byte[] renamedCq = WritableUtils.readCompressedByteArray(input);
map.put(new ImmutableBytesPtr(cq), new Pair<byte[], byte[]>(renamedCf, renamedCq));
}
cqMap.put(new ImmutableBytesPtr(cf), map);
}
return new ScanProjector(type, null, null, cqMap);
} catch (IOException e) {
throw new RuntimeException(e);
} finally {