public class SolutionSetStreamEncoder extends Object
SolutionSetStreamDecoder| Constructor and Description |
|---|
SolutionSetStreamEncoder(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(DataOutputStream os,
ICloseableIterator<IBindingSet[]> src2)
Encode solutions onto the output stream.
|
long |
getSolutionCount()
#of solutions written.
|
ISolutionSetStats |
getStats()
The statistics for the encoded solutions (set when done).
|
public SolutionSetStreamEncoder(String name)
public long getSolutionCount()
public ISolutionSetStats getStats()
public void encode(DataOutputStream os, ICloseableIterator<IBindingSet[]> src2) throws IOException
os - The output stream.src2 - The solutions to be encoded.IOExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.