Class FunctionCompiler.KeyExtractor<T,​K>

    • Constructor Summary

      Constructors 
      Constructor Description
      KeyExtractor​(java.util.function.Function<T,​K> impl)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      scala.Tuple2<K,​T> call​(T t)  
      java.lang.Object getWayangFunction()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyExtractor

        public KeyExtractor​(java.util.function.Function<T,​K> impl)
    • Method Detail

      • call

        public scala.Tuple2<K,​T> call​(T t)
                                     throws java.lang.Exception
        Specified by:
        call in interface org.apache.spark.api.java.function.PairFunction<T,​K,​T>
        Throws:
        java.lang.Exception