Class DelegatingStatementSource

    • Constructor Detail

      • DelegatingStatementSource

        public DelegatingStatementSource​(StatementSource theSource)
    • Method Detail

      • statements

        public StatementIterator statements()
        Return an iterator over the statements contained by this source.
        Specified by:
        statements in interface StatementSource
        an iteration over the statements.
      • streams

        public java.util.List<RDFStream> streams()
        Converts the statement source into one or more streams.
        Specified by:
        streams in interface StatementSource
      • getContext

        public Resource getContext()
        Return the context these statements belong to. When non-null, this should override the context specified on the statements themselves.
        Specified by:
        getContext in interface StatementSource
        the context of all the statements from this source, or `null` if there is no context (for all of them) or they each have their own context specified.
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface
      • containsVirtual

        public boolean containsVirtual()
        Description copied from interface: StatementSource
        Returns true if the statement source represents, at least partially, the contents of a Virtual Graph
        Specified by:
        containsVirtual in interface StatementSource
      • estimatedCount

        public long estimatedCount()
        Description copied from interface: StatementSource
        Returns the estimated count of statements in this source or NO_ESTIMATE if the estimate is not known.
        Specified by:
        estimatedCount in interface StatementSource
      • inMemory

        public boolean inMemory()
        Description copied from interface: StatementSource
        Returns true if all statements are held in memory
        Specified by:
        inMemory in interface StatementSource
        true if all statements are held in memory