This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.gora.mapreduce
Class GoraRecordWriter<K,T>
java.lang.Object
   org.apache.hadoop.mapreduce.RecordWriter<K,T>
org.apache.hadoop.mapreduce.RecordWriter<K,T>
       org.apache.gora.mapreduce.GoraRecordWriter<K,T>
org.apache.gora.mapreduce.GoraRecordWriter<K,T>
- public class GoraRecordWriter<K,T> 
- extends org.apache.hadoop.mapreduce.RecordWriter<K,T>
Hadoop record writer that flushes the Gora datastore regularly.
| Field Summary | 
| static org.slf4j.Logger | LOG
 | 
 
 
| Method Summary | 
|  void | close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
 | 
|  void | write(K key,
      T value)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LOG
public static final org.slf4j.Logger LOG
GoraRecordWriter
public GoraRecordWriter(DataStore<K,Persistent> store,
                        org.apache.hadoop.mapreduce.TaskAttemptContext context)
close
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
           throws IOException,
                  InterruptedException
- 
- Specified by:
- closein class- org.apache.hadoop.mapreduce.RecordWriter<K,T>
 
- 
- Throws:
- IOException
- InterruptedException
 
write
public void write(K key,
                  T value)
           throws IOException,
                  InterruptedException
- 
- Specified by:
- writein class- org.apache.hadoop.mapreduce.RecordWriter<K,T>
 
- 
- Throws:
- IOException
- InterruptedException
 
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.