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.
-
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
-