OmniSciDB  e465130ba1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_PointN Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_PointN:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_PointN:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_PointN ()
 

Detailed Description

Definition at line 1200 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1201 of file MapDSqlOperatorTable.java.

1201  {
1202  super("ST_PointN",
1203  SqlKind.OTHER_FUNCTION,
1204  null,
1205  null,
1206  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1207  SqlFunctionCategory.SYSTEM);
1208  }

Member Function Documentation

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

Definition at line 1211 of file MapDSqlOperatorTable.java.

References assert().

1211  {
1212  assert opBinding.getOperandCount() == 1;
1213  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1214  return typeFactory.createTypeWithNullability(
1215  typeFactory.createSqlType(SqlTypeName.INTEGER),
1216  opBinding.getOperandType(0).isNullable());
1217  }
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: