OmniSciDB  85c2d10cdc
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 1461 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1462 of file MapDSqlOperatorTable.java.

1462  {
1463  super("ST_NRings",
1464  SqlKind.OTHER_FUNCTION,
1465  null,
1466  null,
1467  OperandTypes.family(SqlTypeFamily.ANY),
1468  SqlFunctionCategory.SYSTEM);
1469  }

Member Function Documentation

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

Definition at line 1472 of file MapDSqlOperatorTable.java.

References INTEGER.

1472  {
1473  assert opBinding.getOperandCount() == 1;
1474  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1475  return typeFactory.createTypeWithNullability(
1476  typeFactory.createSqlType(SqlTypeName.INTEGER),
1477  opBinding.getOperandType(0).isNullable());
1478  }
#define INTEGER

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