| Package | Description |
|---|---|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.sql.validate |
SQL validation.
|
| Modifier and Type | Method and Description |
|---|---|
static RelDataType |
RexUtil.createStructType(RelDataTypeFactory typeFactory,
List<? extends RexNode> exprs,
List<String> names,
SqlValidatorUtil.Suggester suggester)
Creates a record type with specified field names.
|
| Modifier and Type | Field and Description |
|---|---|
static SqlValidatorUtil.Suggester |
SqlValidatorUtil.EXPR_SUGGESTER |
static SqlValidatorUtil.Suggester |
SqlValidatorUtil.F_SUGGESTER |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
SqlValidatorUtil.uniquify(List<String> nameList,
SqlValidatorUtil.Suggester suggester)
Deprecated.
|
static List<String> |
SqlValidatorUtil.uniquify(List<String> nameList,
SqlValidatorUtil.Suggester suggester,
boolean caseSensitive)
Makes sure that the names in a list are unique.
|
static String |
SqlValidatorUtil.uniquify(String name,
Set<String> usedNames,
SqlValidatorUtil.Suggester suggester)
Makes a name distinct from other names which have already been used, adds
it to the list, and returns it.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.