Class RecordId
java.lang.Object
org.apache.jackrabbit.oak.segment.RecordId
- All Implemented Interfaces:
Comparable<RecordId>
The record id. This includes the segment id and the offset within the
segment.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasUUID()
int
boolean
int
static RecordId
fromString
(SegmentIdProvider idProvider, String id) int
@NotNull Segment
int
hashCode()
toString()
Returns the record id string representation used in Oak 1.0.
-
Field Details
-
NULL
Anull
record id not identifying any record. -
EMPTY_ARRAY
-
-
Constructor Details
-
RecordId
-
-
Method Details
-
fromString
-
getSegmentId
-
getRecordNumber
public int getRecordNumber() -
asUUID
- Returns:
- the segment id part of this record id as UUID
-
getSegment
-
compareTo
- Specified by:
compareTo
in interfaceComparable<RecordId>
-
toString
-
toString10
Returns the record id string representation used in Oak 1.0. -
hashCode
public int hashCode() -
equals
-
estimateMemoryUsage
public int estimateMemoryUsage()
-