OmniSciDB  f632821e96
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 1656 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ CastToGeography()

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

Definition at line 1657 of file MapDSqlOperatorTable.java.

1657  {
1658  super("CastToGeography",
1659  SqlKind.OTHER_FUNCTION,
1660  null,
1661  null,
1662  OperandTypes.family(SqlTypeFamily.ANY),
1663  SqlFunctionCategory.SYSTEM);
1664  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1667 of file MapDSqlOperatorTable.java.

1667  {
1668  assert opBinding.getOperandCount() == 1;
1669  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1670  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1671  }

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