public static class TypesUtils.TupleWriter
extends java.lang.Object
| Constructor and Description |
|---|
TypesUtils.TupleWriter(Schema physical)
The constructor
|
public TypesUtils.TupleWriter(Schema physical)
physical - The physical schema of the tuple.public void put(java.io.DataOutputStream out,
Tuple row)
throws java.io.IOException
out - The output streamrow - The user tuple that should conform to the physical schema.java.io.IOExceptionCopyright © 2007-2012 The Apache Software Foundation