OmniSciDB  0fdbebe030
 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 1418 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1419 of file MapDSqlOperatorTable.java.

1419  {
1420  super("CastToGeography",
1421  SqlKind.OTHER_FUNCTION,
1422  null,
1423  null,
1424  OperandTypes.family(SqlTypeFamily.ANY),
1425  SqlFunctionCategory.SYSTEM);
1426  }

Member Function Documentation

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

Definition at line 1429 of file MapDSqlOperatorTable.java.

References assert().

1429  {
1430  assert opBinding.getOperandCount() == 1;
1431  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1432  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1433  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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