public class SegmentBlob extends Object implements org.apache.jackrabbit.oak.api.Blob
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
String |
getBlobId() |
static Iterable<SegmentId> |
getBulkSegmentIds(org.apache.jackrabbit.oak.api.Blob blob) |
String |
getContentIdentity() |
InputStream |
getNewStream() |
RecordId |
getRecordId()
Returns the identifier of this record.
|
protected int |
getRecordNumber() |
String |
getReference() |
protected Segment |
getSegment()
Returns the segment that contains this record.
|
int |
hashCode() |
boolean |
isExternal() |
long |
length() |
static String |
readBlobId(Segment segment,
int recordNumber) |
String |
toString() |
public static Iterable<SegmentId> getBulkSegmentIds(org.apache.jackrabbit.oak.api.Blob blob)
@Nonnull public InputStream getNewStream()
getNewStream
in interface org.apache.jackrabbit.oak.api.Blob
public long length()
length
in interface org.apache.jackrabbit.oak.api.Blob
@CheckForNull public 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 isExternal()
@CheckForNull public String getBlobId()
@CheckForNull public static String readBlobId(@Nonnull Segment segment, int recordNumber)
public boolean equals(Object object)
public int hashCode()
protected Segment getSegment()
protected int getRecordNumber()
public RecordId getRecordId()
Copyright © 2012-2019 The Apache Software Foundation. All Rights Reserved.