cascading.tuple.hadoop.io
Class TuplePairSerializer

java.lang.Object
  extended by cascading.tuple.hadoop.io.TuplePairSerializer
All Implemented Interfaces:
Serializer<TuplePair>

public class TuplePairSerializer
extends java.lang.Object


Constructor Summary
TuplePairSerializer(TupleSerialization.SerializationElementWriter elementWriter)
           
 
Method Summary
 void close()
           
 void open(java.io.OutputStream out)
           
 void serialize(TuplePair tuple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TuplePairSerializer

public TuplePairSerializer(TupleSerialization.SerializationElementWriter elementWriter)
Method Detail

serialize

public void serialize(TuplePair tuple)
               throws java.io.IOException
Throws:
java.io.IOException

open

public void open(java.io.OutputStream out)
Specified by:
open in interface Serializer<T>

close

public void close()
           throws java.io.IOException
Specified by:
close in interface Serializer<T>
Throws:
java.io.IOException


Copyright © 2007-2011 Concurrent, Inc. All Rights Reserved.