org.eigenbase.sql
Class SqlSampleSpec.SqlTableSampleSpec
java.lang.Object
org.eigenbase.sql.SqlSampleSpec
org.eigenbase.sql.SqlSampleSpec.SqlTableSampleSpec
- Enclosing class:
- SqlSampleSpec
public static class SqlSampleSpec.SqlTableSampleSpec
- extends SqlSampleSpec
isBernoulli
private final boolean isBernoulli
samplePercentage
private final float samplePercentage
isRepeatable
private final boolean isRepeatable
repeatableSeed
private final int repeatableSeed
SqlSampleSpec.SqlTableSampleSpec
private SqlSampleSpec.SqlTableSampleSpec(boolean isBernoulli,
float samplePercentage)
SqlSampleSpec.SqlTableSampleSpec
private SqlSampleSpec.SqlTableSampleSpec(boolean isBernoulli,
float samplePercentage,
int repeatableSeed)
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