OmniSciDB  a987f07e93
 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 2417 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2418 of file HeavyDBSqlOperatorTable.java.

2418  {
2419  super("CastToGeography",
2420  SqlKind.OTHER_FUNCTION,
2421  null,
2422  null,
2423  OperandTypes.family(SqlTypeFamily.ANY),
2424  SqlFunctionCategory.SYSTEM);
2425  }

Member Function Documentation

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

Definition at line 2428 of file HeavyDBSqlOperatorTable.java.

2428  {
2429  assert opBinding.getOperandCount() == 1;
2430  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2431  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2432  }

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