OmniSciDB  085a039ca4
 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 2143 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2144 of file HeavyDBSqlOperatorTable.java.

2144  {
2145  super("CastToGeography",
2146  SqlKind.OTHER_FUNCTION,
2147  null,
2148  null,
2149  OperandTypes.family(SqlTypeFamily.ANY),
2150  SqlFunctionCategory.SYSTEM);
2151  }

Member Function Documentation

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

Definition at line 2154 of file HeavyDBSqlOperatorTable.java.

2154  {
2155  assert opBinding.getOperandCount() == 1;
2156  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2157  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2158  }

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