OmniSciDB  85c2d10cdc
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1441 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1442 of file MapDSqlOperatorTable.java.

1442  {
1443  super("ST_NPoints",
1444  SqlKind.OTHER_FUNCTION,
1445  null,
1446  null,
1447  OperandTypes.family(SqlTypeFamily.ANY),
1448  SqlFunctionCategory.SYSTEM);
1449  }

Member Function Documentation

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

Definition at line 1452 of file MapDSqlOperatorTable.java.

References INTEGER.

1452  {
1453  assert opBinding.getOperandCount() == 1;
1454  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1455  return typeFactory.createTypeWithNullability(
1456  typeFactory.createSqlType(SqlTypeName.INTEGER),
1457  opBinding.getOperandType(0).isNullable());
1458  }
#define INTEGER

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