public interface IAddressManager
IRawStore.| Modifier and Type | Field and Description |
|---|---|
static long |
NULL
A null reference (0L).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getByteCount(long addr)
The length of the datum in bytes.
|
long |
getOffset(long addr)
The offset on the store at which the datum is stored.
|
long |
getPhysicalAddress(long addr)
Determine the unencoded physical address
|
long |
toAddr(int nbytes,
long offset)
Converts a byte count and offset into a long integer.
|
String |
toString(long addr)
A human readable representation of the address.
|
static final long NULL
Note: It is a requirement that all implementations understand the value
0L as a null reference.
long toAddr(int nbytes,
long offset)
nbytes - The byte count.offset - The byte offset.IllegalArgumentException - if the byte count is larger than can be represented by the
address manager.IllegalArgumentException - if the byte offset is larger than can be represented by
the address manager.long getOffset(long addr)
addr - The opaque identifier that is the within store locator for
some datum.int getByteCount(long addr)
IRawStore.addr - The opaque identifier that is the within store locator for
some datum.String toString(long addr)
addr - The opaque identifier that is the within store locator for
some datum.long getPhysicalAddress(long addr)
addr - The encoded addressCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.