org.galagosearch.core.index
Class ExtentIndexWriter

java.lang.Object
  extended by org.galagosearch.core.index.ExtentIndexWriter
All Implemented Interfaces:
org.galagosearch.core.types.NumberedExtent.ExtentNameNumberBeginOrder.ShreddedProcessor, org.galagosearch.tupleflow.Step

@InputClass(className="org.galagosearch.core.types.NumberedExtent",
            order={"+extentName","+number","+begin"})
public class ExtentIndexWriter
extends java.lang.Object
implements org.galagosearch.core.types.NumberedExtent.ExtentNameNumberBeginOrder.ShreddedProcessor

Author:
trevor

Constructor Summary
ExtentIndexWriter(org.galagosearch.tupleflow.TupleFlowParameters parameters)
          Creates a new instance of ExtentIndexWriter
 
Method Summary
 void close()
           
 void processBegin(int begin)
           
 void processExtentName(byte[] wordBytes)
           
 void processNumber(long document)
           
 void processTuple(int end)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtentIndexWriter

public ExtentIndexWriter(org.galagosearch.tupleflow.TupleFlowParameters parameters)
                  throws java.io.FileNotFoundException,
                         java.io.IOException
Creates a new instance of ExtentIndexWriter

Throws:
java.io.FileNotFoundException
java.io.IOException
Method Detail

processExtentName

public void processExtentName(byte[] wordBytes)
                       throws java.io.IOException
Specified by:
processExtentName in interface org.galagosearch.core.types.NumberedExtent.ExtentNameNumberBeginOrder.ShreddedProcessor
Throws:
java.io.IOException

processNumber

public void processNumber(long document)
Specified by:
processNumber in interface org.galagosearch.core.types.NumberedExtent.ExtentNameNumberBeginOrder.ShreddedProcessor

processBegin

public void processBegin(int begin)
                  throws java.io.IOException
Specified by:
processBegin in interface org.galagosearch.core.types.NumberedExtent.ExtentNameNumberBeginOrder.ShreddedProcessor
Throws:
java.io.IOException

processTuple

public void processTuple(int end)
                  throws java.io.IOException
Specified by:
processTuple in interface org.galagosearch.core.types.NumberedExtent.ExtentNameNumberBeginOrder.ShreddedProcessor
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface org.galagosearch.core.types.NumberedExtent.ExtentNameNumberBeginOrder.ShreddedProcessor
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.