OmniSciDB  c07336695a
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 1297 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ CastToGeography()

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

Definition at line 1298 of file MapDSqlOperatorTable.java.

1298  {
1299  super("CastToGeography",
1300  SqlKind.OTHER_FUNCTION,
1301  null,
1302  null,
1303  OperandTypes.family(SqlTypeFamily.ANY),
1304  SqlFunctionCategory.SYSTEM);
1305  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1308 of file MapDSqlOperatorTable.java.

1308  {
1309  assert opBinding.getOperandCount() == 1;
1310  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1311  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1312  }

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