com.datasalt.pangool.utils
Class AvroUtils

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

public class AvroUtils
extends Object


Constructor Summary
AvroUtils()
           
 
Method Summary
static void addAvroSerialization(org.apache.hadoop.conf.Configuration conf)
           
static org.apache.avro.Schema toAvroSchema(Schema pangoolSchema)
          Converts from one Pangool schema to one Avro schema for serializing it
static Schema toPangoolSchema(org.apache.avro.Schema avroSchema)
          Converts from one Avro schema to one Pangool schema for de-serializing it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvroUtils

public AvroUtils()
Method Detail

addAvroSerialization

public static void addAvroSerialization(org.apache.hadoop.conf.Configuration conf)

toPangoolSchema

public static Schema toPangoolSchema(org.apache.avro.Schema avroSchema)
Converts from one Avro schema to one Pangool schema for de-serializing it


toAvroSchema

public static org.apache.avro.Schema toAvroSchema(Schema pangoolSchema)
Converts from one Pangool schema to one Avro schema for serializing it



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