public static class IndexChunker.Chunk extends 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) |
String |
toString() |
public long getDestElem()
getDestElem
in interface Layout.Chunk
public int getNelems()
Layout.Chunk
getNelems
in interface Layout.Chunk
public long getSrcElem()
public long getSrcPos()
Layout.Chunk
getSrcPos
in interface Layout.Chunk
public void incrDestElem(int incr)
public void incrSrcElem(int incr)
public void incrSrcPos(int incr)
public void setDestElem(long destElem)
public void setNelems(int nelems)
public void setSrcElem(long srcElem)
public void setSrcPos(long srcPos)