org.apache.hadoop.zebra.types
Class TypesUtils.TupleWriter
java.lang.Object
org.apache.hadoop.zebra.types.TypesUtils.TupleWriter
- Enclosing class:
- TypesUtils
public static class TypesUtils.TupleWriter
- extends Object
Writing a tuple to disk.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypesUtils.TupleWriter
public TypesUtils.TupleWriter(Schema physical)
- The constructor
- Parameters:
physical
- The physical schema of the tuple.
put
public void put(DataOutputStream out,
Tuple row)
throws IOException
- Write a tuple to the output stream.
- Parameters:
out
- The output streamrow
- The user tuple that should conform to the physical schema.
- Throws:
IOException
Copyright © ${year} The Apache Software Foundation