org.apache.hadoop.zebra.types
Class TypesUtils.TupleWriter

java.lang.Object
  extended by org.apache.hadoop.zebra.types.TypesUtils.TupleWriter
Enclosing class:
TypesUtils

public static class TypesUtils.TupleWriter
extends Object

Writing a tuple to disk.


Constructor Summary
TypesUtils.TupleWriter(Schema physical)
          The constructor
 
Method Summary
 void put(DataOutputStream out, Tuple row)
          Write a tuple to the output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypesUtils.TupleWriter

public TypesUtils.TupleWriter(Schema physical)
The constructor

Parameters:
physical - The physical schema of the tuple.
Method Detail

put

public void put(DataOutputStream out,
                Tuple row)
         throws IOException
Write a tuple to the output stream.

Parameters:
out - The output stream
row - The user tuple that should conform to the physical schema.
Throws:
IOException


Copyright © 2007-2012 The Apache Software Foundation