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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Length ()
 

Detailed Description

Definition at line 1381 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1382 of file MapDSqlOperatorTable.java.

1382  {
1383  super("ST_Length",
1384  SqlKind.OTHER_FUNCTION,
1385  null,
1386  null,
1387  OperandTypes.family(SqlTypeFamily.ANY),
1388  SqlFunctionCategory.SYSTEM);
1389  }

Member Function Documentation

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

Definition at line 1392 of file MapDSqlOperatorTable.java.

References DOUBLE.

1392  {
1393  assert opBinding.getOperandCount() == 1;
1394  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1395  return typeFactory.createTypeWithNullability(
1396  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1397  opBinding.getOperandType(0).isNullable());
1398  }
#define DOUBLE

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