Class StatementSources.RDFStreamStatementSource

  • All Implemented Interfaces:
    StatementSource,, java.lang.AutoCloseable
    Enclosing class:

    public static class StatementSources.RDFStreamStatementSource
    extends java.lang.Object
    implements StatementSource
    • Constructor Detail

      • RDFStreamStatementSource

        public RDFStreamStatementSource​(RDFStream rdfStream)
      • RDFStreamStatementSource

        public RDFStreamStatementSource​(RDFStream rdfStream,
    • Method Detail

      • getContext

        public Resource getContext()
        Description copied from interface: StatementSource
        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
      • 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