OmniSciDB  085a039ca4
 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 1529 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1530 of file HeavyDBSqlOperatorTable.java.

1530  {
1531  super("ST_DFullyWithin",
1532  SqlKind.OTHER_FUNCTION,
1533  null,
1534  null,
1535  OperandTypes.family(signature()),
1536  SqlFunctionCategory.SYSTEM);
1537  }

Member Function Documentation

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

Definition at line 1540 of file HeavyDBSqlOperatorTable.java.

1540  {
1541  assert opBinding.getOperandCount() == 3;
1542  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1543  return typeFactory.createTypeWithNullability(
1544  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1545  opBinding.getOperandType(0).isNullable()
1546  || opBinding.getOperandType(1).isNullable()
1547  || opBinding.getOperandType(2).isNullable());
1548  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_DFullyWithin.signature ( )
inlinestaticprivate

Definition at line 1550 of file HeavyDBSqlOperatorTable.java.

1550  {
1551  java.util.List<SqlTypeFamily> st_dwithin_sig =
1552  new java.util.ArrayList<SqlTypeFamily>();
1553  st_dwithin_sig.add(SqlTypeFamily.ANY);
1554  st_dwithin_sig.add(SqlTypeFamily.ANY);
1555  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
1556  return st_dwithin_sig;
1557  }

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