Package org.apache.lucene.index
Class PayloadProcessorProvider.ReaderPayloadProcessor
- java.lang.Object
-
- org.apache.lucene.index.PayloadProcessorProvider.ReaderPayloadProcessor
-
- Direct Known Subclasses:
PayloadProcessorProvider.DirPayloadProcessor
- Enclosing class:
- PayloadProcessorProvider
public abstract static class PayloadProcessorProvider.ReaderPayloadProcessor extends Object
Returns aPayloadProcessorProvider.PayloadProcessor
for a givenTerm
which allows processing the payloads of different terms differently. If you intent to process all your payloads the same way, then you can ignore the given term.NOTE: if you protect your
PayloadProcessorProvider.ReaderPayloadProcessor
from concurrency issues, then you shouldn't worry about any such issues whenPayloadProcessorProvider.PayloadProcessor
s are requested for different terms.
-
-
Constructor Summary
Constructors Constructor Description ReaderPayloadProcessor()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract PayloadProcessorProvider.PayloadProcessor
getProcessor(Term term)
Returns aPayloadProcessorProvider.PayloadProcessor
for the given term.
-
-
-
Method Detail
-
getProcessor
public abstract PayloadProcessorProvider.PayloadProcessor getProcessor(Term term) throws IOException
Returns aPayloadProcessorProvider.PayloadProcessor
for the given term.- Throws:
IOException
-
-