Package org.apache.nutch.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.
 

Class Summary
ArrayFile A dense file-based mapping from integers to values.
ArrayFile.Reader Provide access to an existing array file.
ArrayFile.Writer Write a new array file.
ArrayWritable A Writable for arrays containing instances of a class.
BooleanWritable A WritableComparable for booleans.
BooleanWritable.Comparator A Comparator optimized for BooleanWritable.
BytesWritable A Writable for byte arrays.
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.
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.
MapFile A file-based map from keys to values.
MapFile.Reader Provide access to an existing map.
MapFile.Writer Writes a new map.
MD5Hash A Writable for MD5 hash values.
MD5Hash.Comparator A WritableComparator optimized for MD5Hash keys.
NullWritable Singleton Writable with no data.
SequenceFile Support for flat files of binary key/value pairs.
SequenceFile.Reader Writes key/value pairs from a sequence-format file.
SequenceFile.Sorter Sorts key/value pairs in a sequence-format file.
SequenceFile.Writer Write key/value pairs to a sequence-format file.
SetFile A file-based set of keys.
SetFile.Reader Provide access to an existing set file.
SetFile.Writer Write a new set file.
TwoDArrayWritable A Writable for 2D arrays containing a matrix of instances of a class.
UTF8 A WritableComparable for strings that uses the UTF8 encoding.
UTF8.Comparator A WritableComparator optimized for UTF8 keys.
VersionedWritable A base class for Writables that provides version checking.
WritableComparator A Comparator for WritableComparables.
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.nutch.io Description

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



Copyright © 2006 The Apache Software Foundation