OmniSciDB  a5dc49c757
 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 649 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 650 of file HeavyDBSqlOperatorTable.java.

650  {
651  super("LENGTH",
652  SqlKind.OTHER_FUNCTION,
653  null,
654  null,
655  OperandTypes.STRING,
656  SqlFunctionCategory.SYSTEM);
657  }

Member Function Documentation

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

Definition at line 660 of file HeavyDBSqlOperatorTable.java.

660  {
661  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
662  return typeFactory.createSqlType(SqlTypeName.INTEGER);
663  }

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