public static class IndexChunker.Chunk extends java.lang.Object implements Layout.Chunk
| Constructor and Description |
|---|
Chunk(long srcElem,
int nelems,
long destElem) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDestElem()
Get the position in destination where to read or write
|
int |
getNelems()
Get number of elements to transfer contiguously (Note: elements, not bytes)
|
long |
getSrcElem()
Get the position in source where to read or write
|
long |
getSrcPos()
Get the position in source where to read or write: "file position"
|
void |
incrDestElem(int incr) |
void |
incrSrcElem(int incr) |
void |
incrSrcPos(int incr) |
void |
setDestElem(long destElem) |
void |
setNelems(int nelems) |
void |
setSrcElem(long srcElem) |
void |
setSrcPos(long srcPos) |
java.lang.String |
toString() |
public long getSrcElem()
public void setSrcElem(long srcElem)
public void incrSrcElem(int incr)
public int getNelems()
Layout.ChunkgetNelems in interface Layout.Chunkpublic void setNelems(int nelems)
public long getDestElem()
getDestElem in interface Layout.Chunkpublic void setDestElem(long destElem)
public void incrDestElem(int incr)
public java.lang.String toString()
toString in class java.lang.Objectpublic long getSrcPos()
Layout.ChunkgetSrcPos in interface Layout.Chunkpublic void setSrcPos(long srcPos)
public void incrSrcPos(int incr)