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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Length ()
 

Detailed Description

Definition at line 2455 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2456 of file HeavyDBSqlOperatorTable.java.

2456  {
2457  super("ST_Length",
2458  SqlKind.OTHER_FUNCTION,
2459  null,
2460  null,
2461  OperandTypes.family(SqlTypeFamily.ANY),
2462  SqlFunctionCategory.SYSTEM);
2463  }

Member Function Documentation

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

Definition at line 2466 of file HeavyDBSqlOperatorTable.java.

2466  {
2467  assert opBinding.getOperandCount() == 1;
2468  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2469  return typeFactory.createTypeWithNullability(
2470  typeFactory.createSqlType(SqlTypeName.DOUBLE),
2471  opBinding.getOperandType(0).isNullable());
2472  }

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