protected abstract class HadoopMultimapBase.AdderBase extends Object implements HadoopMultimap.Adder
| Modifier and Type | Field and Description |
|---|---|
protected HadoopSerialization |
keySer |
protected HadoopSerialization |
valSer |
| Modifier | Constructor and Description |
|---|---|
protected |
AdderBase(HadoopTaskContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
HadoopMultimap.Key |
addKey(DataInput in,
HadoopMultimap.Key reuse) |
protected long |
allocate(int size) |
void |
close() |
protected void |
localDeallocate(long ptr)
Rewinds local allocation pointer to the given pointer if possible.
|
protected long |
write(int off,
Object o,
HadoopSerialization ser) |
protected int |
writtenSize() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteprotected final HadoopSerialization keySer
protected final HadoopSerialization valSer
protected AdderBase(HadoopTaskContext ctx) throws IgniteCheckedException
ctx - Task context.IgniteCheckedException - If failed.protected long write(int off,
Object o,
HadoopSerialization ser)
throws IgniteCheckedException
off - Offset.o - Object.IgniteCheckedException - If failed.protected long allocate(int size)
size - Size.protected void localDeallocate(long ptr)
ptr - Pointer.protected int writtenSize()
public HadoopMultimap.Key addKey(DataInput in, @Nullable HadoopMultimap.Key reuse) throws IgniteCheckedException
addKey in interface HadoopMultimap.Adderin - Data input.reuse - Reusable key.IgniteCheckedException - If failed.public void close()
throws IgniteCheckedException
close in interface AutoCloseableclose in interface HadoopTaskOutputIgniteCheckedException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019