public final class RecordId extends Object implements Comparable<RecordId>
| Modifier and Type | Field and Description |
|---|---|
static RecordId[] |
EMPTY_ARRAY |
| Constructor and Description |
|---|
RecordId(SegmentId segmentId,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
UUID |
asUUID() |
int |
compareTo(RecordId that) |
boolean |
equals(Object object) |
int |
estimateMemoryUsage() |
static RecordId |
fromString(SegmentStore factory,
String id) |
int |
getRecordNumber() |
Segment |
getSegment() |
SegmentId |
getSegmentId() |
int |
hashCode() |
String |
toString() |
String |
toString10()
Returns the record id string representation used in Oak 1.0.
|
public static RecordId[] EMPTY_ARRAY
public RecordId(SegmentId segmentId, int offset)
public static RecordId fromString(SegmentStore factory, String id)
public SegmentId getSegmentId()
public int getRecordNumber()
public UUID asUUID()
public int compareTo(@Nonnull RecordId that)
compareTo in interface Comparable<RecordId>public String toString10()
public int estimateMemoryUsage()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.