OmniSciDB  c07336695a
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 1153 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Length()

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

Definition at line 1154 of file MapDSqlOperatorTable.java.

1154  {
1155  super("ST_Length",
1156  SqlKind.OTHER_FUNCTION,
1157  null,
1158  null,
1159  OperandTypes.family(SqlTypeFamily.ANY),
1160  SqlFunctionCategory.SYSTEM);
1161  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1164 of file MapDSqlOperatorTable.java.

1164  {
1165  assert opBinding.getOperandCount() == 1;
1166  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1167  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1168  }

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