OmniSciDB  4201147b46
 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 1793 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1794 of file HeavyDBSqlOperatorTable.java.

1794  {
1795  super("ST_PointN",
1796  SqlKind.OTHER_FUNCTION,
1797  null,
1798  null,
1799  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1800  SqlFunctionCategory.SYSTEM);
1801  }

Member Function Documentation

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

Definition at line 1804 of file HeavyDBSqlOperatorTable.java.

1804  {
1805  assert opBinding.getOperandCount() == 1;
1806  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1807  return typeFactory.createTypeWithNullability(
1808  typeFactory.createSqlType(SqlTypeName.INTEGER),
1809  opBinding.getOperandType(0).isNullable());
1810  }

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