OmniSciDB  06b3bd477c
 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 1368 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1369 of file MapDSqlOperatorTable.java.

1369  {
1370  super("ST_Length",
1371  SqlKind.OTHER_FUNCTION,
1372  null,
1373  null,
1374  OperandTypes.family(SqlTypeFamily.ANY),
1375  SqlFunctionCategory.SYSTEM);
1376  }

Member Function Documentation

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

Definition at line 1379 of file MapDSqlOperatorTable.java.

References assert().

1379  {
1380  assert opBinding.getOperandCount() == 1;
1381  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1382  return typeFactory.createTypeWithNullability(
1383  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1384  opBinding.getOperandType(0).isNullable());
1385  }
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: