All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marklogic.spark.reader.file.RdfStreamReader Maven / Gradle / Ivy

There is a newer version: 2.4.2
Show newest version
/*
 * 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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy