OmniSciDB  b28c0d5765
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_MaxDistance Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_MaxDistance:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_MaxDistance:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_MaxDistance ()
 

Static Private Member Functions

static java.util.List
< SqlTypeFamily > 
signature ()
 

Detailed Description

Definition at line 1791 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_MaxDistance.ST_MaxDistance ( )
inlinepackage

Definition at line 1792 of file HeavyDBSqlOperatorTable.java.

1792  {
1793  super("ST_MaxDistance",
1794  SqlKind.OTHER_FUNCTION,
1795  null,
1796  null,
1797  OperandTypes.family(signature()),
1798  SqlFunctionCategory.SYSTEM);
1799  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_MaxDistance.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 1802 of file HeavyDBSqlOperatorTable.java.

1802  {
1803  assert opBinding.getOperandCount() == 2;
1804  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1805  return typeFactory.createTypeWithNullability(
1806  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1807  opBinding.getOperandType(0).isNullable()
1808  || opBinding.getOperandType(1).isNullable());
1809  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_MaxDistance.signature ( )
inlinestaticprivate

Definition at line 1811 of file HeavyDBSqlOperatorTable.java.

1811  {
1812  java.util.List<SqlTypeFamily> st_maxdistance_sig =
1813  new java.util.ArrayList<SqlTypeFamily>();
1814  st_maxdistance_sig.add(SqlTypeFamily.ANY);
1815  st_maxdistance_sig.add(SqlTypeFamily.ANY);
1816  return st_maxdistance_sig;
1817  }

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