|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- the type of the key in a mapreduce environmentpublic interface KeyGenerator<K extends WritableComparable>
The key generator creates a key for the given document. The advantage is the support for replaceable strategies in key generation.
Implementations must be stateless.
Method Summary | |
---|---|
Map<K,EosDocument> |
createKeysForDocument(EosDocument doc)
Creates a new key. |
Method Detail |
---|
Map<K,EosDocument> createKeysForDocument(EosDocument doc) throws EosException
doc
- the document to create a key for
EosException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |