OmniSciDB  addbbd5075
 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 1214 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1215 of file MapDSqlOperatorTable.java.

1215  {
1216  super("ST_Length",
1217  SqlKind.OTHER_FUNCTION,
1218  null,
1219  null,
1220  OperandTypes.family(SqlTypeFamily.ANY),
1221  SqlFunctionCategory.SYSTEM);
1222  }

Member Function Documentation

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

Definition at line 1225 of file MapDSqlOperatorTable.java.

References assert().

1225  {
1226  assert opBinding.getOperandCount() == 1;
1227  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1228  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1229  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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