OmniSciDB  95562058bd
 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 1369 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1370 of file MapDSqlOperatorTable.java.

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

Member Function Documentation

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

Definition at line 1380 of file MapDSqlOperatorTable.java.

References assert().

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