}
return document;
}
}
Record record = filer.readRecord(key);
if (record == null) {
return null;
}
Value value;
InlineMetaMap metaMap = null;
if (inlineMetaService == null) {
value = record.getValue();
if (log.isTraceEnabled()) {
log.trace(localDebugHeader + "Type is not available, Length=" + value.getLength());
}
} else {
InlineMetaService.DatabaseEntry databaseEntry = inlineMetaService.readDatabaseEntry(record.getValue());
metaMap = databaseEntry.map;
value = databaseEntry.value;
if (log.isTraceEnabled()) {
log.trace(localDebugHeader + "Type=" + metaMap.get("type") + ", Length=" + value.getLength());