OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_width Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_width:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_width:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 convert_meters_to_pixel_width ()
 

Detailed Description

Definition at line 2063 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_width.convert_meters_to_pixel_width ( )
inlinepackage

Definition at line 2064 of file MapDSqlOperatorTable.java.

2064  {
2065  super("convert_meters_to_pixel_width",
2066  SqlKind.OTHER_FUNCTION,
2067  null,
2068  null,
2069  OperandTypes.family(SqlTypeFamily.NUMERIC,
2070  SqlTypeFamily.ANY,
2071  SqlTypeFamily.NUMERIC,
2072  SqlTypeFamily.NUMERIC,
2073  SqlTypeFamily.NUMERIC,
2074  SqlTypeFamily.NUMERIC),
2075  SqlFunctionCategory.SYSTEM);
2076  }

Member Function Documentation

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

Definition at line 2079 of file MapDSqlOperatorTable.java.

References DOUBLE.

2079  {
2080  assert opBinding.getOperandCount() == 6;
2081  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2082  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
2083  }
#define DOUBLE

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