OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.Length Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.Length:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.Length:

Public Member Functions

 Length ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 537 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.MapDSqlOperatorTable.Length.Length ( )
inline

Definition at line 538 of file MapDSqlOperatorTable.java.

538  {
539  super("LENGTH",
540  SqlKind.OTHER_FUNCTION,
541  null,
542  null,
543  OperandTypes.STRING,
544  SqlFunctionCategory.SYSTEM);
545  }

Member Function Documentation

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

Definition at line 548 of file MapDSqlOperatorTable.java.

548  {
549  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
550  return typeFactory.createSqlType(SqlTypeName.INTEGER);
551  }

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