OmniSciDB  3a86f6ec37
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 796 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ Length()

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

Definition at line 797 of file MapDSqlOperatorTable.java.

797  {
798  super("LENGTH",
799  SqlKind.OTHER_FUNCTION,
800  null,
801  null,
802  OperandTypes.STRING,
803  SqlFunctionCategory.SYSTEM);
804  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 807 of file MapDSqlOperatorTable.java.

807  {
808  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
809  return typeFactory.createSqlType(SqlTypeName.INTEGER);
810  }

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