org.galagosearch.core.index
Class ExtentIndexWriter
java.lang.Object
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.