OmniSciDB  95562058bd
 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 575 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 576 of file MapDSqlOperatorTable.java.

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

Member Function Documentation

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

Definition at line 586 of file MapDSqlOperatorTable.java.

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

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