Package com.complexible.common.rdf
Class ContextFallbackStatementSource
java.lang.Object
com.complexible.common.rdf.DelegatingStatementSource
com.complexible.common.rdf.ContextFallbackStatementSource
- All Implemented Interfaces:
StatementSource,Closeable,AutoCloseable
StatementSource decorator which will provide a context for statements that don't have a context. Contexts that already have a context will be unchanged.
- Since:
- 3.0
- Version:
- 6.0
- Author:
- Evren Sirin
-
Field Summary
Fields inherited from interface com.complexible.common.rdf.StatementSource
NO_ESTIMATE -
Constructor Summary
ConstructorsConstructorDescriptionContextFallbackStatementSource(StatementSource theStatementSource, Resource theContext) -
Method Summary
Modifier and TypeMethodDescriptionReturn an iterator over the statements contained by this source.streams()Converts the statement source into one or more streams.Methods inherited from class com.complexible.common.rdf.DelegatingStatementSource
close, containsVirtual, estimatedCount, getContext, getSource, inMemory
-
Constructor Details
-
ContextFallbackStatementSource
-
-
Method Details
-
streams
Converts the statement source into one or more streams.- Specified by:
streamsin interfaceStatementSource- Overrides:
streamsin classDelegatingStatementSource
-
statements
Return an iterator over the statements contained by this source.- Specified by:
statementsin interfaceStatementSource- Overrides:
statementsin classDelegatingStatementSource- Returns:
- an iteration over the statements.
-