Interface SupportsScanPartitions
- All Superinterfaces:
AutoCloseable,Closeable,Loader,Operator,OperatorPipelineV3,Serializable,org.apache.spark.sql.api.java.UDF0<Iterator<org.apache.spark.sql.Row>>
A mix-in interface for
Loader. Dataset loaders can implement this interface to support
transformation of partitioned datasets read by SeqsLab.-
Method Summary
Modifier and TypeMethodDescriptionvoidsetPartition(Iterator<org.apache.spark.sql.Row> partition) Set the partition loaded by SeqsLab for applying Loader's call function.Methods inherited from interface com.atgenomix.seqslab.piper.plugin.api.loader.Loader
init, readSchemaMethods inherited from interface com.atgenomix.seqslab.piper.plugin.api.Operator
getName, getOperatorContextMethods inherited from interface org.apache.spark.sql.api.java.UDF0
call
-
Method Details
-
setPartition
Set the partition loaded by SeqsLab for applying Loader's call function.- Parameters:
partition- Iterator for the partition
-