OmniSciDB  a5dc49c757
 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 2515 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2516 of file HeavyDBSqlOperatorTable.java.

2516  {
2517  super("ST_NPoints",
2518  SqlKind.OTHER_FUNCTION,
2519  null,
2520  null,
2521  OperandTypes.family(SqlTypeFamily.ANY),
2522  SqlFunctionCategory.SYSTEM);
2523  }

Member Function Documentation

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

Definition at line 2526 of file HeavyDBSqlOperatorTable.java.

2526  {
2527  assert opBinding.getOperandCount() == 1;
2528  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2529  return typeFactory.createTypeWithNullability(
2530  typeFactory.createSqlType(SqlTypeName.INTEGER),
2531  opBinding.getOperandType(0).isNullable());
2532  }

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