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) |
static RecordId |
fromString(SegmentStore factory,
String id) |
int |
getOffset() |
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 getOffset()
public UUID asUUID()
public int compareTo(RecordId that)
compareTo
in interface Comparable<RecordId>
public String toString10()
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.