Package com.complexible.common.rdf
Class EmbeddedStatementSource
java.lang.Object
com.complexible.common.rdf.DelegatingStatementSource
com.complexible.common.rdf.EmbeddedStatementSource
- All Implemented Interfaces:
StatementSource,Closeable,AutoCloseable
A
StatementSource that unpacks embedded statements and includes them in the iteration.
A statement source exposes its statements in two ways: explicitly through StatementSource.statements() and through a parser
(StatementSource.streams(), so this class taps into both.- Since:
- 7.1
- Version:
- 7.1
- Author:
- Pavel Klinov
-
Field Summary
Fields inherited from interface com.complexible.common.rdf.StatementSource
NO_ESTIMATE -
Constructor Summary
Constructors -
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, isReusable
-
Constructor Details
-
EmbeddedStatementSource
-
-
Method Details
-
streams
Description copied from class:DelegatingStatementSourceConverts the statement source into one or more streams.- Specified by:
streamsin interfaceStatementSource- Overrides:
streamsin classDelegatingStatementSource
-
statements
Description copied from class:DelegatingStatementSourceReturn an iterator over the statements contained by this source.- Specified by:
statementsin interfaceStatementSource- Overrides:
statementsin classDelegatingStatementSource- Returns:
- an iteration over the statements.
-