OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_PointN Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_PointN:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_PointN:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_PointN ()
 

Detailed Description

Definition at line 2395 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_PointN.ST_PointN ( )
inlinepackage

Definition at line 2396 of file HeavyDBSqlOperatorTable.java.

2396  {
2397  super("ST_PointN",
2398  SqlKind.OTHER_FUNCTION,
2399  null,
2400  null,
2401  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
2402  SqlFunctionCategory.SYSTEM);
2403  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_PointN.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 2406 of file HeavyDBSqlOperatorTable.java.

2406  {
2407  assert opBinding.getOperandCount() == 1;
2408  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2409  return typeFactory.createTypeWithNullability(
2410  typeFactory.createSqlType(SqlTypeName.INTEGER),
2411  opBinding.getOperandType(0).isNullable());
2412  }

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