Class GorSparkRowQueryFunction

java.lang.Object
org.gorpipe.gor.function.GorRowQueryFunction
org.gorpipe.spark.GorSparkRowQueryFunction
All Implemented Interfaces:
java.io.Serializable, java.lang.AutoCloseable, java.util.function.Function<org.gorpipe.gor.model.Row,​java.util.stream.Stream<org.gorpipe.gor.model.Row>>, org.apache.spark.api.java.function.FlatMapFunction<org.gorpipe.gor.model.Row,​org.gorpipe.gor.model.Row>

public class GorSparkRowQueryFunction
extends org.gorpipe.gor.function.GorRowQueryFunction
implements org.apache.spark.api.java.function.FlatMapFunction<org.gorpipe.gor.model.Row,​org.gorpipe.gor.model.Row>
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class org.gorpipe.gor.function.GorRowQueryFunction

    bufferedPipeStep, header, lra
  • Constructor Summary

    Constructors 
    Constructor Description
    GorSparkRowQueryFunction​(java.lang.String query)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Iterator<org.gorpipe.gor.model.Row> call​(org.gorpipe.gor.model.Row row)  
    void initAdaptor()  

    Methods inherited from class org.gorpipe.gor.function.GorRowQueryFunction

    apply, close, getHeader, getHeader, init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Constructor Details

  • Method Details

    • initAdaptor

      public void initAdaptor()
      Overrides:
      initAdaptor in class org.gorpipe.gor.function.GorRowQueryFunction
    • call

      public java.util.Iterator<org.gorpipe.gor.model.Row> call​(org.gorpipe.gor.model.Row row)
      Specified by:
      call in interface org.apache.spark.api.java.function.FlatMapFunction<org.gorpipe.gor.model.Row,​org.gorpipe.gor.model.Row>