OmniSciDB  4201147b46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Length Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Length:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Length:

Public Member Functions

 Length ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 589 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 590 of file HeavyDBSqlOperatorTable.java.

590  {
591  super("LENGTH",
592  SqlKind.OTHER_FUNCTION,
593  null,
594  null,
595  OperandTypes.STRING,
596  SqlFunctionCategory.SYSTEM);
597  }

Member Function Documentation

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

Definition at line 600 of file HeavyDBSqlOperatorTable.java.

600  {
601  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
602  return typeFactory.createSqlType(SqlTypeName.INTEGER);
603  }

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