OmniSciDB  06b3bd477c
 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 1448 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1449 of file MapDSqlOperatorTable.java.

1449  {
1450  super("ST_NRings",
1451  SqlKind.OTHER_FUNCTION,
1452  null,
1453  null,
1454  OperandTypes.family(SqlTypeFamily.ANY),
1455  SqlFunctionCategory.SYSTEM);
1456  }

Member Function Documentation

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

Definition at line 1459 of file MapDSqlOperatorTable.java.

References assert().

1459  {
1460  assert opBinding.getOperandCount() == 1;
1461  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1462  return typeFactory.createTypeWithNullability(
1463  typeFactory.createSqlType(SqlTypeName.INTEGER),
1464  opBinding.getOperandType(0).isNullable());
1465  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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