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
Modifier and TypeFieldDescriptionstatic final org.apache.calcite.rel.type.RelDataTypeSystem
Fields inherited from interface org.apache.calcite.rel.type.RelDataTypeSystem
DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getDefaultPrecision
(org.apache.calcite.sql.type.SqlTypeName typeName) int
int
boolean
Methods inherited from class org.apache.calcite.rel.type.RelDataTypeSystemImpl
deriveAvgAggType, deriveCovarType, deriveFractionalRankType, deriveRankType, deriveSumType, getLiteral, getMaxPrecision, getMaxScale, getNumTypeRadix, isAutoincrement, isCaseSensitive, shouldConvertRaggedUnionTypesToVarying
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getDefaultPrecision
in interfaceorg.apache.calcite.rel.type.RelDataTypeSystem
- Overrides:
getDefaultPrecision
in classorg.apache.calcite.rel.type.RelDataTypeSystemImpl
-
getMaxNumericScale
public int getMaxNumericScale()- Specified by:
getMaxNumericScale
in interfaceorg.apache.calcite.rel.type.RelDataTypeSystem
- Overrides:
getMaxNumericScale
in classorg.apache.calcite.rel.type.RelDataTypeSystemImpl
-
getMaxNumericPrecision
public int getMaxNumericPrecision()- Specified by:
getMaxNumericPrecision
in interfaceorg.apache.calcite.rel.type.RelDataTypeSystem
- Overrides:
getMaxNumericPrecision
in classorg.apache.calcite.rel.type.RelDataTypeSystemImpl
-
isSchemaCaseSensitive
public boolean isSchemaCaseSensitive()- Specified by:
isSchemaCaseSensitive
in interfaceorg.apache.calcite.rel.type.RelDataTypeSystem
- Overrides:
isSchemaCaseSensitive
in classorg.apache.calcite.rel.type.RelDataTypeSystemImpl
-