com.marklogic.spark.reader.file.RdfStreamReader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marklogic-spark-connector Show documentation
Show all versions of marklogic-spark-connector Show documentation
Spark 3 connector for MarkLogic
/*
* Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
*/
package com.marklogic.spark.reader.file;
import org.apache.spark.sql.catalyst.InternalRow;
import java.io.IOException;
/**
* Allows the logic for reading Jena quads and triples as Spark rows to be easily reused without being tied to a
* specific Spark partition reader.
*/
public interface RdfStreamReader {
boolean hasNext() throws IOException;
InternalRow get();
}