Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • GorSparkRowQueryFunction

        public GorSparkRowQueryFunction​(java.lang.String query)
    • Method Detail

      • 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>