Any help or direction would be appreciated. I also have a complete
unit test if that would be more helpful.
=================== Code snippet =====================
Composite column = new Composite("column"); // Debugger shows the
Composite as containing one element: type String
ColumnFamilyTemplate<String, Composite> template = ...
ColumnFamilyUpdater<String, Composite> updater = template.createUpdater("key");
updater.setString(column, "value");
template.update(updater);
ColumnFamilyResult<String, Composite> result = template.queryColumns("key");
if (result.hasResults()) {
String value = result.getString(column);
if(value != null) {
// value is null, so this block is unreachable
System.out.println("Found: " + value);
} else {
for(Composite c : result.getColumnNames()) {
// Debugger shows the Composite as containing one element: type
HeapByteBuffer
System.out.println("Lookup: " + result.getString(c));
}
}
}