Class GorSparkRowFilterFunction<T extends org.gorpipe.gor.model.Row>

java.lang.Object
org.gorpipe.gor.function.GorRowFilterFunction<org.gorpipe.gor.model.Row>
org.gorpipe.spark.GorSparkRowFilterFunction<T>
All Implemented Interfaces:
Serializable, Predicate<org.gorpipe.gor.model.Row>, org.apache.spark.api.java.function.FilterFunction<T>, scala.Function1<org.gorpipe.gor.model.Row,scala.Boolean>

public class GorSparkRowFilterFunction<T extends org.gorpipe.gor.model.Row> extends org.gorpipe.gor.function.GorRowFilterFunction<org.gorpipe.gor.model.Row> implements org.apache.spark.api.java.function.FilterFunction<T>
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    GorSparkRowFilterFunction(String gorwhere, String[] header, String[] types)
     
    GorSparkRowFilterFunction(String gorwhere, org.apache.spark.sql.types.StructType schema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    call(T value)
     

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

    apply, test

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface scala.Function1

    andThen, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, compose, toString

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Constructor Details

    • GorSparkRowFilterFunction

      public GorSparkRowFilterFunction(String gorwhere, String[] header, String[] types)
    • GorSparkRowFilterFunction

      public GorSparkRowFilterFunction(String gorwhere, org.apache.spark.sql.types.StructType schema)
  • Method Details

    • call

      public boolean call(T value)
      Specified by:
      call in interface org.apache.spark.api.java.function.FilterFunction<T extends org.gorpipe.gor.model.Row>