OmniSciDB  1dac507f6e
 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 1329 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1330 of file MapDSqlOperatorTable.java.

1330  {
1331  super("CastToGeography",
1332  SqlKind.OTHER_FUNCTION,
1333  null,
1334  null,
1335  OperandTypes.family(SqlTypeFamily.ANY),
1336  SqlFunctionCategory.SYSTEM);
1337  }

Member Function Documentation

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

Definition at line 1340 of file MapDSqlOperatorTable.java.

References assert().

1340  {
1341  assert opBinding.getOperandCount() == 1;
1342  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1343  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1344  }
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: