OmniSciDB  dfae7c3b14
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 1532 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_NPoints()

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

Definition at line 1533 of file MapDSqlOperatorTable.java.

1533  {
1534  super("ST_NPoints",
1535  SqlKind.OTHER_FUNCTION,
1536  null,
1537  null,
1538  OperandTypes.family(SqlTypeFamily.ANY),
1539  SqlFunctionCategory.SYSTEM);
1540  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1543 of file MapDSqlOperatorTable.java.

1543  {
1544  assert opBinding.getOperandCount() == 1;
1545  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1546  return typeFactory.createTypeWithNullability(
1547  typeFactory.createSqlType(SqlTypeName.INTEGER),
1548  opBinding.getOperandType(0).isNullable());
1549  }

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