Class RealtimeLuceneIndexRefreshState.RealtimeLuceneReaders
- java.lang.Object
-
- org.apache.pinot.segment.local.realtime.impl.invertedindex.RealtimeLuceneIndexRefreshState.RealtimeLuceneReaders
-
- Enclosing class:
- RealtimeLuceneIndexRefreshState
public static class RealtimeLuceneIndexRefreshState.RealtimeLuceneReaders extends Object
Since the text index is maintained per TEXT column (similar to other Pinot indexes), there could be multiple lucene indexes for a given segment and therefore there can be multiple realtime lucene readers (one for each index/column) for the particular realtime segment.
-
-
Constructor Summary
Constructors Constructor Description RealtimeLuceneReaders(String segmentName)
-
Method Summary
Modifier and Type Method Description voidaddReader(RealtimeLuceneTextIndex realtimeLuceneTextIndexReader)voidclearRealtimeReaderList()LockgetLock()List<RealtimeLuceneTextIndex>getRealtimeLuceneReaders()StringgetSegmentName()voidsetSegmentDestroyed()
-
-
-
Constructor Detail
-
RealtimeLuceneReaders
public RealtimeLuceneReaders(String segmentName)
-
-
Method Detail
-
addReader
public void addReader(RealtimeLuceneTextIndex realtimeLuceneTextIndexReader)
-
setSegmentDestroyed
public void setSegmentDestroyed()
-
getLock
public Lock getLock()
-
getSegmentName
public String getSegmentName()
-
getRealtimeLuceneReaders
public List<RealtimeLuceneTextIndex> getRealtimeLuceneReaders()
-
clearRealtimeReaderList
public void clearRealtimeReaderList()
-
-