Class StatementPropertiesSource

java.lang.Object
com.complexible.common.rdf.impl.AbstractStatementSource
com.complexible.common.rdf.StatementPropertiesSource
All Implemented Interfaces:
StatementSource, com.complexible.stardog.index.QuadSource, Closeable, AutoCloseable

public class StatementPropertiesSource extends com.complexible.common.rdf.impl.AbstractStatementSource implements com.complexible.stardog.index.QuadSource
Represents edge-properties of all statements in the original StatementSource
Since:
7.1
Author:
Pavel Klinov
  • Constructor Details

    • StatementPropertiesSource

      public StatementPropertiesSource(StatementSource theSource, com.complexible.stardog.index.IndexConnection theIdxConnection, CancelCheck theCheck)
  • Method Details

    • statements

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

      public CloseableIterator<com.complexible.stardog.index.Quad> iterator()
      Specified by:
      iterator in interface com.complexible.stardog.index.QuadSource
    • 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
    • isReusable

      public boolean isReusable()
      Description copied from interface: StatementSource
      Returns true if this source can be iterated multiple times with identical results. Sources backed by one-shot iterators or input streams are not reusable.
      Specified by:
      isReusable in interface com.complexible.stardog.index.QuadSource
      Specified by:
      isReusable in interface StatementSource
      Returns:
      true if StatementSource.statements() and StatementSource.streams() can be called multiple times