Class HFileInfo

java.lang.Object
org.apache.hadoop.hbase.io.hfile.HFileInfo
All Implemented Interfaces:
Map<byte[],byte[]>, SortedMap<byte[],byte[]>

@Private public class HFileInfo extends Object implements SortedMap<byte[],byte[]>
Metadata Map of attributes for HFile written out as HFile Trailer. Created by the Writer and added to the tail of the file just before close. Metadata includes core attributes such as last key seen, comparator used writing the file, etc. Clients can add their own attributes via append(byte[], byte[], boolean) and they'll be persisted and available at read time. Reader creates the HFileInfo on open by reading the tail of the HFile. The parse of the HFile trailer also creates a HFileContext, a read-only data structure that includes bulk of the HFileInfo and extras that is safe to pass around when working on HFiles.
See Also: