OmniSciDB  b28c0d5765
 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 2158 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2159 of file HeavyDBSqlOperatorTable.java.

2159  {
2160  super("ST_NumGeometries",
2161  SqlKind.OTHER_FUNCTION,
2162  null,
2163  null,
2164  OperandTypes.family(SqlTypeFamily.ANY),
2165  SqlFunctionCategory.SYSTEM);
2166  }

Member Function Documentation

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

Definition at line 2169 of file HeavyDBSqlOperatorTable.java.

2169  {
2170  assert opBinding.getOperandCount() == 1;
2171  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2172  return typeFactory.createTypeWithNullability(
2173  typeFactory.createSqlType(SqlTypeName.INTEGER),
2174  opBinding.getOperandType(0).isNullable());
2175  }

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