public static class MultiLevelIndex.IndexEntry extends Object implements org.apache.hadoop.io.WritableComparable<MultiLevelIndex.IndexEntry>
Constructor and Description |
---|
MultiLevelIndex.IndexEntry(boolean newFormat) |
Modifier and Type | Method and Description |
---|---|
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) |
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public Key getKey()
public int getNumEntries()
public long getOffset()
public long getCompressedSize()
public long getRawSize()
public int compareTo(MultiLevelIndex.IndexEntry o)
compareTo
in interface Comparable<MultiLevelIndex.IndexEntry>
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.