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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_DWithin ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 1083 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1084 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DWithin.signature().

1084  {
1085  super("ST_DWithin",
1086  SqlKind.OTHER_FUNCTION,
1087  null,
1088  null,
1089  OperandTypes.family(signature()),
1090  SqlFunctionCategory.SYSTEM);
1091  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 1094 of file MapDSqlOperatorTable.java.

References BOOLEAN.

1094  {
1095  assert opBinding.getOperandCount() == 3;
1096  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1097  return typeFactory.createTypeWithNullability(
1098  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1099  opBinding.getOperandType(0).isNullable()
1100  || opBinding.getOperandType(1).isNullable()
1101  || opBinding.getOperandType(2).isNullable());
1102  }
#define BOOLEAN
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DWithin.signature ( )
inlinestaticprivate

Definition at line 1104 of file MapDSqlOperatorTable.java.

References ANY, and NUMERIC.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DWithin.ST_DWithin().

1104  {
1105  java.util.List<SqlTypeFamily> st_dwithin_sig =
1106  new java.util.ArrayList<SqlTypeFamily>();
1107  st_dwithin_sig.add(SqlTypeFamily.ANY);
1108  st_dwithin_sig.add(SqlTypeFamily.ANY);
1109  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
1110  return st_dwithin_sig;
1111  }
#define ANY
#define NUMERIC

+ Here is the caller graph for this function:


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