OmniSciDB  3a86f6ec37
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.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 1263 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_DFullyWithin()

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

Definition at line 1264 of file MapDSqlOperatorTable.java.

1264  {
1265  super("ST_DFullyWithin",
1266  SqlKind.OTHER_FUNCTION,
1267  null,
1268  null,
1269  OperandTypes.family(signature()),
1270  SqlFunctionCategory.SYSTEM);
1271  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1274 of file MapDSqlOperatorTable.java.

1274  {
1275  assert opBinding.getOperandCount() == 3;
1276  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1277  return typeFactory.createTypeWithNullability(
1278  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1279  opBinding.getOperandType(0).isNullable()
1280  || opBinding.getOperandType(1).isNullable()
1281  || opBinding.getOperandType(2).isNullable());
1282  }

◆ signature()

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin.signature ( )
inlinestaticprivate

Definition at line 1284 of file MapDSqlOperatorTable.java.

1284  {
1285  java.util.List<SqlTypeFamily> st_dwithin_sig =
1286  new java.util.ArrayList<SqlTypeFamily>();
1287  st_dwithin_sig.add(SqlTypeFamily.ANY);
1288  st_dwithin_sig.add(SqlTypeFamily.ANY);
1289  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
1290  return st_dwithin_sig;
1291  }

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