| Package | Description |
|---|---|
| org.apache.calcite.sql.type |
SQL type system.
|
| Modifier and Type | Field and Description |
|---|---|
static SqlTypeTransform |
SqlTypeTransforms.FORCE_NULLABLE
Parameter type-inference transform strategy where a derived type is
transformed into the same type with nulls allowed.
|
static SqlTypeTransform |
SqlTypeTransforms.ONLY_COLUMN
Parameter type-inference transform strategy where a derived type must be
a struct type with precisely one field and the returned type is the type
of that field.
|
static SqlTypeTransform |
SqlTypeTransforms.TO_MULTISET
Parameter type-inference transform strategy that wraps a given type
in a multiset.
|
static SqlTypeTransform |
SqlTypeTransforms.TO_MULTISET_ELEMENT_TYPE
Parameter type-inference transform strategy where a derived type must be
a multiset type and the returned type is the multiset's element type.
|
static SqlTypeTransform |
SqlTypeTransforms.TO_NOT_NULLABLE
Parameter type-inference transform strategy where a derived type is
transformed into the same type but not nullable.
|
static SqlTypeTransform |
SqlTypeTransforms.TO_NULLABLE
Parameter type-inference transform strategy where a derived type is
transformed into the same type but nullable if any of a calls operands is
nullable
|
static SqlTypeTransform |
SqlTypeTransforms.TO_NULLABLE_ALL
Parameter type-inference transform strategy where a derived type is
transformed into the same type, but nullable if and only if all of a call's
operands are nullable.
|
static SqlTypeTransform |
SqlTypeTransforms.TO_VARYING
Type-inference strategy whereby the result type of a call is VARYING the
type given.
|
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.ImmutableList<SqlTypeTransform> |
SqlTypeTransformCascade.transforms |
| Modifier and Type | Method and Description |
|---|---|
static SqlTypeTransformCascade |
ReturnTypes.cascade(SqlReturnTypeInference rule,
SqlTypeTransform... transforms)
Creates a return-type inference that applies a rule then a sequence of
transforms.
|
| Constructor and Description |
|---|
SqlTypeTransformCascade(SqlReturnTypeInference rule,
SqlTypeTransform... transforms)
Creates a SqlTypeTransformCascade from a rule and an array of one or more
transforms.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.