org.apache.accumulo.core.file.rfile
Class MultiLevelIndex.IndexEntry

java.lang.Object
  extended by 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
MultiLevelIndex.IndexEntry(boolean newFormat)
           
 
Method Summary
 int compareTo(MultiLevelIndex.IndexEntry o)
           
 boolean equals(Object o)
           
 long getCompressedSize()
           
 Key getKey()
           
 int getNumEntries()
           
 long getOffset()
           
 long getRawSize()
           
 int hashCode()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiLevelIndex.IndexEntry

public MultiLevelIndex.IndexEntry(boolean newFormat)
Method Detail

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.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:
compareTo in interface Comparable<MultiLevelIndex.IndexEntry>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2015 Apache Accumulo Project. All rights reserved.