final TableMapping tableMapping = this.getTableMapping();
// Column reference is not known to mapping, so just assign byte[] value
if (this.getColumnAttrib() == null) {
final ColumnAttrib unMappedAttrib = tableMapping.getUnMappedAttrib(this.getFamilyName());
if (unMappedAttrib != null) {
final byte[] b = result.getValue(this.getFamilyNameBytes(), this.getColumnNameBytes());
unMappedAttrib.setUnMappedCurrentValue(obj, this.getSelectName(), b);
}
}
else {
if (this.getColumnAttrib().isACurrentValue()) {
final byte[] b = result.getValue(this.getFamilyNameBytes(), this.getColumnNameBytes());
this.getColumnAttrib().setCurrentValue(obj, 0, b);
}
}
// Now assign versions if they were requested. Do not process if it doesn't support version values
if (maxVerions > 1) {
// Bail if a known column is not a version attrib
if (this.getColumnAttrib() != null && !this.getColumnAttrib().isAVersionValue())
return;
final NavigableMap<byte[], NavigableMap<byte[], NavigableMap<Long, byte[]>>> familyMap = result.getMap();
final NavigableMap<byte[], NavigableMap<Long, byte[]>> columnMap = familyMap.get(this.getFamilyNameBytes());
if (columnMap == null)
return;
final NavigableMap<Long, byte[]> timeStampMap = columnMap.get(this.getColumnNameBytes());
if (this.getColumnAttrib() == null) {
final ColumnAttrib unMappedAttrib = tableMapping.getUnMappedAttrib(this.getFamilyName());
if (unMappedAttrib != null)
unMappedAttrib.setUnMappedVersionMap(obj, this.getSelectName(), timeStampMap);
}
else {
final Map<Long, Object> mapVal = this.getColumnAttrib().getVersionMap(obj);
for (final Long timestamp : timeStampMap.keySet()) {
final byte[] b = timeStampMap.get(timestamp);