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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_NPoints ()
 

Detailed Description

Definition at line 1501 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1502 of file MapDSqlOperatorTable.java.

1502  {
1503  super("ST_NPoints",
1504  SqlKind.OTHER_FUNCTION,
1505  null,
1506  null,
1507  OperandTypes.family(SqlTypeFamily.ANY),
1508  SqlFunctionCategory.SYSTEM);
1509  }

Member Function Documentation

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

Definition at line 1512 of file MapDSqlOperatorTable.java.

References INTEGER.

1512  {
1513  assert opBinding.getOperandCount() == 1;
1514  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1515  return typeFactory.createTypeWithNullability(
1516  typeFactory.createSqlType(SqlTypeName.INTEGER),
1517  opBinding.getOperandType(0).isNullable());
1518  }
#define INTEGER

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