public class NutchIndexAction extends 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(DataInput in) |
void |
write(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(DataInput in) throws IOException
readFields
in interface Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface Writable
IOException
Copyright © 2021 The Apache Software Foundation