OmniSciDB  29e35f4d58
com.mapd.calcite.parser.MapDSqlOperatorTable.CastToGeography Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.CastToGeography:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.CastToGeography:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 CastToGeography ()
 

Detailed Description

Definition at line 1358 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ CastToGeography()

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

Definition at line 1359 of file MapDSqlOperatorTable.java.

1359  {
1360  super("CastToGeography",
1361  SqlKind.OTHER_FUNCTION,
1362  null,
1363  null,
1364  OperandTypes.family(SqlTypeFamily.ANY),
1365  SqlFunctionCategory.SYSTEM);
1366  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1369 of file MapDSqlOperatorTable.java.

1369  {
1370  assert opBinding.getOperandCount() == 1;
1371  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1372  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1373  }

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