org.galagosearch.core.index
Class PositionIndexWriter
java.lang.Object
org.galagosearch.core.index.PositionIndexWriter
- All Implemented Interfaces:
- org.galagosearch.core.types.NumberWordPosition.WordDocumentPositionOrder.ShreddedProcessor, org.galagosearch.tupleflow.Step
@InputClass(className="org.galagosearch.core.types.NumberWordPosition",
order={"+word","+document","+position"})
public class PositionIndexWriter- extends java.lang.Object
- implements org.galagosearch.core.types.NumberWordPosition.WordDocumentPositionOrder.ShreddedProcessor
- Author:
- trevor
|
Constructor Summary |
PositionIndexWriter(org.galagosearch.tupleflow.TupleFlowParameters parameters)
Creates a new instance of BinnedListWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PositionIndexWriter
public PositionIndexWriter(org.galagosearch.tupleflow.TupleFlowParameters parameters)
throws java.io.FileNotFoundException,
java.io.IOException
- Creates a new instance of BinnedListWriter
- Throws:
java.io.FileNotFoundException
java.io.IOException
processWord
public void processWord(byte[] wordBytes)
throws java.io.IOException
- Specified by:
processWord in interface org.galagosearch.core.types.NumberWordPosition.WordDocumentPositionOrder.ShreddedProcessor
- Throws:
java.io.IOException
processDocument
public void processDocument(int document)
throws java.io.IOException
- Specified by:
processDocument in interface org.galagosearch.core.types.NumberWordPosition.WordDocumentPositionOrder.ShreddedProcessor
- Throws:
java.io.IOException
processPosition
public void processPosition(int position)
throws java.io.IOException
- Specified by:
processPosition in interface org.galagosearch.core.types.NumberWordPosition.WordDocumentPositionOrder.ShreddedProcessor
- Throws:
java.io.IOException
processTuple
public void processTuple()
- Specified by:
processTuple in interface org.galagosearch.core.types.NumberWordPosition.WordDocumentPositionOrder.ShreddedProcessor
close
public void close()
throws java.io.IOException
- Specified by:
close in interface org.galagosearch.core.types.NumberWordPosition.WordDocumentPositionOrder.ShreddedProcessor
- Throws:
java.io.IOException
documentCount
public long documentCount()
maximumDocumentCount
public long maximumDocumentCount()
verify
public static void verify(org.galagosearch.tupleflow.TupleFlowParameters parameters,
org.galagosearch.tupleflow.execution.ErrorHandler handler)
Copyright © 2009. All Rights Reserved.