Class StatementResult

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

public class StatementResult
extends java.lang.Object
Summaries the result of statement evaluation.
  • Constructor Summary

    Constructors 
    Constructor Description
    StatementResult​(long numberOfTuples, long totalNumberOfTuples)  
  • Method Summary

    Modifier and Type Method Description
    long getNumberOfTuples()
    Returns the number of individual answers that the query produced: answers returned with multiplicity more than one are counted just once.
    long getTotalNumberOfTuples()
    Returns the total number of answers to a query and is equal to the sum of the multiplicities of all answers.

    Methods inherited from class java.lang.Object

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

    • StatementResult

      public StatementResult​(long numberOfTuples, long totalNumberOfTuples)
  • Method Details

    • getNumberOfTuples

      public long getNumberOfTuples()
      Returns the number of individual answers that the query produced: answers returned with multiplicity more than one are counted just once.
      Returns:
      the number of individual answers to a query
    • getTotalNumberOfTuples

      public long getTotalNumberOfTuples()
      Returns the total number of answers to a query and is equal to the sum of the multiplicities of all answers.
      Returns:
      the total number of answers to a query