OmniSciDB  06b3bd477c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_SRID Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_SRID:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_SRID:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_SRID ()
 

Detailed Description

Definition at line 1468 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1469 of file MapDSqlOperatorTable.java.

1469  {
1470  super("ST_SRID",
1471  SqlKind.OTHER_FUNCTION,
1472  null,
1473  null,
1474  OperandTypes.family(SqlTypeFamily.ANY),
1475  SqlFunctionCategory.SYSTEM);
1476  }

Member Function Documentation

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

Definition at line 1479 of file MapDSqlOperatorTable.java.

References assert().

1479  {
1480  assert opBinding.getOperandCount() == 1;
1481  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1482  return typeFactory.createTypeWithNullability(
1483  typeFactory.createSqlType(SqlTypeName.INTEGER),
1484  opBinding.getOperandType(0).isNullable());
1485  }
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: