OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_NumGeometries Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_NumGeometries:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_NumGeometries:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_NumGeometries ()
 

Detailed Description

Definition at line 2555 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_NumGeometries.ST_NumGeometries ( )
inlinepackage

Definition at line 2556 of file HeavyDBSqlOperatorTable.java.

2556  {
2557  super("ST_NumGeometries",
2558  SqlKind.OTHER_FUNCTION,
2559  null,
2560  null,
2561  OperandTypes.family(SqlTypeFamily.ANY),
2562  SqlFunctionCategory.SYSTEM);
2563  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_NumGeometries.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 2566 of file HeavyDBSqlOperatorTable.java.

2566  {
2567  assert opBinding.getOperandCount() == 1;
2568  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2569  return typeFactory.createTypeWithNullability(
2570  typeFactory.createSqlType(SqlTypeName.INTEGER),
2571  opBinding.getOperandType(0).isNullable());
2572  }

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