OmniSciDB  1dac507f6e
 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 1185 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1186 of file MapDSqlOperatorTable.java.

1186  {
1187  super("ST_Length",
1188  SqlKind.OTHER_FUNCTION,
1189  null,
1190  null,
1191  OperandTypes.family(SqlTypeFamily.ANY),
1192  SqlFunctionCategory.SYSTEM);
1193  }

Member Function Documentation

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

Definition at line 1196 of file MapDSqlOperatorTable.java.

References assert().

1196  {
1197  assert opBinding.getOperandCount() == 1;
1198  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1199  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1200  }
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: