Record Class LmdbPageCardinalityEstimator.CardinalityEstimate
java.lang.Object
java.lang.Record
org.eclipse.rdf4j.sail.lmdb.estimate.LmdbPageCardinalityEstimator.CardinalityEstimate
- Enclosing class:
LmdbPageCardinalityEstimator
public static record LmdbPageCardinalityEstimator.CardinalityEstimate(double entries, boolean exact, double hardLowerBound, double hardUpperBound, double effectiveSampleSize, double effectiveSampleFraction, double sampledMassFraction, double relativeStandardError, double disagreement, boolean additionalEvidenceUsed, boolean secondaryEvidenceRecommended)
extends Record
Reliability summary for one logical result, possibly combined across databases or physical layouts.
-
Constructor Summary
ConstructorsConstructorDescriptionCardinalityEstimate(double entries, boolean exact, double hardLowerBound, double hardUpperBound, double effectiveSampleSize, double effectiveSampleFraction, double sampledMassFraction, double relativeStandardError, double disagreement, boolean additionalEvidenceUsed, boolean secondaryEvidenceRecommended) Creates an instance of aCardinalityEstimaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theadditionalEvidenceUsedrecord component.doubleReturns the value of thedisagreementrecord component.doubleReturns the value of theeffectiveSampleFractionrecord component.doubleReturns the value of theeffectiveSampleSizerecord component.doubleentries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanexact()Returns the value of theexactrecord component.exact(double entries) doubleReturns the value of thehardLowerBoundrecord component.doubleReturns the value of thehardUpperBoundrecord component.final inthashCode()Returns a hash code value for this object.doubleReturns the value of therelativeStandardErrorrecord component.doubleReturns the value of thesampledMassFractionrecord component.booleanReturns the value of thesecondaryEvidenceRecommendedrecord component.final StringtoString()Returns a string representation of this record class.unqualified(double entries)
-
Constructor Details
-
CardinalityEstimate
public CardinalityEstimate(double entries, boolean exact, double hardLowerBound, double hardUpperBound, double effectiveSampleSize, double effectiveSampleFraction, double sampledMassFraction, double relativeStandardError, double disagreement, boolean additionalEvidenceUsed, boolean secondaryEvidenceRecommended) Creates an instance of aCardinalityEstimaterecord class.- Parameters:
entries- the value for theentriesrecord componentexact- the value for theexactrecord componenthardLowerBound- the value for thehardLowerBoundrecord componenthardUpperBound- the value for thehardUpperBoundrecord componenteffectiveSampleSize- the value for theeffectiveSampleSizerecord componenteffectiveSampleFraction- the value for theeffectiveSampleFractionrecord componentsampledMassFraction- the value for thesampledMassFractionrecord componentrelativeStandardError- the value for therelativeStandardErrorrecord componentdisagreement- the value for thedisagreementrecord componentadditionalEvidenceUsed- the value for theadditionalEvidenceUsedrecord componentsecondaryEvidenceRecommended- the value for thesecondaryEvidenceRecommendedrecord component
-
-
Method Details
-
exact
-
unqualified
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
entries
public double entries()Returns the value of theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-
exact
public boolean exact()Returns the value of theexactrecord component.- Returns:
- the value of the
exactrecord component
-
hardLowerBound
public double hardLowerBound()Returns the value of thehardLowerBoundrecord component.- Returns:
- the value of the
hardLowerBoundrecord component
-
hardUpperBound
public double hardUpperBound()Returns the value of thehardUpperBoundrecord component.- Returns:
- the value of the
hardUpperBoundrecord component
-
effectiveSampleSize
public double effectiveSampleSize()Returns the value of theeffectiveSampleSizerecord component.- Returns:
- the value of the
effectiveSampleSizerecord component
-
effectiveSampleFraction
public double effectiveSampleFraction()Returns the value of theeffectiveSampleFractionrecord component.- Returns:
- the value of the
effectiveSampleFractionrecord component
-
sampledMassFraction
public double sampledMassFraction()Returns the value of thesampledMassFractionrecord component.- Returns:
- the value of the
sampledMassFractionrecord component
-
relativeStandardError
public double relativeStandardError()Returns the value of therelativeStandardErrorrecord component.- Returns:
- the value of the
relativeStandardErrorrecord component
-
disagreement
public double disagreement()Returns the value of thedisagreementrecord component.- Returns:
- the value of the
disagreementrecord component
-
additionalEvidenceUsed
public boolean additionalEvidenceUsed()Returns the value of theadditionalEvidenceUsedrecord component.- Returns:
- the value of the
additionalEvidenceUsedrecord component
-
secondaryEvidenceRecommended
public boolean secondaryEvidenceRecommended()Returns the value of thesecondaryEvidenceRecommendedrecord component.- Returns:
- the value of the
secondaryEvidenceRecommendedrecord component
-