OmniSciDB  085a039ca4
 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 1916 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1917 of file HeavyDBSqlOperatorTable.java.

1917  {
1918  super("ST_NPoints",
1919  SqlKind.OTHER_FUNCTION,
1920  null,
1921  null,
1922  OperandTypes.family(SqlTypeFamily.ANY),
1923  SqlFunctionCategory.SYSTEM);
1924  }

Member Function Documentation

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

Definition at line 1927 of file HeavyDBSqlOperatorTable.java.

1927  {
1928  assert opBinding.getOperandCount() == 1;
1929  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1930  return typeFactory.createTypeWithNullability(
1931  typeFactory.createSqlType(SqlTypeName.INTEGER),
1932  opBinding.getOperandType(0).isNullable());
1933  }

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