OmniSciDB  c1a53651b2
 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 2132 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2133 of file HeavyDBSqlOperatorTable.java.

2133  {
2134  super("ST_NPoints",
2135  SqlKind.OTHER_FUNCTION,
2136  null,
2137  null,
2138  OperandTypes.family(SqlTypeFamily.ANY),
2139  SqlFunctionCategory.SYSTEM);
2140  }

Member Function Documentation

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

Definition at line 2143 of file HeavyDBSqlOperatorTable.java.

2143  {
2144  assert opBinding.getOperandCount() == 1;
2145  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2146  return typeFactory.createTypeWithNullability(
2147  typeFactory.createSqlType(SqlTypeName.INTEGER),
2148  opBinding.getOperandType(0).isNullable());
2149  }

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