org.apache.nutch.db
Class DistributedWebDBWriter.LinkInstructionWriter
java.lang.Object
org.apache.nutch.db.DistributedWebDBWriter.LinkInstructionWriter
- Enclosing class:
- DistributedWebDBWriter
- public static class DistributedWebDBWriter.LinkInstructionWriter
- extends Object
LinkInstructionWriter very efficiently writes a
LinkInstruction to an EditSectionGroupWriter. Much better
than calling "writer.append(new LinkInstruction())"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistributedWebDBWriter.LinkInstructionWriter
public DistributedWebDBWriter.LinkInstructionWriter()
appendInstructionInfo
public void appendInstructionInfo(EditSectionGroupWriter writer,
Link link,
int opcode,
Writable val)
throws IOException
- Append the LinkInstruction info to the indicated SequenceFile
and keep the LI for later reuse.
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation