OmniSciDB  085a039ca4
 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 1936 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1937 of file HeavyDBSqlOperatorTable.java.

1937  {
1938  super("ST_NRings",
1939  SqlKind.OTHER_FUNCTION,
1940  null,
1941  null,
1942  OperandTypes.family(SqlTypeFamily.ANY),
1943  SqlFunctionCategory.SYSTEM);
1944  }

Member Function Documentation

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

Definition at line 1947 of file HeavyDBSqlOperatorTable.java.

1947  {
1948  assert opBinding.getOperandCount() == 1;
1949  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1950  return typeFactory.createTypeWithNullability(
1951  typeFactory.createSqlType(SqlTypeName.INTEGER),
1952  opBinding.getOperandType(0).isNullable());
1953  }

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