Class SqlSampleSpec.SqlTableSampleSpec

java.lang.Object
org.apache.calcite.sql.SqlSampleSpec
org.apache.calcite.sql.SqlSampleSpec.SqlTableSampleSpec
Enclosing class:
SqlSampleSpec

public static class SqlSampleSpec.SqlTableSampleSpec extends SqlSampleSpec
Sample specification.
  • Method Details

    • isBernoulli

      public boolean isBernoulli()
      Indicates Bernoulli vs. System sampling.
    • getSamplePercentage

      public float getSamplePercentage()
      Returns sampling percentage. Range is 0.0 to 1.0, exclusive
    • isRepeatable

      public boolean isRepeatable()
      Indicates whether repeatable seed should be used.
    • getRepeatableSeed

      public int getRepeatableSeed()
      Seed to produce repeatable samples.
    • toString

      public String toString()
      Overrides:
      toString in class Object