OmniSciDB  a667adc9c8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1931 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 1932 of file MapDSqlOperatorTable.java.

1932  {
1933  super("convert_meters_to_pixel_width",
1934  SqlKind.OTHER_FUNCTION,
1935  null,
1936  null,
1937  OperandTypes.family(SqlTypeFamily.NUMERIC,
1938  SqlTypeFamily.ANY,
1939  SqlTypeFamily.NUMERIC,
1940  SqlTypeFamily.NUMERIC,
1941  SqlTypeFamily.NUMERIC,
1942  SqlTypeFamily.NUMERIC),
1943  SqlFunctionCategory.SYSTEM);
1944  }

Member Function Documentation

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

Definition at line 1947 of file MapDSqlOperatorTable.java.

References DOUBLE.

1947  {
1948  assert opBinding.getOperandCount() == 6;
1949  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1950  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1951  }
#define DOUBLE

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