We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! Would it make sense to have a small addition that makes the library usable in Apache Spark? Something along the lines of
package com.atomgraph.etl.json; import org.apache.spark.sql.api.java.UDF1; import org.apache.jena.rdf.model.Model; public class Json2rdfUDF implements UDF1<String, String> { private static final long serialVersionUID = 1L; @Override public StreamRDF call(String jsonString) throws Exception { InputStream bis = new ByteArrayInputStream(jsonString.getBytes()); Reader reader = new BufferedReader(bis); StreamRDF rdfStream = new CollectorStreamRDF(); new JsonStreamRDFWriter(reader, rdfStream, baseURI.toString()).convert(); return rdfStream; } }
The text was updated successfully, but these errors were encountered:
Is it the serialVersionUID that does this? If it doesn't change the rest of the logic then fine.
serialVersionUID
Will you make a PR?
Sorry, something went wrong.
@mielvds ping. What is required here?
No branches or pull requests
Hi! Would it make sense to have a small addition that makes the library usable in Apache Spark? Something along the lines of
The text was updated successfully, but these errors were encountered: