OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1441 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1442 of file MapDSqlOperatorTable.java.

1442  {
1443  super("ST_Length",
1444  SqlKind.OTHER_FUNCTION,
1445  null,
1446  null,
1447  OperandTypes.family(SqlTypeFamily.ANY),
1448  SqlFunctionCategory.SYSTEM);
1449  }

Member Function Documentation

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

Definition at line 1452 of file MapDSqlOperatorTable.java.

References DOUBLE.

1452  {
1453  assert opBinding.getOperandCount() == 1;
1454  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1455  return typeFactory.createTypeWithNullability(
1456  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1457  opBinding.getOperandType(0).isNullable());
1458  }
#define DOUBLE

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