public class ContextFallbackStatementSource extends DelegatingStatementSource
StatementSource decorator which will provide a context for statements that don't have a context. Contexts that already have a context will be unchanged.
NO_ESTIMATE| Constructor and Description |
|---|
ContextFallbackStatementSource(StatementSource theStatementSource,
Resource theContext) |
| Modifier and Type | Method and Description |
|---|---|
StatementIterator |
statements()
Return an iterator over the statements contained by this source.
|
List<RDFStream> |
streams()
Converts the statement source into one or more streams.
|
close, getContext, getSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitestimatedCountpublic ContextFallbackStatementSource(StatementSource theStatementSource, Resource theContext)
public List<RDFStream> streams()
streams in interface StatementSourcestreams in class DelegatingStatementSourcepublic StatementIterator statements()
statements in interface StatementSourcestatements in class DelegatingStatementSourceCopyright © 2010-2016 Stardog Union. All Rights Reserved.