| Package | Description |
|---|---|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
SqlSampleSpec.SqlSubstitutionSampleSpec
Sample specification that orders substitution.
|
static class |
SqlSampleSpec.SqlTableSampleSpec
Sample specification.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlSampleSpec |
SqlSampleSpec.createNamed(String name)
Creates a sample which substitutes one relation for another.
|
static SqlSampleSpec |
SqlSampleSpec.createTableSample(boolean isBernoulli,
float samplePercentage)
Creates a table sample without repeatability.
|
static SqlSampleSpec |
SqlSampleSpec.createTableSample(boolean isBernoulli,
float samplePercentage,
int repeatableSeed)
Creates a table sample with repeatability.
|
static SqlSampleSpec |
SqlLiteral.sampleValue(SqlNode node)
Extracts the
SqlSampleSpec value from a symbol literal. |
| Modifier and Type | Method and Description |
|---|---|
static SqlLiteral |
SqlLiteral.createSample(SqlSampleSpec sampleSpec,
SqlParserPos pos)
Creates a literal which represents a sample specification.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.