@Internal
public class FlinkTypeSystem
extends org.apache.calcite.rel.type.RelDataTypeSystemImpl
| Modifier and Type | Field and Description |
|---|---|
static org.apache.flink.table.types.logical.DecimalType |
DECIMAL_SYSTEM_DEFAULT |
static FlinkTypeSystem |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rel.type.RelDataType |
deriveAvgAggType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType argRelDataType) |
org.apache.calcite.rel.type.RelDataType |
deriveDecimalDivideType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType type1,
org.apache.calcite.rel.type.RelDataType type2) |
org.apache.calcite.rel.type.RelDataType |
deriveDecimalModType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType type1,
org.apache.calcite.rel.type.RelDataType type2) |
org.apache.calcite.rel.type.RelDataType |
deriveDecimalMultiplyType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType type1,
org.apache.calcite.rel.type.RelDataType type2) |
org.apache.calcite.rel.type.RelDataType |
deriveDecimalPlusType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType type1,
org.apache.calcite.rel.type.RelDataType type2) |
org.apache.calcite.rel.type.RelDataType |
deriveSumType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType argRelDataType) |
int |
getDefaultPrecision(org.apache.calcite.sql.type.SqlTypeName typeName) |
int |
getMaxNumericPrecision() |
int |
getMaxNumericScale() |
int |
getMaxPrecision(org.apache.calcite.sql.type.SqlTypeName typeName) |
boolean |
shouldConvertRaggedUnionTypesToVarying() |
deriveCovarType, deriveFractionalRankType, deriveRankType, getLiteral, getMaxScale, getNumTypeRadix, isAutoincrement, isCaseSensitive, isSchemaCaseSensitivepublic static final FlinkTypeSystem INSTANCE
public static final org.apache.flink.table.types.logical.DecimalType DECIMAL_SYSTEM_DEFAULT
public int getMaxNumericPrecision()
getMaxNumericPrecision in interface org.apache.calcite.rel.type.RelDataTypeSystemgetMaxNumericPrecision in class org.apache.calcite.rel.type.RelDataTypeSystemImplpublic int getMaxNumericScale()
getMaxNumericScale in interface org.apache.calcite.rel.type.RelDataTypeSystemgetMaxNumericScale in class org.apache.calcite.rel.type.RelDataTypeSystemImplpublic int getDefaultPrecision(org.apache.calcite.sql.type.SqlTypeName typeName)
getDefaultPrecision in interface org.apache.calcite.rel.type.RelDataTypeSystemgetDefaultPrecision in class org.apache.calcite.rel.type.RelDataTypeSystemImplpublic int getMaxPrecision(org.apache.calcite.sql.type.SqlTypeName typeName)
getMaxPrecision in interface org.apache.calcite.rel.type.RelDataTypeSystemgetMaxPrecision in class org.apache.calcite.rel.type.RelDataTypeSystemImplpublic boolean shouldConvertRaggedUnionTypesToVarying()
shouldConvertRaggedUnionTypesToVarying in interface org.apache.calcite.rel.type.RelDataTypeSystemshouldConvertRaggedUnionTypesToVarying in class org.apache.calcite.rel.type.RelDataTypeSystemImplpublic org.apache.calcite.rel.type.RelDataType deriveAvgAggType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType argRelDataType)
deriveAvgAggType in interface org.apache.calcite.rel.type.RelDataTypeSystemderiveAvgAggType in class org.apache.calcite.rel.type.RelDataTypeSystemImplpublic org.apache.calcite.rel.type.RelDataType deriveSumType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType argRelDataType)
deriveSumType in interface org.apache.calcite.rel.type.RelDataTypeSystemderiveSumType in class org.apache.calcite.rel.type.RelDataTypeSystemImplpublic org.apache.calcite.rel.type.RelDataType deriveDecimalPlusType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType type1,
org.apache.calcite.rel.type.RelDataType type2)
public org.apache.calcite.rel.type.RelDataType deriveDecimalModType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType type1,
org.apache.calcite.rel.type.RelDataType type2)
public org.apache.calcite.rel.type.RelDataType deriveDecimalDivideType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType type1,
org.apache.calcite.rel.type.RelDataType type2)
public org.apache.calcite.rel.type.RelDataType deriveDecimalMultiplyType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
org.apache.calcite.rel.type.RelDataType type1,
org.apache.calcite.rel.type.RelDataType type2)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.