OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1521 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1522 of file MapDSqlOperatorTable.java.

1522  {
1523  super("ST_NRings",
1524  SqlKind.OTHER_FUNCTION,
1525  null,
1526  null,
1527  OperandTypes.family(SqlTypeFamily.ANY),
1528  SqlFunctionCategory.SYSTEM);
1529  }

Member Function Documentation

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

Definition at line 1532 of file MapDSqlOperatorTable.java.

References INTEGER.

1532  {
1533  assert opBinding.getOperandCount() == 1;
1534  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1535  return typeFactory.createTypeWithNullability(
1536  typeFactory.createSqlType(SqlTypeName.INTEGER),
1537  opBinding.getOperandType(0).isNullable());
1538  }
#define INTEGER

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