@Internal public class FlinkTypeSystem extends org.apache.calcite.rel.type.RelDataTypeSystemImpl
Modifier and Type | Field and Description |
---|---|
static 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() |
allowExtendedTrim, deriveCovarType, deriveFractionalRankType, deriveRankType, getLiteral, getMaxScale, getNumTypeRadix, isAutoincrement, isCaseSensitive, isSchemaCaseSensitive
public static final FlinkTypeSystem INSTANCE
public static final DecimalType DECIMAL_SYSTEM_DEFAULT
public int getMaxNumericPrecision()
getMaxNumericPrecision
in interface org.apache.calcite.rel.type.RelDataTypeSystem
getMaxNumericPrecision
in class org.apache.calcite.rel.type.RelDataTypeSystemImpl
public int getMaxNumericScale()
getMaxNumericScale
in interface org.apache.calcite.rel.type.RelDataTypeSystem
getMaxNumericScale
in class org.apache.calcite.rel.type.RelDataTypeSystemImpl
public int getDefaultPrecision(org.apache.calcite.sql.type.SqlTypeName typeName)
getDefaultPrecision
in interface org.apache.calcite.rel.type.RelDataTypeSystem
getDefaultPrecision
in class org.apache.calcite.rel.type.RelDataTypeSystemImpl
public int getMaxPrecision(org.apache.calcite.sql.type.SqlTypeName typeName)
getMaxPrecision
in interface org.apache.calcite.rel.type.RelDataTypeSystem
getMaxPrecision
in class org.apache.calcite.rel.type.RelDataTypeSystemImpl
public boolean shouldConvertRaggedUnionTypesToVarying()
shouldConvertRaggedUnionTypesToVarying
in interface org.apache.calcite.rel.type.RelDataTypeSystem
shouldConvertRaggedUnionTypesToVarying
in class org.apache.calcite.rel.type.RelDataTypeSystemImpl
public 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.RelDataTypeSystem
deriveAvgAggType
in class org.apache.calcite.rel.type.RelDataTypeSystemImpl
public 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.RelDataTypeSystem
deriveSumType
in class org.apache.calcite.rel.type.RelDataTypeSystemImpl
public 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–2024 The Apache Software Foundation. All rights reserved.