public class SegmentBlob extends Object implements org.apache.jackrabbit.oak.api.Blob
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
@Nullable String |
getBlobId() |
static Iterable<SegmentId> |
getBulkSegmentIds(org.apache.jackrabbit.oak.api.Blob blob) |
String |
getContentIdentity() |
@NotNull GCGeneration |
getGcGeneration()
Get the underlying segment's gc generation.
|
@NotNull InputStream |
getNewStream() |
RecordId |
getRecordId()
Returns the identifier of this record.
|
protected int |
getRecordNumber() |
@Nullable String |
getReference() |
protected Segment |
getSegment()
Returns the segment that contains this record.
|
int |
hashCode() |
boolean |
isExternal() |
boolean |
isInlined() |
long |
length() |
static @Nullable String |
readBlobId(@NotNull Segment segment,
int recordNumber) |
String |
toString() |
public static Iterable<SegmentId> getBulkSegmentIds(org.apache.jackrabbit.oak.api.Blob blob)
@NotNull public @NotNull InputStream getNewStream()
getNewStream
in interface org.apache.jackrabbit.oak.api.Blob
public long length()
length
in interface org.apache.jackrabbit.oak.api.Blob
@Nullable public @Nullable String getReference()
getReference
in interface org.apache.jackrabbit.oak.api.Blob
public String getContentIdentity()
getContentIdentity
in interface org.apache.jackrabbit.oak.api.Blob
public boolean isInlined()
isInlined
in interface org.apache.jackrabbit.oak.api.Blob
public boolean isExternal()
@Nullable public @Nullable String getBlobId()
@Nullable public static @Nullable String readBlobId(@NotNull @NotNull Segment segment, int recordNumber)
public boolean equals(Object object)
public int hashCode()
protected Segment getSegment()
protected int getRecordNumber()
public RecordId getRecordId()
@NotNull public @NotNull GCGeneration getGcGeneration()
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.