Class ImportResult

java.lang.Object
tech.oxfordsemantic.jrdfox.client.ImportResult

public class ImportResult
extends java.lang.Object
Summarises the result of data import.
  • Constructor Summary

    Constructors 
    Constructor Description
    ImportResult​(boolean importAborted, long numberOfErrors, long numberOfWarnings, long numberOfProcessedFacts, long numberOfChangedFacts, long numberOfProcessedRules, long numberOfChangedRules, long numberOfProcessedAxioms, long numberOfChangedAxioms, Prefixes prefixes)  
  • Method Summary

    Modifier and Type Method Description
    boolean getImportAborted()
    Returns true if the import was aborted before processing all input(s) fully.
    long getNumberOfChangedAxioms()
    Returns the number of axioms that were changed during the import.
    long getNumberOfChangedFacts()
    Returns the number of facts that were changed during the import.
    long getNumberOfChangedRules()
    Returns the number of rules that were changed during the import.
    long getNumberOfErrors()
    Returns the number of errors that were reported during the import.
    long getNumberOfProcessedAxioms()
    Returns the number of axioms that were processed during the import.
    long getNumberOfProcessedFacts()
    Returns the number of facts that were processed during the import.
    long getNumberOfProcessedRules()
    Returns the number of rules that were processed during the import.
    long getNumberOfWarnings()
    Returns the number of warnings that were reported during the import.
    Prefixes getPrefixes()
    Returns the set of prefixes at the end of the import process.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ImportResult

      public ImportResult​(boolean importAborted, long numberOfErrors, long numberOfWarnings, long numberOfProcessedFacts, long numberOfChangedFacts, long numberOfProcessedRules, long numberOfChangedRules, long numberOfProcessedAxioms, long numberOfChangedAxioms, Prefixes prefixes)
  • Method Details

    • getImportAborted

      public boolean getImportAborted()
      Returns true if the import was aborted before processing all input(s) fully.
      Returns:
      true if the import was aborted before processing all input(s) fully
    • getNumberOfErrors

      public long getNumberOfErrors()
      Returns the number of errors that were reported during the import.
      Returns:
      the number of errors reported during the import
    • getNumberOfWarnings

      public long getNumberOfWarnings()
      Returns the number of warnings that were reported during the import.
      Returns:
      the number of warnings reported during the import
    • getNumberOfProcessedFacts

      public long getNumberOfProcessedFacts()
      Returns the number of facts that were processed during the import.
      Returns:
      the number of facts processed
    • getNumberOfChangedFacts

      public long getNumberOfChangedFacts()
      Returns the number of facts that were changed during the import.
      Returns:
      the number of facts changed
    • getNumberOfProcessedRules

      public long getNumberOfProcessedRules()
      Returns the number of rules that were processed during the import.
      Returns:
      the number of rules processed
    • getNumberOfChangedRules

      public long getNumberOfChangedRules()
      Returns the number of rules that were changed during the import.
      Returns:
      the number of rules changed
    • getNumberOfProcessedAxioms

      public long getNumberOfProcessedAxioms()
      Returns the number of axioms that were processed during the import.
      Returns:
      the number of axioms processed
    • getNumberOfChangedAxioms

      public long getNumberOfChangedAxioms()
      Returns the number of axioms that were changed during the import.
      Returns:
      the number of axioms changed
    • getPrefixes

      public Prefixes getPrefixes()
      Returns the set of prefixes at the end of the import process.
      Returns:
      the set of prefixes at the end of the import process