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