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 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 a CardinalityEstimate record class.
      Parameters:
      entries - the value for the entries record component
      exact - the value for the exact record component
      hardLowerBound - the value for the hardLowerBound record component
      hardUpperBound - the value for the hardUpperBound record component
      effectiveSampleSize - the value for the effectiveSampleSize record component
      effectiveSampleFraction - the value for the effectiveSampleFraction record component
      sampledMassFraction - the value for the sampledMassFraction record component
      relativeStandardError - the value for the relativeStandardError record component
      disagreement - the value for the disagreement record component
      additionalEvidenceUsed - the value for the additionalEvidenceUsed record component
      secondaryEvidenceRecommended - the value for the secondaryEvidenceRecommended record component
  • Method Details

    • exact

      public static LmdbPageCardinalityEstimator.CardinalityEstimate exact(double entries)
    • unqualified

      public static LmdbPageCardinalityEstimator.CardinalityEstimate unqualified(double entries)
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • entries

      public double entries()
      Returns the value of the entries record component.
      Returns:
      the value of the entries record component
    • exact

      public boolean exact()
      Returns the value of the exact record component.
      Returns:
      the value of the exact record component
    • hardLowerBound

      public double hardLowerBound()
      Returns the value of the hardLowerBound record component.
      Returns:
      the value of the hardLowerBound record component
    • hardUpperBound

      public double hardUpperBound()
      Returns the value of the hardUpperBound record component.
      Returns:
      the value of the hardUpperBound record component
    • effectiveSampleSize

      public double effectiveSampleSize()
      Returns the value of the effectiveSampleSize record component.
      Returns:
      the value of the effectiveSampleSize record component
    • effectiveSampleFraction

      public double effectiveSampleFraction()
      Returns the value of the effectiveSampleFraction record component.
      Returns:
      the value of the effectiveSampleFraction record component
    • sampledMassFraction

      public double sampledMassFraction()
      Returns the value of the sampledMassFraction record component.
      Returns:
      the value of the sampledMassFraction record component
    • relativeStandardError

      public double relativeStandardError()
      Returns the value of the relativeStandardError record component.
      Returns:
      the value of the relativeStandardError record component
    • disagreement

      public double disagreement()
      Returns the value of the disagreement record component.
      Returns:
      the value of the disagreement record component
    • additionalEvidenceUsed

      public boolean additionalEvidenceUsed()
      Returns the value of the additionalEvidenceUsed record component.
      Returns:
      the value of the additionalEvidenceUsed record component
    • secondaryEvidenceRecommended

      public boolean secondaryEvidenceRecommended()
      Returns the value of the secondaryEvidenceRecommended record component.
      Returns:
      the value of the secondaryEvidenceRecommended record component