Class RowSetStreamWriterUtils
java.lang.Object
net.sansa_stack.hadoop.output.jena.base.RowSetStreamWriterUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleaninit(org.aksw.jenax.io.rowset.core.RowSetStreamWriter writer, FragmentOutputSpec fragmentOutputSpec) Based on fragmentOutputSpec does the following: If this is the first partition then writes the header.
-
Constructor Details
-
RowSetStreamWriterUtils
public RowSetStreamWriterUtils()
-
-
Method Details
-
init
public static boolean init(org.aksw.jenax.io.rowset.core.RowSetStreamWriter writer, FragmentOutputSpec fragmentOutputSpec) throws IOException Based on fragmentOutputSpec does the following:- If this is the first partition then writes the header. Returns false to indicate that no previous binding exists
- In any other case simply returns true.
- Returns:
- Whether a previous binding is assumed to exist
- Throws:
IOException
-