Uses of Interface
org.apache.hadoop.io.WritableComparable
Packages that use WritableComparable
Package
Description
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
-
Uses of WritableComparable in org.apache.hadoop.io
Classes in org.apache.hadoop.io with type parameters of type WritableComparableModifier and TypeClassDescriptionclassSortedMapWritable<K extends WritableComparable<? super K>>A Writable SortedMap.Classes in org.apache.hadoop.io that implement WritableComparableModifier and TypeClassDescriptionclassA WritableComparable for booleans.classA byte sequence that is usable as a key or value.classA WritableComparable for a single byte.classWritable for Double values.classA WritableComparable for floats.classA WritableComparable for ints.classA WritableComparable for longs.classA Writable for MD5 hash values.classSingleton Writable with no data.classA WritableComparable for shorts.classThis class stores text using standard UTF8 encoding.classDeprecated.replaced by TextclassA WritableComparable for integer values stored in variable-length format.classA WritableComparable for longs in a variable-length format.Methods in org.apache.hadoop.io that return WritableComparableModifier and TypeMethodDescriptionSetFile.Reader.get(WritableComparable key) Read the matching key from a set intokey.MapFile.Reader.getClosest(WritableComparable key, Writable val) Finds the record that is the closest match to the specified key.MapFile.Reader.getClosest(WritableComparable key, Writable val, boolean before) Finds the record that is the closest match to the specified key.MapFile.Reader.midKey()Get the key at approximately the middle of the file.WritableComparator.newKey()Construct a newWritableComparableinstance.Methods in org.apache.hadoop.io that return types with arguments of type WritableComparableModifier and TypeMethodDescriptionClass<? extends WritableComparable>WritableComparator.getKeyClass()Returns the WritableComparable implementation class.Methods in org.apache.hadoop.io with parameters of type WritableComparableModifier and TypeMethodDescriptionvoidBloomMapFile.Writer.append(WritableComparable key, Writable val) voidMapFile.Writer.append(WritableComparable key, Writable val) Append a key/value pair to the map.voidSetFile.Writer.append(WritableComparable key) Append a key to a set.intLongWritable.DecreasingComparator.compare(WritableComparable a, WritableComparable b) intWritableComparator.compare(WritableComparable a, WritableComparable b) Compare two WritableComparables.voidMapFile.Reader.finalKey(WritableComparable key) Reads the final key from the file.BloomMapFile.Reader.get(WritableComparable key, Writable val) Fast version of theMapFile.Reader.get(WritableComparable, Writable)method.MapFile.Reader.get(WritableComparable key, Writable val) Return the value for the named key, or null if none exists.SetFile.Reader.get(WritableComparable key) Read the matching key from a set intokey.MapFile.Reader.getClosest(WritableComparable key, Writable val) Finds the record that is the closest match to the specified key.MapFile.Reader.getClosest(WritableComparable key, Writable val, boolean before) Finds the record that is the closest match to the specified key.booleanMapFile.Reader.next(WritableComparable key, Writable val) Read the next key/value pair in the map intokeyandval.booleanSetFile.Reader.next(WritableComparable key) Read the next key in a set intokey.booleanBloomMapFile.Reader.probablyHasKey(WritableComparable key) Checks if this MapFile has the indicated key.booleanMapFile.Reader.seek(WritableComparable key) Positions the reader at the named key, or if none such exists, at the first entry after the named key.booleanSetFile.Reader.seek(WritableComparable key) Method parameters in org.apache.hadoop.io with type arguments of type WritableComparableModifier and TypeMethodDescriptionstatic WritableComparatorWritableComparator.get(Class<? extends WritableComparable> c) For backwards compatibility.static WritableComparatorWritableComparator.get(Class<? extends WritableComparable> c, Configuration conf) Get a comparator for aWritableComparableimplementation.static MapFile.Writer.OptionMapFile.Writer.keyClass(Class<? extends WritableComparable> value) Constructor parameters in org.apache.hadoop.io with type arguments of type WritableComparableModifierConstructorDescriptionSorter(FileSystem fs, Class<? extends WritableComparable> keyClass, Class valClass, Configuration conf) Sort and merge files containing the named classes.protectedWritableComparator(Class<? extends WritableComparable> keyClass) Construct for aWritableComparableimplementation.protectedWritableComparator(Class<? extends WritableComparable> keyClass, boolean createInstances) protectedWritableComparator(Class<? extends WritableComparable> keyClass, Configuration conf, boolean createInstances) Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass) Deprecated.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class<? extends Writable> valClass, SequenceFile.CompressionType compress, CompressionCodec codec, Progressable progress) Deprecated.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress) Deprecated.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress, Progressable progress) Deprecated.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass) Deprecated.Use Writer(Configuration, Path, Option...) instead.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress) Deprecated.Use Writer(Configuration, Path, Option...) instead.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress, CompressionCodec codec, Progressable progress) Deprecated.Use Writer(Configuration, Path, Option...) instead.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress, Progressable progress) Deprecated.Use Writer(Configuration, Path, Option...) instead.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, SequenceFile.CompressionType compress) Create a set naming the element class and compression type.Writer(FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass) Deprecated.pass a Configuration too -
Uses of WritableComparable in org.apache.hadoop.util.bloom
Classes in org.apache.hadoop.util.bloom that implement WritableComparableModifier and TypeClassDescriptionclassThe general behavior of a key that must be stored in a filter.