hudi-client/src/main/java/org/apache/hudi/index/simple/HoodieGlobalSimpleIndex.java
/**
   * Fetch record locations for passed in {@link HoodieKey}s.
   *
   * @param jsc         instance of {@link JavaSparkContext} to use
   * @param hoodieTable instance of {@link HoodieTable} of interest
   * @param parallelism parallelism to use
   * @return {@link JavaPairRDD} of {@link HoodieKey} and {@link HoodieRecordLocation}
   */
Fetch record locations for passed in  HoodieKeys.
@param jsc         instance of  JavaSparkContext to use
@param hoodieTable instance of  HoodieTable of interest
@param parallelism parallelism to use
@return  JavaPairRDD of  HoodieKey and  HoodieRecordLocation
Fetch record locations for passed in HoodieKeys . @param jsc instance of JavaSparkContext to use @param hoodieTable instance of HoodieTable of interest @param parallelism parallelism to use @return JavaPairRDD of HoodieKey and HoodieRecordLocation
protected JavaPairRDD<HoodieKey, HoodieRecordLocation> fetchAllRecordLocations(JavaSparkContext jsc,
                                                                                 HoodieTable hoodieTable,
                                                                                 int parallelism) {
    List<Pair<String, HoodieBaseFile>> latestBaseFiles = getAllBaseFilesInTable(jsc, hoodieTable);
    return fetchRecordLocations(jsc, hoodieTable, parallelism, latestBaseFiles);
  }
protected JavaPairRDD < HoodieKey , HoodieRecordLocation > fetchAllRecordLocations ( JavaSparkContext jsc , HoodieTable hoodieTable , int parallelism ) { List < Pair < String , HoodieBaseFile > > latestBaseFiles = getAllBaseFilesInTable ( jsc , hoodieTable ) ; return fetchRecordLocations ( jsc , hoodieTable , parallelism , latestBaseFiles ) ; }
Fetch record locations for passed in {@link HoodieKey}s.
 @param jsc         instance of {@link JavaSparkContext} to use
 @param hoodieTable instance of {@link HoodieTable} of interest
 @param parallelism parallelism to use
 @return {@link JavaPairRDD} of {@link HoodieKey} and {@link HoodieRecordLocation}
Fetch record locations for passed in { @link HoodieKey } s . @param jsc instance of { @link JavaSparkContext } to use @param hoodieTable instance of { @link HoodieTable } of interest @param parallelism parallelism to use @return { @link JavaPairRDD } of { @link HoodieKey } and { @link HoodieRecordLocation }