OmniSciDB  8a228a1076
com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_height Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_height:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_height:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 convert_meters_to_pixel_height ()
 

Detailed Description

Definition at line 1910 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ convert_meters_to_pixel_height()

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

Definition at line 1911 of file MapDSqlOperatorTable.java.

1911  {
1912  super("convert_meters_to_pixel_height",
1913  SqlKind.OTHER_FUNCTION,
1914  null,
1915  null,
1916  OperandTypes.family(SqlTypeFamily.NUMERIC,
1917  SqlTypeFamily.ANY,
1918  SqlTypeFamily.NUMERIC,
1919  SqlTypeFamily.NUMERIC,
1920  SqlTypeFamily.NUMERIC,
1921  SqlTypeFamily.NUMERIC),
1922  SqlFunctionCategory.SYSTEM);
1923  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1926 of file MapDSqlOperatorTable.java.

1926  {
1927  assert opBinding.getOperandCount() == 6;
1928  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1929  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1930  }

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