public class MapRecord extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
BITS_PER_LEVEL
Number of bits of the hash code to look at on each level of the trie.
|
protected static int |
BUCKETS_PER_LEVEL
Number of buckets at each level of the trie.
|
protected static int |
LEVEL_BITS
Number of bits needed to indicate the current trie level.
|
protected static int |
MAX_NUMBER_OF_LEVELS
Maximum number of trie levels.
|
protected static int |
MAX_SIZE
Maximum size of a map.
|
protected static int |
SIZE_BITS
Number of bits used to indicate the size of a map.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that) |
RecordId |
getRecordId()
Returns the identifier of this record.
|
protected int |
getRecordNumber() |
protected Segment |
getSegment()
Returns the segment that contains this record.
|
int |
hashCode() |
boolean |
isDiff() |
String |
toString() |
protected static final int BITS_PER_LEVEL
protected static final int BUCKETS_PER_LEVEL
protected static final int MAX_NUMBER_OF_LEVELS
protected static final int LEVEL_BITS
protected static final int SIZE_BITS
protected static final int MAX_SIZE
public boolean isDiff()
public String toString()
protected Segment getSegment()
protected int getRecordNumber()
public RecordId getRecordId()
Copyright © 2012-2019 The Apache Software Foundation. All Rights Reserved.