OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.CastToGeography Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.CastToGeography:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.CastToGeography:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 CastToGeography ()
 

Detailed Description

Definition at line 2672 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.CastToGeography.CastToGeography ( )
inlinepackage

Definition at line 2673 of file HeavyDBSqlOperatorTable.java.

2673  {
2674  super("CastToGeography",
2675  SqlKind.OTHER_FUNCTION,
2676  null,
2677  null,
2678  OperandTypes.family(SqlTypeFamily.ANY),
2679  SqlFunctionCategory.SYSTEM);
2680  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.CastToGeography.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 2683 of file HeavyDBSqlOperatorTable.java.

2683  {
2684  assert opBinding.getOperandCount() == 1;
2685  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2686  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2687  }

The documentation for this class was generated from the following file: