Class GorSpark

java.lang.Object
gorsat.process.GorSpark
All Implemented Interfaces:
Serializable, org.apache.spark.api.java.function.MapPartitionsFunction<org.gorpipe.gor.model.Row,org.gorpipe.gor.model.Row>
Direct Known Subclasses:
GorSparkMaterialize

public class GorSpark extends Object implements org.apache.spark.api.java.function.MapPartitionsFunction<org.gorpipe.gor.model.Row,org.gorpipe.gor.model.Row>
See Also:
  • Constructor Details

    • GorSpark

      public GorSpark(String inputHeader, boolean nor, org.apache.spark.sql.types.StructType schema, String gorcmd, String gorroot)
    • GorSpark

      public GorSpark(String inputHeader, boolean nor, org.apache.spark.sql.types.StructType schema, String gorcmd, String gorroot, String uri, String jobId)
  • Method Details

    • setSchema

      public void setSchema(org.apache.spark.sql.types.StructType st)
    • query

      public gorsat.process.PipeInstance query()
    • call

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