org.galagosearch.core.parse
Class IndexReaderSplitParser

java.lang.Object
  extended by org.galagosearch.core.parse.IndexReaderSplitParser
All Implemented Interfaces:
DocumentStreamParser

public class IndexReaderSplitParser
extends java.lang.Object
implements DocumentStreamParser

Reads Document data from an index file. Typically you'd use this parser by including UniversalParser in a TupleFlow Job.

Author:
trevor

Constructor Summary
IndexReaderSplitParser(org.galagosearch.core.types.DocumentSplit split)
           
 
Method Summary
 Document nextDocument()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexReaderSplitParser

public IndexReaderSplitParser(org.galagosearch.core.types.DocumentSplit split)
                       throws java.io.FileNotFoundException,
                              java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException
Method Detail

nextDocument

public Document nextDocument()
                      throws java.io.IOException
Specified by:
nextDocument in interface DocumentStreamParser
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.