OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 567 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 568 of file MapDSqlOperatorTable.java.

568  {
569  super("LENGTH",
570  SqlKind.OTHER_FUNCTION,
571  null,
572  null,
573  OperandTypes.STRING,
574  SqlFunctionCategory.SYSTEM);
575  }

Member Function Documentation

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

Definition at line 578 of file MapDSqlOperatorTable.java.

References INTEGER.

578  {
579  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
580  return typeFactory.createSqlType(SqlTypeName.INTEGER);
581  }
#define INTEGER

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