OmniSciDB  085a039ca4
 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 1856 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1857 of file HeavyDBSqlOperatorTable.java.

1857  {
1858  super("ST_Length",
1859  SqlKind.OTHER_FUNCTION,
1860  null,
1861  null,
1862  OperandTypes.family(SqlTypeFamily.ANY),
1863  SqlFunctionCategory.SYSTEM);
1864  }

Member Function Documentation

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

Definition at line 1867 of file HeavyDBSqlOperatorTable.java.

1867  {
1868  assert opBinding.getOperandCount() == 1;
1869  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1870  return typeFactory.createTypeWithNullability(
1871  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1872  opBinding.getOperandType(0).isNullable());
1873  }

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