public class DelegatingStatementSource extends Object implements StatementSource
Implementation of a StatementSource which can be used as the base for StatementSource
decorator implementations.
NO_ESTIMATE| Constructor and Description |
|---|
DelegatingStatementSource(StatementSource theSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Resource |
getContext()
Return the context these statements belong to.
|
protected StatementSource |
getSource() |
StatementIterator |
statements()
Return an iterator over the statements contained by this source.
|
List<RDFStream> |
streams()
Converts the statement source into one or more streams.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitestimatedCountpublic DelegatingStatementSource(StatementSource theSource)
protected StatementSource getSource()
public StatementIterator statements()
statements in interface StatementSourcepublic List<RDFStream> streams()
streams in interface StatementSourcepublic Resource getContext()
getContext in interface StatementSourcepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.