Interface SparkCollectionUtils


public interface SparkCollectionUtils
  • Method Summary

    Modifier and Type
    Method
    Description
    <K> scala.collection.immutable.Map<K,Object>
    toMapWithIndex(scala.collection.Iterable<K> keys)
    Same function as keys.zipWithIndex.toMap, but has perf gain.
  • Method Details

    • toMapWithIndex

      <K> scala.collection.immutable.Map<K,Object> toMapWithIndex(scala.collection.Iterable<K> keys)
      Same function as keys.zipWithIndex.toMap, but has perf gain.
      Parameters:
      keys - (undocumented)
      Returns:
      (undocumented)