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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_EndPoint ()
 

Detailed Description

Definition at line 1550 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1551 of file MapDSqlOperatorTable.java.

1551  {
1552  super("ST_EndPoint",
1553  SqlKind.OTHER_FUNCTION,
1554  null,
1555  null,
1556  OperandTypes.family(SqlTypeFamily.ANY),
1557  SqlFunctionCategory.SYSTEM);
1558  }

Member Function Documentation

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

Definition at line 1561 of file MapDSqlOperatorTable.java.

1561  {
1562  assert opBinding.getOperandCount() == 1;
1563  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1564  return typeFactory.createTypeWithNullability(
1565  typeFactory.createSqlType(SqlTypeName.INTEGER),
1566  opBinding.getOperandType(0).isNullable());
1567  }

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