OmniSciDB  4201147b46
 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 1586 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1587 of file HeavyDBSqlOperatorTable.java.

1587  {
1588  super("ST_MaxDistance",
1589  SqlKind.OTHER_FUNCTION,
1590  null,
1591  null,
1592  OperandTypes.family(signature()),
1593  SqlFunctionCategory.SYSTEM);
1594  }

Member Function Documentation

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

Definition at line 1597 of file HeavyDBSqlOperatorTable.java.

1597  {
1598  assert opBinding.getOperandCount() == 2;
1599  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1600  return typeFactory.createTypeWithNullability(
1601  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1602  opBinding.getOperandType(0).isNullable()
1603  || opBinding.getOperandType(1).isNullable());
1604  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_MaxDistance.signature ( )
inlinestaticprivate

Definition at line 1606 of file HeavyDBSqlOperatorTable.java.

1606  {
1607  java.util.List<SqlTypeFamily> st_maxdistance_sig =
1608  new java.util.ArrayList<SqlTypeFamily>();
1609  st_maxdistance_sig.add(SqlTypeFamily.ANY);
1610  st_maxdistance_sig.add(SqlTypeFamily.ANY);
1611  return st_maxdistance_sig;
1612  }

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