OmniSciDB  a987f07e93
 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 623 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 624 of file HeavyDBSqlOperatorTable.java.

624  {
625  super("LENGTH",
626  SqlKind.OTHER_FUNCTION,
627  null,
628  null,
629  OperandTypes.STRING,
630  SqlFunctionCategory.SYSTEM);
631  }

Member Function Documentation

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

Definition at line 634 of file HeavyDBSqlOperatorTable.java.

634  {
635  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
636  return typeFactory.createSqlType(SqlTypeName.INTEGER);
637  }

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