public class RWAddressManager extends Object implements IAddressManager
NULL| Constructor and Description |
|---|
RWAddressManager(RWStore store) |
| 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.
|
public RWAddressManager(RWStore store)
public int getByteCount(long addr)
IAddressManagerIRawStore.getByteCount in interface IAddressManageraddr - The opaque identifier that is the within store locator for
some datum.public long getOffset(long addr)
IAddressManagergetOffset in interface IAddressManageraddr - The opaque identifier that is the within store locator for
some datum.public long getPhysicalAddress(long addr)
IAddressManagergetPhysicalAddress in interface IAddressManageraddr - The encoded addresspublic long toAddr(int nbytes,
long offset)
IAddressManagertoAddr in interface IAddressManagernbytes - The byte count.offset - The byte offset.public String toString(long addr)
IAddressManagertoString in interface IAddressManageraddr - The opaque identifier that is the within store locator for
some datum.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.