com.datasalt.pangool.utils
Class TupleToAvroRecordConverter

java.lang.Object
  extended by com.datasalt.pangool.utils.TupleToAvroRecordConverter

public class TupleToAvroRecordConverter
extends Object


Constructor Summary
TupleToAvroRecordConverter(Schema pangoolSchema, org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 org.apache.avro.generic.GenericData.Record toRecord(ITuple tuple, org.apache.avro.generic.GenericData.Record reuse)
          Moves data between a Tuple and an Avro Record
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleToAvroRecordConverter

public TupleToAvroRecordConverter(Schema pangoolSchema,
                                  org.apache.hadoop.conf.Configuration conf)
Method Detail

toRecord

public org.apache.avro.generic.GenericData.Record toRecord(ITuple tuple,
                                                           org.apache.avro.generic.GenericData.Record reuse)
                                                    throws IOException
Moves data between a Tuple and an Avro Record

Throws:
IOException


Copyright © –2014 Datasalt Systems S.L.. All rights reserved.