OmniSciDB  a5dc49c757
 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 2188 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2189 of file HeavyDBSqlOperatorTable.java.

2189  {
2190  super("ST_MaxDistance",
2191  SqlKind.OTHER_FUNCTION,
2192  null,
2193  null,
2194  OperandTypes.family(signature()),
2195  SqlFunctionCategory.SYSTEM);
2196  }

Member Function Documentation

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

Definition at line 2199 of file HeavyDBSqlOperatorTable.java.

2199  {
2200  assert opBinding.getOperandCount() == 2;
2201  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2202  return typeFactory.createTypeWithNullability(
2203  typeFactory.createSqlType(SqlTypeName.DOUBLE),
2204  opBinding.getOperandType(0).isNullable()
2205  || opBinding.getOperandType(1).isNullable());
2206  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_MaxDistance.signature ( )
inlinestaticprivate

Definition at line 2208 of file HeavyDBSqlOperatorTable.java.

2208  {
2209  java.util.List<SqlTypeFamily> st_maxdistance_sig =
2210  new java.util.ArrayList<SqlTypeFamily>();
2211  st_maxdistance_sig.add(SqlTypeFamily.ANY);
2212  st_maxdistance_sig.add(SqlTypeFamily.ANY);
2213  return st_maxdistance_sig;
2214  }

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