public class SimpleTextPerDocProducer extends PerDocProducerBase
FOR RECREATIONAL USE ONLY
| Modifier and Type | Field and Description |
|---|---|
protected TreeMap<String,DocValues> |
docValues |
| Constructor and Description |
|---|
SimpleTextPerDocProducer(SegmentReadState state,
Comparator<BytesRef> comp,
String segmentSuffix)
Creates a new
SimpleTextPerDocProducer instance and loads all
DocValues instances for this segment and codec. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeInternal(Collection<? extends Closeable> closeables) |
protected Map<String,DocValues> |
docValues() |
protected DocValues |
loadDocValues(int docCount,
Directory dir,
String id,
DocValues.Type type,
IOContext context) |
static String |
readString(int offset,
BytesRef scratch) |
anyDocValuesFields, canLoad, close, docValues, docValuesId, getComparator, getDocValuesType, loadpublic SimpleTextPerDocProducer(SegmentReadState state, Comparator<BytesRef> comp, String segmentSuffix) throws IOException
SimpleTextPerDocProducer instance and loads all
DocValues instances for this segment and codec.IOExceptionprotected Map<String,DocValues> docValues()
docValues in class PerDocProducerBaseprotected DocValues loadDocValues(int docCount, Directory dir, String id, DocValues.Type type, IOContext context) throws IOException
loadDocValues in class PerDocProducerBaseIOExceptionprotected void closeInternal(Collection<? extends Closeable> closeables) throws IOException
closeInternal in class PerDocProducerBaseIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.