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.
  • Field Details

  • Method Details

    • isBernoulli

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

      @Deprecated public float getSamplePercentage()
      Deprecated.
      Returns the sampling rate. The range is 0.0 to 1.0. 0.0 returns no rows, and 1.0 returns all rows.
    • 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