OmniSciDB  a5dc49c757
 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 2535 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2536 of file HeavyDBSqlOperatorTable.java.

2536  {
2537  super("ST_NRings",
2538  SqlKind.OTHER_FUNCTION,
2539  null,
2540  null,
2541  OperandTypes.family(SqlTypeFamily.ANY),
2542  SqlFunctionCategory.SYSTEM);
2543  }

Member Function Documentation

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

Definition at line 2546 of file HeavyDBSqlOperatorTable.java.

2546  {
2547  assert opBinding.getOperandCount() == 1;
2548  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2549  return typeFactory.createTypeWithNullability(
2550  typeFactory.createSqlType(SqlTypeName.INTEGER),
2551  opBinding.getOperandType(0).isNullable());
2552  }

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