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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_DFullyWithin ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 2128 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2129 of file HeavyDBSqlOperatorTable.java.

2129  {
2130  super("ST_DFullyWithin",
2131  SqlKind.OTHER_FUNCTION,
2132  null,
2133  null,
2134  OperandTypes.family(signature()),
2135  SqlFunctionCategory.SYSTEM);
2136  }

Member Function Documentation

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

Definition at line 2139 of file HeavyDBSqlOperatorTable.java.

2139  {
2140  assert opBinding.getOperandCount() == 3;
2141  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2142  return typeFactory.createTypeWithNullability(
2143  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
2144  opBinding.getOperandType(0).isNullable()
2145  || opBinding.getOperandType(1).isNullable()
2146  || opBinding.getOperandType(2).isNullable());
2147  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_DFullyWithin.signature ( )
inlinestaticprivate

Definition at line 2149 of file HeavyDBSqlOperatorTable.java.

2149  {
2150  java.util.List<SqlTypeFamily> st_dwithin_sig =
2151  new java.util.ArrayList<SqlTypeFamily>();
2152  st_dwithin_sig.add(SqlTypeFamily.ANY);
2153  st_dwithin_sig.add(SqlTypeFamily.ANY);
2154  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
2155  return st_dwithin_sig;
2156  }

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