OmniSciDB  72c90bc290
 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 2374 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2375 of file HeavyDBSqlOperatorTable.java.

2375  {
2376  super("ST_NPoints",
2377  SqlKind.OTHER_FUNCTION,
2378  null,
2379  null,
2380  OperandTypes.family(SqlTypeFamily.ANY),
2381  SqlFunctionCategory.SYSTEM);
2382  }

Member Function Documentation

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

Definition at line 2385 of file HeavyDBSqlOperatorTable.java.

2385  {
2386  assert opBinding.getOperandCount() == 1;
2387  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2388  return typeFactory.createTypeWithNullability(
2389  typeFactory.createSqlType(SqlTypeName.INTEGER),
2390  opBinding.getOperandType(0).isNullable());
2391  }

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