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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_PointN ()
 

Detailed Description

Definition at line 1999 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2000 of file HeavyDBSqlOperatorTable.java.

2000  {
2001  super("ST_PointN",
2002  SqlKind.OTHER_FUNCTION,
2003  null,
2004  null,
2005  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
2006  SqlFunctionCategory.SYSTEM);
2007  }

Member Function Documentation

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

Definition at line 2010 of file HeavyDBSqlOperatorTable.java.

2010  {
2011  assert opBinding.getOperandCount() == 1;
2012  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2013  return typeFactory.createTypeWithNullability(
2014  typeFactory.createSqlType(SqlTypeName.INTEGER),
2015  opBinding.getOperandType(0).isNullable());
2016  }

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