Class UpsertUtils.PrimaryKeyReader
- java.lang.Object
-
- org.apache.pinot.segment.local.upsert.UpsertUtils.PrimaryKeyReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- UpsertUtils
public static class UpsertUtils.PrimaryKeyReader extends Object implements Closeable
-
-
Field Summary
Fields Modifier and Type Field Description List<PinotSegmentColumnReader>_primaryKeyColumnReaders
-
Constructor Summary
Constructors Constructor Description PrimaryKeyReader(IndexSegment segment, List<String> primaryKeyColumns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()PrimaryKeygetPrimaryKey(int docId)voidgetPrimaryKey(int docId, PrimaryKey buffer)
-
-
-
Field Detail
-
_primaryKeyColumnReaders
public final List<PinotSegmentColumnReader> _primaryKeyColumnReaders
-
-
Constructor Detail
-
PrimaryKeyReader
public PrimaryKeyReader(IndexSegment segment, List<String> primaryKeyColumns)
-
-
Method Detail
-
getPrimaryKey
public PrimaryKey getPrimaryKey(int docId)
-
getPrimaryKey
public void getPrimaryKey(int docId, PrimaryKey buffer)
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-