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 |
Constructor and Description |
---|
NutchIndexAction(NutchDocument doc,
byte action) |
public static final byte ADD
public static final byte DELETE
public static final byte UPDATE
public NutchDocument doc
public byte action
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 © 2015 The Apache Software Foundation