OmniSciDB  a987f07e93
 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 1732 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1733 of file HeavyDBSqlOperatorTable.java.

1733  {
1734  super("ST_DFullyWithin",
1735  SqlKind.OTHER_FUNCTION,
1736  null,
1737  null,
1738  OperandTypes.family(signature()),
1739  SqlFunctionCategory.SYSTEM);
1740  }

Member Function Documentation

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

Definition at line 1743 of file HeavyDBSqlOperatorTable.java.

1743  {
1744  assert opBinding.getOperandCount() == 3;
1745  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1746  return typeFactory.createTypeWithNullability(
1747  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1748  opBinding.getOperandType(0).isNullable()
1749  || opBinding.getOperandType(1).isNullable()
1750  || opBinding.getOperandType(2).isNullable());
1751  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_DFullyWithin.signature ( )
inlinestaticprivate

Definition at line 1753 of file HeavyDBSqlOperatorTable.java.

1753  {
1754  java.util.List<SqlTypeFamily> st_dwithin_sig =
1755  new java.util.ArrayList<SqlTypeFamily>();
1756  st_dwithin_sig.add(SqlTypeFamily.ANY);
1757  st_dwithin_sig.add(SqlTypeFamily.ANY);
1758  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
1759  return st_dwithin_sig;
1760  }

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