Class MultiLevelIndex.IndexEntry
- java.lang.Object
-
- org.apache.accumulo.core.file.rfile.MultiLevelIndex.IndexEntry
-
- All Implemented Interfaces:
Comparable<MultiLevelIndex.IndexEntry>,org.apache.hadoop.io.Writable,org.apache.hadoop.io.WritableComparable<MultiLevelIndex.IndexEntry>
- Enclosing class:
- MultiLevelIndex
public static class MultiLevelIndex.IndexEntry extends Object implements org.apache.hadoop.io.WritableComparable<MultiLevelIndex.IndexEntry>
-
-
Constructor Summary
Constructors Constructor Description IndexEntry(boolean newFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(MultiLevelIndex.IndexEntry o)booleanequals(Object o)longgetCompressedSize()KeygetKey()intgetNumEntries()longgetOffset()longgetRawSize()inthashCode()voidreadFields(DataInput in)voidwrite(DataOutput out)
-
-
-
Method Detail
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
getKey
public Key getKey()
-
getNumEntries
public int getNumEntries()
-
getOffset
public long getOffset()
-
getCompressedSize
public long getCompressedSize()
-
getRawSize
public long getRawSize()
-
compareTo
public int compareTo(MultiLevelIndex.IndexEntry o)
- Specified by:
compareToin interfaceComparable<MultiLevelIndex.IndexEntry>
-
-