OmniSciDB  a987f07e93
 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 2139 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2140 of file HeavyDBSqlOperatorTable.java.

2140  {
2141  super("ST_NRings",
2142  SqlKind.OTHER_FUNCTION,
2143  null,
2144  null,
2145  OperandTypes.family(SqlTypeFamily.ANY),
2146  SqlFunctionCategory.SYSTEM);
2147  }

Member Function Documentation

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

Definition at line 2150 of file HeavyDBSqlOperatorTable.java.

2150  {
2151  assert opBinding.getOperandCount() == 1;
2152  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2153  return typeFactory.createTypeWithNullability(
2154  typeFactory.createSqlType(SqlTypeName.INTEGER),
2155  opBinding.getOperandType(0).isNullable());
2156  }

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