Class MutableJsonIndexImpl
- java.lang.Object
-
- org.apache.pinot.segment.local.realtime.impl.json.MutableJsonIndexImpl
-
- All Implemented Interfaces:
Closeable,AutoCloseable,MutableJsonIndex,JsonIndexReader
public class MutableJsonIndexImpl extends Object implements MutableJsonIndex
Json index for mutable segment.
-
-
Constructor Summary
Constructors Constructor Description MutableJsonIndexImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(String jsonString)Adds the next json value.voidclose()org.roaringbitmap.buffer.MutableRoaringBitmapgetMatchingDocIds(String filterString)
-
-
-
Method Detail
-
add
public void add(String jsonString) throws IOException
Adds the next json value.- Specified by:
addin interfaceMutableJsonIndex- Throws:
IOException
-
getMatchingDocIds
public org.roaringbitmap.buffer.MutableRoaringBitmap getMatchingDocIds(String filterString)
- Specified by:
getMatchingDocIdsin interfaceJsonIndexReader
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-