OmniSciDB  06b3bd477c
 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 1428 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1429 of file MapDSqlOperatorTable.java.

1429  {
1430  super("ST_NPoints",
1431  SqlKind.OTHER_FUNCTION,
1432  null,
1433  null,
1434  OperandTypes.family(SqlTypeFamily.ANY),
1435  SqlFunctionCategory.SYSTEM);
1436  }

Member Function Documentation

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

Definition at line 1439 of file MapDSqlOperatorTable.java.

References assert().

1439  {
1440  assert opBinding.getOperandCount() == 1;
1441  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1442  return typeFactory.createTypeWithNullability(
1443  typeFactory.createSqlType(SqlTypeName.INTEGER),
1444  opBinding.getOperandType(0).isNullable());
1445  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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