OmniSciDB  dfae7c3b14
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_NRings Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_NRings:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_NRings:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_NRings ()
 

Detailed Description

Definition at line 1552 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_NRings()

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

Definition at line 1553 of file MapDSqlOperatorTable.java.

1553  {
1554  super("ST_NRings",
1555  SqlKind.OTHER_FUNCTION,
1556  null,
1557  null,
1558  OperandTypes.family(SqlTypeFamily.ANY),
1559  SqlFunctionCategory.SYSTEM);
1560  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1563 of file MapDSqlOperatorTable.java.

1563  {
1564  assert opBinding.getOperandCount() == 1;
1565  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1566  return typeFactory.createTypeWithNullability(
1567  typeFactory.createSqlType(SqlTypeName.INTEGER),
1568  opBinding.getOperandType(0).isNullable());
1569  }

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