Class DrillRelDataTypeSystem
java.lang.Object
org.apache.calcite.rel.type.RelDataTypeSystemImpl
org.apache.drill.exec.planner.types.DrillRelDataTypeSystem
- All Implemented Interfaces:
org.apache.calcite.rel.type.RelDataTypeSystem
public class DrillRelDataTypeSystem
extends org.apache.calcite.rel.type.RelDataTypeSystemImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.calcite.rel.type.RelDataTypeSystemFields inherited from interface org.apache.calcite.rel.type.RelDataTypeSystem
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDefaultPrecision(org.apache.calcite.sql.type.SqlTypeName typeName) intintbooleanMethods inherited from class org.apache.calcite.rel.type.RelDataTypeSystemImpl
deriveAvgAggType, deriveCovarType, deriveFractionalRankType, deriveRankType, deriveSumType, getLiteral, getMaxPrecision, getMaxScale, getNumTypeRadix, isAutoincrement, isCaseSensitive, shouldConvertRaggedUnionTypesToVaryingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.calcite.rel.type.RelDataTypeSystem
deriveDecimalDivideType, deriveDecimalModType, deriveDecimalMultiplyType, deriveDecimalPlusType, deriveTimeFrameSet, shouldUseDoubleMultiplication
-
Field Details
-
DRILL_REL_DATATYPE_SYSTEM
public static final org.apache.calcite.rel.type.RelDataTypeSystem DRILL_REL_DATATYPE_SYSTEM
-
-
Constructor Details
-
DrillRelDataTypeSystem
public DrillRelDataTypeSystem()
-
-
Method Details
-
getDefaultPrecision
public int getDefaultPrecision(org.apache.calcite.sql.type.SqlTypeName typeName) - Specified by:
getDefaultPrecisionin interfaceorg.apache.calcite.rel.type.RelDataTypeSystem- Overrides:
getDefaultPrecisionin classorg.apache.calcite.rel.type.RelDataTypeSystemImpl
-
getMaxNumericScale
public int getMaxNumericScale()- Specified by:
getMaxNumericScalein interfaceorg.apache.calcite.rel.type.RelDataTypeSystem- Overrides:
getMaxNumericScalein classorg.apache.calcite.rel.type.RelDataTypeSystemImpl
-
getMaxNumericPrecision
public int getMaxNumericPrecision()- Specified by:
getMaxNumericPrecisionin interfaceorg.apache.calcite.rel.type.RelDataTypeSystem- Overrides:
getMaxNumericPrecisionin classorg.apache.calcite.rel.type.RelDataTypeSystemImpl
-
isSchemaCaseSensitive
public boolean isSchemaCaseSensitive()- Specified by:
isSchemaCaseSensitivein interfaceorg.apache.calcite.rel.type.RelDataTypeSystem- Overrides:
isSchemaCaseSensitivein classorg.apache.calcite.rel.type.RelDataTypeSystemImpl
-