Class CommitResult


  • public class CommitResult
    extends java.lang.Object
    Represents the approximate net number of triples added or removed in a transaction. This number is not necessarily exact since the storage engine does not check at write time whether the passed triples already exist in the database.
    Since:
    5.0
    Version:
    7.0.1
    Author:
    Evren Sirin
    • Constructor Detail

      • CommitResult

        public CommitResult​(long theAdded,
                            long theRemoved)
    • Method Detail

      • getAdded

        public long getAdded()
        Returns the number of triples added in the transaction
        Returns:
        the number of triples added in the transaction
      • getRemoved

        public long getRemoved()
        Returns the number of triples removed in the transaction
        Returns:
        the number of triples removed in the transaction
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object