|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WritableComparable | |
org.apache.nutch.db | Web database: tracks page fetches and link structure. |
org.apache.nutch.indexer | Maintain Lucene full-text indexes. |
org.apache.nutch.io | Generic i/o code for use when reading and writing data to the network, to databases, and to files. |
org.apache.nutch.mapReduce | A system for scalable, fault-tolerant, distributed computation over large data collections. |
org.apache.nutch.mapReduce.lib | Library of generally useful mappers, reducers, and partitioners. |
org.apache.nutch.searcher | Search API |
org.apache.nutch.tools |
Uses of WritableComparable in org.apache.nutch.db |
Classes in org.apache.nutch.db that implement WritableComparable | |
static class |
DistributedWebDBWriter.LinkInstruction
Holds an instruction over a Link. |
static class |
DistributedWebDBWriter.PageInstruction
PageInstruction holds an operation over a Page. |
class |
Link
This is the field in the Link Database. |
class |
Page
A row in the Page Database. |
static class |
WebDBWriter.LinkInstruction
Holds an instruction over a Link. |
static class |
WebDBWriter.PageInstruction
PageInstruction holds an operation over a Page. |
Methods in org.apache.nutch.db that return WritableComparable | |
abstract WritableComparable |
EditSectionGroupWriter.KeyExtractor.extractInnerKey(WritableComparable key)
|
WritableComparable |
EditSectionGroupWriter.PageURLExtractor.extractInnerKey(WritableComparable key)
|
WritableComparable |
EditSectionGroupWriter.PageMD5Extractor.extractInnerKey(WritableComparable key)
|
WritableComparable |
EditSectionGroupWriter.LinkURLExtractor.extractInnerKey(WritableComparable key)
|
WritableComparable |
EditSectionGroupWriter.LinkMD5Extractor.extractInnerKey(WritableComparable key)
|
Methods in org.apache.nutch.db with parameters of type WritableComparable | |
void |
EditSectionGroupWriter.append(WritableComparable key,
Writable val)
Add an instruction and append it. |
abstract WritableComparable |
EditSectionGroupWriter.KeyExtractor.extractInnerKey(WritableComparable key)
|
WritableComparable |
EditSectionGroupWriter.PageURLExtractor.extractInnerKey(WritableComparable key)
|
WritableComparable |
EditSectionGroupWriter.PageMD5Extractor.extractInnerKey(WritableComparable key)
|
WritableComparable |
EditSectionGroupWriter.LinkURLExtractor.extractInnerKey(WritableComparable key)
|
WritableComparable |
EditSectionGroupWriter.LinkMD5Extractor.extractInnerKey(WritableComparable key)
|
int |
DistributedWebDBWriter.LinkInstruction.UrlComparator.compare(WritableComparable a,
WritableComparable b)
|
int |
WebDBWriter.PageInstruction.UrlComparator.compare(WritableComparable a,
WritableComparable b)
We need to sort by ordered URLs. |
int |
WebDBWriter.LinkInstruction.MD5Comparator.compare(WritableComparable a,
WritableComparable b)
|
int |
WebDBWriter.LinkInstruction.UrlComparator.compare(WritableComparable a,
WritableComparable b)
|
int |
Link.MD5Comparator.compare(WritableComparable a,
WritableComparable b)
|
int |
DistributedWebDBWriter.LinkInstruction.MD5Comparator.compare(WritableComparable a,
WritableComparable b)
|
int |
Link.UrlComparator.compare(WritableComparable a,
WritableComparable b)
|
int |
DistributedWebDBWriter.PageInstruction.UrlComparator.compare(WritableComparable a,
WritableComparable b)
We need to sort by ordered URLs. |
void |
EditSectionWriter.append(WritableComparable key,
Writable val)
Add a key/val pair |
int |
Page.UrlComparator.compare(WritableComparable a,
WritableComparable b)
|
Uses of WritableComparable in org.apache.nutch.indexer |
Classes in org.apache.nutch.indexer that implement WritableComparable | |
static class |
DeleteDuplicates.IndexedDoc
The key used in sorting for duplicates. |
Uses of WritableComparable in org.apache.nutch.io |
Classes in org.apache.nutch.io that implement WritableComparable | |
class |
BooleanWritable
A WritableComparable for booleans. |
class |
FloatWritable
A WritableComparable for floats. |
class |
IntWritable
A WritableComparable for ints. |
class |
LongWritable
A WritableComparable for longs. |
class |
MD5Hash
A Writable for MD5 hash values. |
class |
UTF8
A WritableComparable for strings that uses the UTF8 encoding. |
Methods in org.apache.nutch.io that return WritableComparable | |
WritableComparable |
WritableComparator.newKey()
Construct a new WritableComparable instance. |
WritableComparable |
SetFile.Reader.get(WritableComparable key)
Read the matching key from a set into key . |
Methods in org.apache.nutch.io with parameters of type WritableComparable | |
int |
LongWritable.DecreasingComparator.compare(WritableComparable a,
WritableComparable b)
|
void |
MapFile.Writer.append(WritableComparable key,
Writable val)
Append a key/value pair to the map. |
void |
MapFile.Reader.finalKey(WritableComparable key)
Reads the final key from the file. |
boolean |
MapFile.Reader.seek(WritableComparable key)
Positions the reader at the named key, or if none such exists, at the first entry after the named key. |
boolean |
MapFile.Reader.next(WritableComparable key,
Writable val)
Read the next key/value pair in the map into key and
val . |
Writable |
MapFile.Reader.get(WritableComparable key,
Writable val)
Return the value for the named key, or null if none exists. |
void |
SetFile.Writer.append(WritableComparable key)
Append a key to a set. |
int |
WritableComparator.compare(WritableComparable a,
WritableComparable b)
Compare two WritableComparables. |
boolean |
SetFile.Reader.seek(WritableComparable key)
|
boolean |
SetFile.Reader.next(WritableComparable key)
Read the next key in a set into key . |
WritableComparable |
SetFile.Reader.get(WritableComparable key)
Read the matching key from a set into key . |
Uses of WritableComparable in org.apache.nutch.mapReduce |
Methods in org.apache.nutch.mapReduce with parameters of type WritableComparable | |
int |
Partitioner.getPartition(WritableComparable key,
int numPartitions)
Returns the paritition number for a given key given the total number of partitions. |
void |
Reducer.reduce(WritableComparable key,
Iterator values,
OutputCollector output)
Combines values for a given key. |
void |
Mapper.map(WritableComparable key,
Writable value,
OutputCollector output)
Maps a single input key/value pair into intermediate key/value pairs. |
void |
RecordWriter.write(WritableComparable key,
Writable value)
Writes a key/value pair. |
void |
OutputCollector.collect(WritableComparable key,
Writable value)
Adds a key/value pair to the output. |
Uses of WritableComparable in org.apache.nutch.mapReduce.lib |
Methods in org.apache.nutch.mapReduce.lib with parameters of type WritableComparable | |
void |
IdentityReducer.reduce(WritableComparable key,
Iterator values,
OutputCollector output)
Writes all keys and values directly to output. |
int |
HashPartitioner.getPartition(WritableComparable key,
int numReduceTasks)
Use Object.hashCode() to partition. |
void |
IdentityMapper.map(WritableComparable key,
Writable val,
OutputCollector output)
The identify function. |
void |
LongSumReducer.reduce(WritableComparable key,
Iterator values,
OutputCollector output)
|
void |
InverseMapper.map(WritableComparable key,
Writable value,
OutputCollector output)
The inverse function. |
void |
RegexMapper.map(WritableComparable key,
Writable value,
OutputCollector output)
|
void |
TokenCountMapper.map(WritableComparable key,
Writable value,
OutputCollector output)
|
Uses of WritableComparable in org.apache.nutch.searcher |
Methods in org.apache.nutch.searcher that return WritableComparable | |
WritableComparable |
Hit.getSortValue()
Return the value of the field that hits are sorted on. |
Constructors in org.apache.nutch.searcher with parameters of type WritableComparable | |
Hit(int indexNo,
int indexDocNo,
WritableComparable sortValue,
String dedupValue)
|
|
Hit(int indexDocNo,
WritableComparable sortValue,
String dedupValue)
|
Uses of WritableComparable in org.apache.nutch.tools |
Classes in org.apache.nutch.tools that implement WritableComparable | |
static class |
FetchListTool.SortableScore
SortableScore is just a WritableComparable Float! |
static class |
UpdateSegmentsFromDb.SegmentPage
Used internally only. |
Methods in org.apache.nutch.tools with parameters of type WritableComparable | |
int |
UpdateSegmentsFromDb.BySegmentComparator.compare(WritableComparable wc1,
WritableComparable wc2)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |