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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_NRings ()
 

Detailed Description

Definition at line 2152 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2153 of file HeavyDBSqlOperatorTable.java.

2153  {
2154  super("ST_NRings",
2155  SqlKind.OTHER_FUNCTION,
2156  null,
2157  null,
2158  OperandTypes.family(SqlTypeFamily.ANY),
2159  SqlFunctionCategory.SYSTEM);
2160  }

Member Function Documentation

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

Definition at line 2163 of file HeavyDBSqlOperatorTable.java.

2163  {
2164  assert opBinding.getOperandCount() == 1;
2165  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2166  return typeFactory.createTypeWithNullability(
2167  typeFactory.createSqlType(SqlTypeName.INTEGER),
2168  opBinding.getOperandType(0).isNullable());
2169  }

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