K - Key typeV - Value typepublic class InfinispanRecordWriter<K,V>
extends org.apache.hadoop.mapreduce.RecordWriter<K,V>
| Constructor and Description |
|---|
InfinispanRecordWriter(org.infinispan.client.hotrod.RemoteCache<K,V> remoteCache,
int writeBatchSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
void |
write(K key,
V value) |
public void write(K key, V value) throws IOException, InterruptedException
write in class org.apache.hadoop.mapreduce.RecordWriter<K,V>IOExceptionInterruptedExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
close in class org.apache.hadoop.mapreduce.RecordWriter<K,V>IOExceptionInterruptedExceptionCopyright © 2019 JBoss, a division of Red Hat. All rights reserved.