OmniSciDB  bf83d84833
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1232 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1233 of file MapDSqlOperatorTable.java.

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

1233  {
1234  super("ST_DWithin",
1235  SqlKind.OTHER_FUNCTION,
1236  null,
1237  null,
1238  OperandTypes.family(signature()),
1239  SqlFunctionCategory.SYSTEM);
1240  }

+ 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 1243 of file MapDSqlOperatorTable.java.

1243  {
1244  assert opBinding.getOperandCount() == 3;
1245  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1246  return typeFactory.createTypeWithNullability(
1247  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1248  opBinding.getOperandType(0).isNullable()
1249  || opBinding.getOperandType(1).isNullable()
1250  || opBinding.getOperandType(2).isNullable());
1251  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DWithin.signature ( )
inlinestaticprivate

Definition at line 1253 of file MapDSqlOperatorTable.java.

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

1253  {
1254  java.util.List<SqlTypeFamily> st_dwithin_sig =
1255  new java.util.ArrayList<SqlTypeFamily>();
1256  st_dwithin_sig.add(SqlTypeFamily.ANY);
1257  st_dwithin_sig.add(SqlTypeFamily.ANY);
1258  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
1259  return st_dwithin_sig;
1260  }

+ Here is the caller graph for this function:


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