public class OffloadIndexEntryImpl extends Object implements OffloadIndexEntry
| Modifier and Type | Method and Description |
|---|---|
long |
getDataOffset()
Get the offset of the block's data within the object.
|
long |
getEntryId()
Get the entryId that this entry contains.
|
long |
getOffset()
Get the offset of this block within the object.
|
int |
getPartId()
Get the block part id of code storage.
|
static OffloadIndexEntryImpl |
of(long entryId,
int partId,
long offset,
long blockHeaderSize) |
String |
toString() |
public static OffloadIndexEntryImpl of(long entryId, int partId, long offset, long blockHeaderSize)
public long getEntryId()
OffloadIndexEntrygetEntryId in interface OffloadIndexEntrypublic int getPartId()
OffloadIndexEntrygetPartId in interface OffloadIndexEntrypublic long getOffset()
OffloadIndexEntrygetOffset in interface OffloadIndexEntrypublic long getDataOffset()
OffloadIndexEntrygetDataOffset in interface OffloadIndexEntryCopyright © 2017–2022 Apache Software Foundation. All rights reserved.