OmniSciDB  a5dc49c757
 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 2813 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2814 of file HeavyDBSqlOperatorTable.java.

2814  {
2815  super("CastToGeography",
2816  SqlKind.OTHER_FUNCTION,
2817  null,
2818  null,
2819  OperandTypes.family(SqlTypeFamily.ANY),
2820  SqlFunctionCategory.SYSTEM);
2821  }

Member Function Documentation

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

Definition at line 2824 of file HeavyDBSqlOperatorTable.java.

2824  {
2825  assert opBinding.getOperandCount() == 1;
2826  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2827  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2828  }

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