Class GorPipeFunction

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.spark.api.java.function.MapPartitionsFunction<org.gorpipe.gor.model.Row,​org.gorpipe.gor.model.Row>

    public class GorPipeFunction
    extends java.lang.Object
    implements org.apache.spark.api.java.function.MapPartitionsFunction<org.gorpipe.gor.model.Row,​org.gorpipe.gor.model.Row>, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GorPipeFunction​(java.lang.String cmd, java.lang.String header)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<org.gorpipe.gor.model.Row> call​(java.util.Iterator<org.gorpipe.gor.model.Row> iterator)  
      • Methods inherited from class java.lang.Object

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

      • GorPipeFunction

        public GorPipeFunction​(java.lang.String cmd,
                               java.lang.String header)
    • Method Detail

      • call

        public java.util.Iterator<org.gorpipe.gor.model.Row> call​(java.util.Iterator<org.gorpipe.gor.model.Row> iterator)
                                                           throws java.lang.Exception
        Specified by:
        call in interface org.apache.spark.api.java.function.MapPartitionsFunction<org.gorpipe.gor.model.Row,​org.gorpipe.gor.model.Row>
        Throws:
        java.lang.Exception