OmniSciDB  8fa3bf436f
 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 561 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 562 of file MapDSqlOperatorTable.java.

562  {
563  super("LENGTH",
564  SqlKind.OTHER_FUNCTION,
565  null,
566  null,
567  OperandTypes.STRING,
568  SqlFunctionCategory.SYSTEM);
569  }

Member Function Documentation

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

Definition at line 572 of file MapDSqlOperatorTable.java.

References INTEGER.

572  {
573  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
574  return typeFactory.createSqlType(SqlTypeName.INTEGER);
575  }
#define INTEGER

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