ByteBufferUtil.writeWithShortLength(key.getKey(), indexFile.stream);
metadata.comparator.rowIndexEntrySerializer().serialize(indexEntry, indexFile.stream);
}
catch (IOException e)
{
throw new FSWriteError(e, indexFile.getPath());
}
if (logger.isTraceEnabled())
logger.trace("wrote index entry: " + indexEntry + " at " + indexPosition);