com.datasalt.pangool.serialization
Class ThriftSerialization.TSerializerAdapter

java.lang.Object
  extended by com.datasalt.pangool.serialization.ThriftSerialization.TSerializerAdapter
All Implemented Interfaces:
org.apache.hadoop.io.serializer.Serializer<org.apache.thrift.TBase>
Enclosing class:
ThriftSerialization

public static class ThriftSerialization.TSerializerAdapter
extends Object
implements org.apache.hadoop.io.serializer.Serializer<org.apache.thrift.TBase>


Constructor Summary
ThriftSerialization.TSerializerAdapter()
           
 
Method Summary
 void close()
           
 void open(OutputStream out)
           
 void serialize(org.apache.thrift.TBase t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftSerialization.TSerializerAdapter

public ThriftSerialization.TSerializerAdapter()
Method Detail

open

public void open(OutputStream out)
Specified by:
open in interface org.apache.hadoop.io.serializer.Serializer<org.apache.thrift.TBase>

serialize

public void serialize(org.apache.thrift.TBase t)
               throws IOException
Specified by:
serialize in interface org.apache.hadoop.io.serializer.Serializer<org.apache.thrift.TBase>
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface org.apache.hadoop.io.serializer.Serializer<org.apache.thrift.TBase>
Throws:
IOException


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