Class Stats

java.lang.Object
org.eclipse.rdf4j.sail.shacl.Stats

@InternalUseOnly public class Stats extends Object
  • Constructor Details Link icon

    • Stats Link icon

      public Stats()
  • Method Details Link icon

    • added Link icon

      public void added(Statement statement)
    • removed Link icon

      public void removed(Statement statement)
    • hasAdded Link icon

      public boolean hasAdded()
      Returns:
      true if statements were effectively added in this transaction
    • hasRemoved Link icon

      public boolean hasRemoved()
      Returns:
      true if statements were effectively removed in this transaction
    • wasEmptyBeforeTransaction Link icon

      public boolean wasEmptyBeforeTransaction()
      Returns:
      true if the sail was empty before this transaction started
    • isEmptyIncludingCurrentTransaction Link icon

      public boolean isEmptyIncludingCurrentTransaction()
      Returns:
      true if the entire sail is empty, even with the current transaction