KeyValue<T> keyVal;
if(row == null) {
keyVal = new KeyValue<T>();
MetaIdField idMeta = meta.getIdField();
byte[] nonVirtKey = idMeta.unformVirtRowKey((byte[]) key);
Object obj = meta.getIdField().translateFromBytes(nonVirtKey);
if(query != null) {
//for now, log the exception, but do not set it in the keyVal. This prevents a corrupted index from
//breaking all queries that use that index.
RowNotFoundException exc = new RowNotFoundException("Your query="+query+" contained a value with a pk where that entity no longer exists in the nosql store");