Class OutputStreamWritable
java.lang.Object
org.apache.nifi.processors.hadoop.util.OutputStreamWritable
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
This class will write to an output stream, rather than an in-memory buffer, the fields being read.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final DataOutputStreamprivate final boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BUFFER_SIZE
private static final int BUFFER_SIZE- See Also:
-
dos
-
writeLength
private final boolean writeLength
-
-
Constructor Details
-
OutputStreamWritable
-
-
Method Details
-
write
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
readFields
- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-