Class NativeMutableTextIndex
- java.lang.Object
-
- org.apache.pinot.segment.local.realtime.impl.invertedindex.NativeMutableTextIndex
-
- All Implemented Interfaces:
Closeable,AutoCloseable,IndexReader,MutableIndex,MutableTextIndex,TextIndexReader
public class NativeMutableTextIndex extends Object implements MutableTextIndex
-
-
Constructor Summary
Constructors Constructor Description NativeMutableTextIndex(String column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(String document)voidadd(String[] documents)voidclose()org.roaringbitmap.buffer.ImmutableRoaringBitmapgetDictIds(String searchQuery)org.roaringbitmap.buffer.MutableRoaringBitmapgetDocIds(String searchQuery)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.pinot.segment.spi.index.mutable.MutableTextIndex
add, add
-
-
-
-
Constructor Detail
-
NativeMutableTextIndex
public NativeMutableTextIndex(String column)
-
-
Method Detail
-
add
public void add(String document)
- Specified by:
addin interfaceMutableTextIndex
-
add
public void add(String[] documents)
- Specified by:
addin interfaceMutableTextIndex
-
getDictIds
public org.roaringbitmap.buffer.ImmutableRoaringBitmap getDictIds(String searchQuery)
- Specified by:
getDictIdsin interfaceTextIndexReader
-
getDocIds
public org.roaringbitmap.buffer.MutableRoaringBitmap getDocIds(String searchQuery)
- Specified by:
getDocIdsin interfaceTextIndexReader
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-