OmniSciDB  06b3bd477c
 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 574 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 575 of file MapDSqlOperatorTable.java.

575  {
576  super("LENGTH",
577  SqlKind.OTHER_FUNCTION,
578  null,
579  null,
580  OperandTypes.STRING,
581  SqlFunctionCategory.SYSTEM);
582  }

Member Function Documentation

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

Definition at line 585 of file MapDSqlOperatorTable.java.

585  {
586  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
587  return typeFactory.createSqlType(SqlTypeName.INTEGER);
588  }

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