@Override
@SuppressWarnings("unchecked")
public void expandRowData(FDBStore store, Session session,
FDBStoreData storeData, RowData rowData) {
Map<String,Object> value = (Map<String,Object>)storeData.otherValue;
RowDef rowDef = TupleStorageDescription.rowDefFromOrdinals((Group)object, storeData);
assert (rowDef != null) : storeData.persistitKey;
int nfields = rowDef.getFieldCount();
Object[] objects = new Object[nfields];
for (int i = 0; i < nfields; i++) {
objects[i] = value.get(rowDef.getFieldDef(i).getName());
}
if (rowData.getBytes() == null) {
rowData.reset(new byte[RowData.CREATE_ROW_INITIAL_SIZE]);
}
rowData.createRow(rowDef, objects, true);