public class NutchIndexAction extends java.lang.Object implements Writable
NutchIndexAction
is the new unit of indexing holding the document
and action information.Modifier and Type | Field and Description |
---|---|
byte |
action |
static byte |
ADD |
static byte |
DELETE |
NutchDocument |
doc |
static byte |
UPDATE |
Modifier | Constructor and Description |
---|---|
protected |
NutchIndexAction() |
|
NutchIndexAction(NutchDocument doc,
byte action) |
Modifier and Type | Method and Description |
---|---|
void |
readFields(java.io.DataInput in) |
void |
write(java.io.DataOutput out) |
public static final byte ADD
public static final byte DELETE
public static final byte UPDATE
public NutchDocument doc
public byte action
protected NutchIndexAction()
public NutchIndexAction(NutchDocument doc, byte action)
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface Writable
java.io.IOException
Copyright © 2018 The Apache Software Foundation