Package org.gorpipe.spark
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
-
-
Constructor Summary
Constructors Constructor Description GorSparkRowQueryFunction(java.lang.String query)
-
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)voidinitAdaptor()-
Methods inherited from class org.gorpipe.gor.function.GorRowQueryFunction
apply, close, getHeader, getHeader, init
-
-
-
-
Method Detail
-
initAdaptor
public void initAdaptor()
- Overrides:
initAdaptorin classorg.gorpipe.gor.function.GorRowQueryFunction
-
call
public java.util.Iterator<org.gorpipe.gor.model.Row> call(org.gorpipe.gor.model.Row row)
- Specified by:
callin interfaceorg.apache.spark.api.java.function.FlatMapFunction<org.gorpipe.gor.model.Row,org.gorpipe.gor.model.Row>
-
-