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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_NPoints ()
 

Detailed Description

Definition at line 2119 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2120 of file HeavyDBSqlOperatorTable.java.

2120  {
2121  super("ST_NPoints",
2122  SqlKind.OTHER_FUNCTION,
2123  null,
2124  null,
2125  OperandTypes.family(SqlTypeFamily.ANY),
2126  SqlFunctionCategory.SYSTEM);
2127  }

Member Function Documentation

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

Definition at line 2130 of file HeavyDBSqlOperatorTable.java.

2130  {
2131  assert opBinding.getOperandCount() == 1;
2132  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2133  return typeFactory.createTypeWithNullability(
2134  typeFactory.createSqlType(SqlTypeName.INTEGER),
2135  opBinding.getOperandType(0).isNullable());
2136  }

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