OmniSciDB  72c90bc290
 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 2394 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2395 of file HeavyDBSqlOperatorTable.java.

2395  {
2396  super("ST_NRings",
2397  SqlKind.OTHER_FUNCTION,
2398  null,
2399  null,
2400  OperandTypes.family(SqlTypeFamily.ANY),
2401  SqlFunctionCategory.SYSTEM);
2402  }

Member Function Documentation

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

Definition at line 2405 of file HeavyDBSqlOperatorTable.java.

2405  {
2406  assert opBinding.getOperandCount() == 1;
2407  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2408  return typeFactory.createTypeWithNullability(
2409  typeFactory.createSqlType(SqlTypeName.INTEGER),
2410  opBinding.getOperandType(0).isNullable());
2411  }

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