OmniSciDB  a987f07e93
 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 2059 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2060 of file HeavyDBSqlOperatorTable.java.

2060  {
2061  super("ST_Length",
2062  SqlKind.OTHER_FUNCTION,
2063  null,
2064  null,
2065  OperandTypes.family(SqlTypeFamily.ANY),
2066  SqlFunctionCategory.SYSTEM);
2067  }

Member Function Documentation

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

Definition at line 2070 of file HeavyDBSqlOperatorTable.java.

2070  {
2071  assert opBinding.getOperandCount() == 1;
2072  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2073  return typeFactory.createTypeWithNullability(
2074  typeFactory.createSqlType(SqlTypeName.DOUBLE),
2075  opBinding.getOperandType(0).isNullable());
2076  }

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