public class HadoopDirectDataOutputContext extends Object
| Constructor and Description |
|---|
HadoopDirectDataOutputContext(int flushSize,
boolean gzip,
HadoopTaskContext taskCtx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
count() |
void |
reset()
Reset buffer.
|
HadoopDirectDataOutputState |
state() |
boolean |
write(Object key,
Object val)
Write key-value pair.
|
public HadoopDirectDataOutputContext(int flushSize,
boolean gzip,
HadoopTaskContext taskCtx)
throws IgniteCheckedException
flushSize - Flush size.gzip - Whether to perform GZIP.taskCtx - Task context.IgniteCheckedException - If failed.public boolean write(Object key, Object val) throws IgniteCheckedException
key - Key.val - Value.IgniteCheckedException - If failed.public int count()
public HadoopDirectDataOutputState state()
public void reset()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019