Package org.apache.hadoop.io

Generic i/o code for use when reading and writing data to the network, to databases, and to files.

See:
          Description

Interface Summary
Writable A simple, efficient, serialization protocol, based on DataInput and DataOutput.
WritableComparable An interface which extends both Writable and Comparable.
WritableFactory A factory for a class of Writable.
 

Class Summary
ArrayWritable A Writable for arrays containing instances of a class.
BooleanWritable A WritableComparable for booleans.
BooleanWritable.Comparator A Comparator optimized for BooleanWritable.
BytesWritable A byte sequence that is usable as a key or value.
BytesWritable.Comparator A Comparator optimized for BytesWritable.
CompressedWritable A base-class for Writables which store themselves compressed and lazily inflate on field access.
DataInputBuffer A reusable DataInput implementation that reads from an in-memory buffer.
DataOutputBuffer A reusable DataOutput implementation that writes to an in-memory buffer.
FloatWritable A WritableComparable for floats.
FloatWritable.Comparator A Comparator optimized for FloatWritable.
GenericWritable A wrapper for Writable instances.
IntWritable A WritableComparable for ints.
IntWritable.Comparator A Comparator optimized for IntWritable.
LongWritable A WritableComparable for longs.
LongWritable.Comparator A Comparator optimized for LongWritable.
LongWritable.DecreasingComparator A decreasing Comparator optimized for LongWritable.
MD5Hash A Writable for MD5 hash values.
MD5Hash.Comparator A WritableComparator optimized for MD5Hash keys.
NullWritable Singleton Writable with no data.
ObjectWritable A polymorphic Writable that writes an instance with it's class name.
Text This class stores text using standard UTF8 encoding.
Text.Comparator A WritableComparator optimized for Text keys.
TwoDArrayWritable A Writable for 2D arrays containing a matrix of instances of a class.
VersionedWritable A base class for Writables that provides version checking.
VIntWritable A WritableComparable for integer values stored in variable-length format.
VLongWritable A WritableComparable for longs in a variable-length format.
WritableComparator A Comparator for WritableComparables.
WritableFactories Factories for non-public writables.
WritableName Utility to permit renaming of Writable implementation classes without invalidiating files that contain their class name.
WritableUtils  
 

Exception Summary
VersionMismatchException Thrown by VersionedWritable.readFields(DataInput) when the version of an object being read does not match the current implementation version as returned by VersionedWritable.getVersion().
 

Package org.apache.hadoop.io Description

Generic i/o code for use when reading and writing data to the network, to databases, and to files.



Copyright © 2007, 2012, Oracle and/or its affiliates. All rights reserved.