org.galagosearch.core.index
Class ExtentValueIndexWriter

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

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

Author:
trevor

Constructor Summary
ExtentValueIndexWriter(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, long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtentValueIndexWriter

public ExtentValueIndexWriter(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.NumberedValuedExtent.ExtentNameNumberBeginOrder.ShreddedProcessor
Throws:
java.io.IOException

processNumber

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

processBegin

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

processTuple

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

close

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


Copyright © 2009. All Rights Reserved.