Class UpsertUtils
- java.lang.Object
-
- org.apache.pinot.segment.local.upsert.UpsertUtils
-
public class UpsertUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidgetPrimaryKey(IndexSegment segment, List<String> primaryKeyColumns, int docId, PrimaryKey buffer)Reads a primary key from the segment.static Iterator<RecordInfo>getRecordInfoIterator(ImmutableSegment segment, List<String> primaryKeyColumns, String comparisonColumn)Returns an iterator ofRecordInfofrom the segment.
-
-
-
Method Detail
-
getRecordInfoIterator
public static Iterator<RecordInfo> getRecordInfoIterator(ImmutableSegment segment, List<String> primaryKeyColumns, String comparisonColumn)
Returns an iterator ofRecordInfofrom the segment.
-
getPrimaryKey
public static void getPrimaryKey(IndexSegment segment, List<String> primaryKeyColumns, int docId, PrimaryKey buffer)
Reads a primary key from the segment.
-
-