OmniSciDB  8fa3bf436f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 1668 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1669 of file MapDSqlOperatorTable.java.

1669  {
1670  super("CastToGeography",
1671  SqlKind.OTHER_FUNCTION,
1672  null,
1673  null,
1674  OperandTypes.family(SqlTypeFamily.ANY),
1675  SqlFunctionCategory.SYSTEM);
1676  }

Member Function Documentation

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

Definition at line 1679 of file MapDSqlOperatorTable.java.

References INTEGER.

1679  {
1680  assert opBinding.getOperandCount() == 1;
1681  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1682  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1683  }
#define INTEGER

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