Package org.apache.nutch.indexer
Class NutchIndexAction
java.lang.Object
org.apache.nutch.indexer.NutchIndexAction
- All Implemented Interfaces:
Writable
A
NutchIndexAction is the new unit of indexing holding the document
and action information.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ADD
public static final byte ADD- See Also:
-
DELETE
public static final byte DELETE- See Also:
-
UPDATE
public static final byte UPDATE- See Also:
-
doc
-
action
public byte action
-
-
Constructor Details
-
NutchIndexAction
protected NutchIndexAction() -
NutchIndexAction
-
-
Method Details
-
readFields
- Specified by:
readFieldsin interfaceWritable- Throws:
IOException
-
write
- Specified by:
writein interfaceWritable- Throws:
IOException
-