OmniSciDB  bf83d84833
 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 1650 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1651 of file MapDSqlOperatorTable.java.

1651  {
1652  super("ST_NPoints",
1653  SqlKind.OTHER_FUNCTION,
1654  null,
1655  null,
1656  OperandTypes.family(SqlTypeFamily.ANY),
1657  SqlFunctionCategory.SYSTEM);
1658  }

Member Function Documentation

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

Definition at line 1661 of file MapDSqlOperatorTable.java.

1661  {
1662  assert opBinding.getOperandCount() == 1;
1663  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1664  return typeFactory.createTypeWithNullability(
1665  typeFactory.createSqlType(SqlTypeName.INTEGER),
1666  opBinding.getOperandType(0).isNullable());
1667  }

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